Solved

Message to users connected to the server, schedule a restart

Posted on 2008-10-22
3
255 Views
Last Modified: 2013-12-04
Many users cnnect to 2003 file server, If I need to restart the server for maintenance purpose, how can I send a message to all connected users informing them about the restart

how can i schedule a restart for the server
0
Comment
Question by:khamees79
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
btassure earned 125 total points
ID: 22781742
You can use the "shutdown" command from the command line to schedule a reboot (-r is the switch to reboot rather than power off) and you can give it a time before it runs (-t # of seconds until reboot) and you can specify the other options it mentions.
Personally I would email everyone and let them know, if that is not an option you can try using the messenger service if it is running on the clients and people actually read the pop-up.
Command line => net send * [your message]
will broadcast to all PCs on the network.
0
 
LVL 1

Author Comment

by:khamees79
ID: 22787450
thanks allot, it was very helpfull
i noticed that shutdown -t has a maximum of 600 seconds, can't we use a 3rd party tool that can give us longer times?
0
 
LVL 16

Expert Comment

by:btassure
ID: 22787794
You can write it into a batch file and then schedule the batch file to run at a certain time. It only needs to be one line in the .bat and you can then set it to say 300 seconds. That way if it triggers the shutdown unintentionally it gives you 5 minutes to log onto the server and abort it (shutdown -a).
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Active Directory Problem 4 49
RSOP Red "X" 7 19
ADFS Redirection 4 30
Modifying Powershell and WMI to obtain disk, cpu, mem & IP data ? 5 30
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

943 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now