New
#10
Works perfect, Thank you Shawn
Maybe I'm a little oversensitive (cause it really doesn't matter if something pops up 0.5 sec before
the screen goes down for reboot), but I have NirCmd in my system folder, so I use it to do the job :
Note: Only the original line below "command" is exchanged with the new one.Code:Windows Registry Editor Version 5.00 ; Created by: Shawn Brink ; https://www.sevenforums.com ; Tutorial: https://www.sevenforums.com/tutorials/184033-restart-add-desktop-context-menu.html ; Modified by Tom Hartwald to use NirCmd for Reboot (2013-11-05) [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Computer] "icon"="shell32.dll,-290" "Position"="Bottom" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Computer\command] @="nircmd.exe exitwin reboot"
You need the NirCmd - Windows command line tool
in your "C:\Windows\System32" folder, it's described for example here in the Forum :
Eject and Close CD/DVD Tray - Add to Desktop Context Menu
@ derekimo :
You can use NirCmd for your requests:
nircmd.exe exitwin logoff
nircmd.exe exitwin shutdown
and for much more : :) View NirCmd Full Help File
Regards,
Tom
Last edited by TomHartwald; 05 Nov 2013 at 13:49.