I want log off to = reboot

G

Guest

Hi All,
This one has really been bugging me and has me stumped.

In essence all i want to do is reboot the machine on log off.

I have used reboot scripts that work locally, but when run in a log off
script context, it fails to reboot the computer, i assume this is due to the
log off process not allowing it to take place.

Failing this i have resorted to removing log off from the computer and
utilised the native restart (starmenu>shutdown>restart).
This is all fine but i dont want the shutdown option to appear in the Shut
Down Windows dialog box. Now I know i can use the local user right
restrictions to remove shutdown from this dialogue but this also removes
restart.

So im back to the beginning.
With no solution, any ideas or input would be appreciated.

Regards
Rahvin
 
W

Wesley Vogel

I do not use the Start Menu to reboot or shutdown. I use these shortcuts
that I have on my Desktop.

Shutdown & Reboot Shortcuts...

Desktop Reboot Shortcut
Right click the desktop | New | Shortcut | Create Shortcut Wizard opens |
Type or paste: %windir%\System32\shutdown.exe -r -t 00 |
Next | Type name like: REBOOT | Finish | Right click the new shortcut |
Make sure Start in has: %windir%

Desktop Shutdown Shortcut
Right click the desktop | New | Shortcut | Create Shortcut Wizard opens |
Type or paste: %windir%\System32\shutdown.exe -s -t 00 |
Next | Type name like: SHUTDOWN | Finish | Right click the new shortcut |
Make sure Start in has: %windir%

Customize the icons
Right click each shortcut | Properties | Shortcut tab | Change Icon button
 
G

Guest

Thanks for trying, but i allready know how to create shortcuts for reboot and
have them pinned to the start bar (pin menu) or quicklaunch.
This is not a viable solution as it detracts from the normal MS interface
which needs to stay standard, unless i can hack the shell to have it placed
in the same location as the default log off and restart locations.

I have isolated the dll that renders the security dialogue box but cant do
much with it as its in assembler.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top