Solved

remote shutdown with group policy

Posted on 2007-03-23
3
516 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
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

803 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