Question Locked
0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a specialized workstation that needs to be rebooted during off hours. The computer runs Windows XP SP3, and I know how to schedule a reboot for a specific time. My problem is that it is in a healthcare facility and although the hours are 8-5 we may get an emergency that requires the use of this computer after hours. I don't want it to reboot itself if staff is logged into it doing an x-ray. Is there a way to only have it reboot if it is at the login screen? Thanks!
4 replies
by sfrechette Accepted solution
Clarifications
by seonix Accepted solution
I'd imagine the cleanest way to do this would be with a script. I'd strongly suggest using powershell, and then you can run the script via scheduled task if you need to.
Do you have much experience with Powershell? If not, I can write a script for you if you like. If so, I'd get psloggedon.exe from the sysinternals suite on that workstation. The script will check the output of the psloggedon command and then reboot only if no one is logged on. Simple enough ;)
by sfrechette Accepted solution
I'm not an expert with Powershell but I think I can figure it out. Great idea! Thanks for the prompt response.
by permadank Accepted solution
This discussion is closed to new replies.
Trending Desktop posts
Sort by Trending
Question
Floppy drive wont work on my 486
0 helpful
1 reply
Discussion
How to make light speed agent go away
0 helpful
4 replies
0 helpful
1 reply
Discussion Locked
Ryzen 7 7700
0 helpful
2 replies
Question Locked
Issue fully resetting my PC
0 helpful
4 replies