Tag: server

Restart a Remote Server Using Command.

At times when the servers located remote doesn’t respond, there is a need to restart. Quickest is to reboot the server using command forcefully. Pretty sure this will help sometime.

Make sure you open the command prompt with administrator

SHUTDOWN /r /f /t 0 /m \\servername /c “description”

/r -Shutdown and restart the computer.

/f -Force running applications to close without forewarning users.

/t xxx Set the time-out period before shutdown to xxx seconds.
The valid range is 0-600, with a default of 30.

/m \\computer Specify the target computer.

/c “comment” Comment on the reason for the restart or shutdown.

Example:
c:\users\Administrator> SHUTDOWN /r /f /t 0 /m \\servername /c “Reboot”

Thanks,
WintelAdmin

Filed under: UncategorizedTagged with: , , , , ,

Command to open folder in explorer from same location.

Trick to open a GUI folder from command prompt.

In order to to open a GUI folder from command prompt and list all its content you may just enter the command start followed by a period as shown below:

start.

VICE-VERSA: Similarly, if you wish to open a command prompt from a GUI folder, you can shift-right-click on a desired folder and select “Open command window here”. This should take you to the command prompt.

Thanks,
WintelAdmin

Filed under: Windows(2003/2008/2012)Tagged with: , , , , , , ,