Solved

remote shutdown with group policy

Posted on 2007-03-23
3
524 Views
Last Modified: 2010-04-18
Is there a way to use a group policy to tell computers to shutdown at a set time?  Maybe by creating a scheduled task?  I am using 2003 server with 2000 and XP stations.
0
Comment
Question by:dkoch53
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 250 total points
ID: 18781513
schtasks /create /ru system /sc daily /st 22:00:00 /tn PowerDown /tr "shutdown -s -f -t 30"

should do it...

if you need to generate the task on 'all' systems, use this against a list of computers:

for /f %%a in (c:\computers.txt) do schtasks /create /s %%a /ru system /sc daily /st 22:00:00 /tn PowerDown /tr "shutdown -s -f -t 30"
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

691 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