Follows these steps will help your shutdown your machine hassle free.
A) Normal Windows Operating System
shutdown /s -f -t 0 for a shutdown your machine it will close all application which are making barriers during shutdown your machine.
shutdown /r -f -t 0 for a reboot your windows system it will close all application which is giving problem during the restart of your system.
B) Windows Server Operating Systems for server operating system few commands run with minor changes.
shutdown /s /f /t 0 for a shutdown your Server OS this command will close all running application which is giving problem during shutdown your Server.
shutdown /r /f /t 0 for a rebooting Windows server this command will help. This command will also close all the applications which are giving problem during the restart of your Server system.
Some time on Windows Server. The problem comes usually with the third-party applications installed on a machine. To identify the actual issue you can clean boot and try shutting down and restarting the server accordingly.
- Click Start Click Run type msconfig and then click OK.
- On the General tab, click Selective Startup, and then click to clear check boxes for the following processes:
Process SYSTEM.INI File
Process WIN.INI File
Load Startup Items
- Also, go to the Service tab click to select the Hide All Microsoft Services check box which will be at bottom of the dialogue box, and then click Disable All.
- Then finally click OK click one restart message will appear to click ok.