Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: gemartiPosted on 2008-05-19 at 08:34:57ID: 21598694
I don't think you are going to accomplish your goals working from the path you are choosing. Logging off calls a different program than the one that would restart your machine. The logoff executable kills off all sessions in the current environment and doesn't allow other sessions to start up while it is processing the logoff command.
indows\Cur rentVersio n\Policies \explorer (ForceStartMenuLogOff=0) and replacing it with a "modified shutdown command (shutdown -r -f -t 00) in a cmd file" that would restart the system.
You would probably be better off disabling the log off option on the start menu (HKCU\Software\Microsoft\W