If you are a network administrator of a company and the company policy enforces that all the systems should be shutdown before leaving. It’s always a headache to go to each and every system to see whether it has been turned off properly or somebody has forgotten to turn off. And even sometimes we need to shutdown our systems after specific amount of time or on a specific time. First of all I’ll tell you how to shutdown a system after a certain amount of time.
Shutdown After A Specific Interval of Time:
If you want to shutdown the system after half an hour go to command prompt and issue the following command:shutdown -t 1800
Where 1800 is the no. of seconds the system should wait before shutting down. In this case, the system will wait for 1800 seconds.
If you are not comfortable with the command line, then go to Start –> Run –> shutdown -i
This will bring you the Graphical interface where you can configure when to shutdown the system.
Shutdown At A Specific Time:
1- Through Command PromptIssue the following command to schedule your tasks via command prompt
at 00:00 cmd /c shutdown -t 30
This command will be executed at 12AM and display a warning that the system is shutting down after 30 seconds. After 30 seconds, the system will shutdown.
2- Through Scheduled Tasks GUI
If you are not comfortable with the command line, then you can simply go to the scheduled tasks ( Start –> All Programs –> Accessories –> System Tools –> Scheduled Tasks) and schedule the system to shutdown automatically at the specified time.
Please tell us about your experiences through comments.
0 comments:
Post a Comment