Solved

Message to users connected to the server, schedule a restart

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is it possible to just give a restricted access to O365 management? 5 30
powershell query 2 23
GPupdate /sync 1 37
Migrate GPO Forest to Forest 4 12
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…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

776 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