Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Problem with Shortcut to Restart

29 Oct 2010   #1
markaz

Windows 7 Home Premium x64
 
 
Problem with Shortcut to Restart

Hello-

I currently have a shortcut on my desktop ["C:\Windows\System 32\shutdown.exe -r -t 00"] and it works beautifully. I do, however, want to have a shortcut to Restart in 1) the desktop context menu and 2) a desktop application called RocketDock. I've attempted these thinking that it would be very straight-forward, however, I ran into the same snag for both locations.

If you're not familiar with RocketDock it is basically an application launcher which allows you to identify the target path to the program you want launched. When you click on the designated icon, the program should launch. In RocketDock, when Restart is attempted with the same target path as the desktop shortcut, the all-too-familiar "Open with" popup window:
Problem with Shortcut to Restart-capture2.png
In the registry I created the target path value "C:\Windows\System 32\shutdown.exe -r -t 00"] in HKEY_Local_Machine\Software\Classes\Directory\Background\shell\RESTART\cmd [I know this is the correct location as I've made shortcuts to my browsers and image editor here]. When I click on RESTART from the desktop context menu I get practically the same popup window:
Problem with Shortcut to Restart-capture3.png
The only thing that I can think of is the actual System 32 file being pointed to is the shutdown.exe file and that the shortcut to the desktop identifier [r t 00] is not recognizable by either. May be a reach.

So my questions are, why does a program have to be associated with shortcuts from these two locations and what program would I have to associate with these two locations to make the shortcuts work?

I hope I've been clear, but if you need further explanations, please respond.

Thank you in advance.

-Mark




My System SpecsSystem Spec
.
29 Oct 2010   #2
Ivo

Windows 7 Home 64, Vista Ultimate 64
 
 

Not sure that's your only problem, but there is certainly no space between System and 32.
My System SpecsSystem Spec
29 Oct 2010   #3
Arc

Microsoft Community Contributor Award Recipient

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

Well , there is an alternative to do it . I use that program . It looks like that :
Problem with Shortcut to Restart-capture.jpg
Problem with Shortcut to Restart-capture2.jpg

Unzip and place iShut in Program Files , Connect it to your dock , that's all .


Attached Files
File Type: zip iShut.zip (1.11 MB, 83 views)
My System SpecsSystem Spec
.

30 Oct 2010   #4
markaz

Windows 7 Home Premium x64
 
 

Ivo - I typed out the path incorrectly and copied and pasted it throughout. In properties, it is correct. Good catch.
Arc - Thanks for this operation. I have included it in RocketDock. I like it because it gives multiple options instead of one per file path.

So that takes care of RocketDock. If I can now get the shortcut established for the desktop context menu I will be one happy man.
My System SpecsSystem Spec
31 Oct 2010   #5
mitchell64

Windows Seven Home Premium 32bit SP1
 
 

Quote   Quote: Originally Posted by Arc View Post
Well , there is an alternative to do it . I use that program . It looks like that :
Attachment 109090
Attachment 109091

Unzip and place iShut in Program Files , Connect it to your dock , that's all .
I like this Arc but i can not open the iShutConfig.exe folder i get this error

Attachment 109434


I do not have comctl32.ocx in my C:\Windows\System32 folder i am just wondering if i am supposed to.

Edit; just had a look at my Vista laptop & it has comctl32.ocx but not on my Seven laptop???

Edit; got it sorted, thanks A Guy

COMCTL32.OCX missing
My System SpecsSystem Spec
31 Oct 2010   #6
Arc

Microsoft Community Contributor Award Recipient

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

You are most welcome Darryl and Markaz
My System SpecsSystem Spec
Reply

 Problem with Shortcut to Restart




Thread Tools




Similar help and support threads
Thread Forum
Restart Computer Shortcut - Create
How to Create a "Restart Computer" Shortcut in Windows This will show you how to create or download a Restart computer shortcut with or without a time-out delay and custom restart message before the computer restarts. The time-out period can also be for how many seconds you have to use the...
Tutorials
Shortcut Problem
My operating system is Windows 7 Home Premium 64 bit. I have a Windows Explorer shortcut on my toolbar and I use it frequently by right clicking on it and selecting one of the frequently used folders that I pinned there. Yesterday all the pinned folders just vanished from the right click menu and...
General Discussion
Zynga Internet Shortcut wont delete, reappears on restart
Just bought a new computer and it came with a zynga shortcut on the desktop and pinned to the taskbar. I have deleted it multiple times but every time the computer is restarted it is back. I tried to open the file location but it says its on the internet. How do i get rid of this?
General Discussion
My restart problem.
I have a AMD Phenom II X2 550 3.10ghz, for some reason it is not allowing my pc to restart, when i choose and click on restart my pc closes down and it turns back on but the monitor stays off and i have to turn it off by holding the power button. I was in the bios settings overclocking it to...
Hardware & Devices
shortcut problem
http://i54.tinypic.com/9rrbpc.jpg guys there is a thing at my shourtcut at nfs can u see it how can i dissapear this thing?? thanks for ur help
General Discussion
problem with shortcut
I have a problem in my window 7 when I open any shortcut in my disktop, its open a massege" problem with shortcut". I have not no idea where it came from and why!!:( Can anybody help me with this problem, please
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:44.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App