Solved

Message to users connected to the server, schedule a restart

Posted on 2008-10-22
3
265 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
[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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

688 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