Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

system shutdown when it is idle through group policy

Feb 2, 2012 12:24AM PST

Hi all,

i am looking for a script where i can shutdown all the pcs in a lan in an organization when the system is idle for more than 2 hours through group ploicy.

please provide any batch file or shell script or vbs script to run from gp.

if any know it plz explain me it in brefly (steps)

thank you

Discussion is locked

- Collapse -
Answer
Re: shutdown
Feb 2, 2012 10:00PM PST

If you can't find the way to do this using google (I didn't try, but I don't think I can, because I lack the necessary basis on server and network management) it's time to ask your boss to send you to some 'Manage a Windows 2003 server' and a 'Manage a network through a Windows 2003 server' course.

Until then, it seems best to visit the PC's, ask the user to login for you and change the energy saving settings yourself (either via the control panel screen or via a .reg file).

Kees

- Collapse -
Right?
Feb 8, 2012 2:27AM PST

shutdown -i

- Collapse -
Answer
idle shutdown
Jun 18, 2012 10:11PM PDT

hi all


can you please help with a a script or mechanism to shutdown the client after idle time say 2 hours from Gp