Solved

Message to users connected to the server, schedule a restart

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

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

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

749 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