3 replies
by bgabrenya Accepted solution
by toivo talikka Accepted solution
Assuming that your user login have enough rights to do a restart, you can set up a logoff script and attach it to a Group Policy Object.
You can set up a simple test in a standalone PC running Windows XP:
Create a script file mylogoff.cmd with the following line:
shutdown -r
Copy the script file to:
C:\Windows\System32\Group Policy\User\Scripts\Logoff
Go to the command prompt and run Gpedit.msc. Add the script to Local Computer Policy - User Configuration - Windows Settings - Scripts (Logon-Logoff) - Logoff.
by char0042 Accepted solution
I get a "The device is not ready" error on the when the script runs the shutdown -r -f -t 0 command. I want an immediate restart and to not logout. Anyone know which setting is blocking the shutdown command from executing?
Loging out from an Admin user.
Thank you!
This discussion is closed to new replies.
Trending Desktop posts
Sort by Trending