Auto Reboot on User Log off - Windows 7
Posted on 2012-04-08
I would like to know if there is anyway to automatically reboot a Windows 7 machine when a user Logs off?
I already tried the following, saved as a cmdgpedit script "shutdown -r -f -t 0" and added it to the User Configuration/Windows Settings/Scripts/Logoff . But nothing happens when I log off. The computer is on a Domain.
Also, the way I would like this to work is through RDP. For example when someone is connected to another machina via RDP, when the user closes the RDP window then the computer will automatically restart because closing RDP window = logoff.