1.

Solve : auto restart PC when idle?

Answer»

Hi,

I'm pretty new in this website but it help me alot about creating simple batch files for my work. I also thank you for creating this website, this has been my favorite resouce site for tips and tricks with Windows.

I WOULD like to know if it is possible to create a batch file that would restart the computer AUTOMATICALLY when idle instead of triggering the screen saver.

I'm trying to create and mix and match commands. I already know about the shutdown /r xx command however, I would like to be when an interaction is made, the COUNTER would restart.

I hope this would be possible.

Thanks in advance

  ECHO  You need Windows XP or else have a Resource Kit installed. Then you can put SHUTDOWN into a script.

To call it is another matter. I don't think there is any way to associate a BAT file or program with the screen saver.

That means there would be no way for your computer to say "I have been idle for x minutes, therefore run program X".

But I've been wrong before. Maybe you can rename the screen saver program, if you could find it, and substitute your shutdown. But I tend to think there is no such program and instead the OS simply runs screen-save pictures.

MacThanks for your prompt response. I appreciate it.

So, I need to install a Resource Kit to be able to do this? Hmmm... That's a good suggestion! Also, thank you for giving me an IDEA to MAKE a screen saver file that would call a shutdown command.

BTW, the PCs that I'm working on are al XPs and 2000s.

  ECHO



Discussion

No Comment Found