?
Solved

remote shutdown with group policy

Posted on 2007-03-23
3
Medium Priority
?
527 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 1000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

765 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