When I use shutdown -r
or shutdown /r
my Windows computer doesn't restart. I think this command is disabled. How can I enable this command in the command prompt?
-
Neither are valid: try 'shutdown /r' or 'shutdown /t 10'– stuartdJun 22, 2010 at 15:46
-
sorry that is a type wrong . (edit the post) sry a lot– EvaJun 22, 2010 at 15:50
-
Windows XP, Vista or 7 and which flavor (32-bit, 64-bit, Ultimate, etc)?– glennerooJan 28, 2011 at 17:22
Add a comment
|
2 Answers
Run regedit
(Start -> Run
) and check these registry keys if NoClose
is set:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
0
indicates shutdown is enabled.
1
indicates shutdown is disabled.
If the value is not there, you could try adding it and setting it to 0
. You'll probably need to restart as well.
I prefer SysInternals PSSHUTDOWN
,which has lots of options. Learn more: http://technet.microsoft.com/en-us/sysinternals/bb842062