Solved

remote shutdown with group policy

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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
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 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

761 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