Solved

Message to users connected to the server, schedule a restart

Posted on 2008-10-22
3
251 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

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Roaming profile & Office 365 3 32
Unknown AD user under VMWare OU 4 29
Restore DNS Record 5 46
Password Expiry 9 19
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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 to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

760 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

22 Experts available now in Live!

Get 1:1 Help Now