Copying Schedule across machines

  • Thread starter Thread starter Someone
  • Start date Start date
S

Someone

Hello

I have set up a Windows Schedule. I would like to copy this across to a
range of machines. Is this possible? If so, could someone tell me how or
point me to an article to demonstrate, please?

I want to ensure that all machine shutdown at a given time. I am using the
AT command to do this. Is this most productive way of doing it, or could a
single server send out the command to all client machines?

Many thanks
M
 
Hi,

Thanks for posting here.

I think your actual concern is how to shutdown the clients at a given time.
In this case, you may use Logon Script to add a Scheduled Task in the
clients.

For more information about Logon Script, you may refer to the following
Microsoft Web sites:

To assign user logon scripts
<http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en
-us/gptext_assignlogonscripts.mspx>

Windows Script Host
<http://msdn.microsoft.com/library/en-us/script56/html/wsconwhatiswsh.asp>

TechNet - Script Center
http://www.microsoft.com/technet/scriptcenter/default.mspx

Furthermore, the shutdown command in Windows Server 2003 may help you
shutdown the remote clients. You may use the following command:

Shutdown -s -m \\ComputerName -t xx(seconds)

You may edit a batch file to execute the above command one by one to close
all the client computers.

Reference:
shutdown /?

Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx]
[-c "comment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first
option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close
without warning
-d [p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive
integer less than 256)
yy is the minor reason code (positive
integer less than 65536)

Hope this helps!

Have a nice day!

Sincerely,
Tom Che
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 
Back
Top