Solved

Auto Reboot on User Log off - Windows 7

Posted on 2012-04-08
1
576 Views
Last Modified: 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.
Thanks.
0
Comment
Question by:jkz11169
1 Comment
 
LVL 21

Accepted Solution

by:
motnahp00 earned 500 total points
ID: 37822033
create a batch file within the script directory.

file name: auto_restart.bat

text: shutdown /r /t 0

Add it as a log off script.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 7 won't join domain 4 42
laptop chooses an action when pointer touches it without clicking 9 61
block folder inheritance 4 36
Windows 7 slow login 3 16
OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now