• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 540
  • Last Modified:

remote shutdown with group policy

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
dkoch53
Asked:
dkoch53
1 Solution
 
sirbountyCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now