Year: 2018

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: , , , , ,

WintelAdmin.com in Top Microsoft Windows Blogs list!

Thanks to all our readers, WintelAdmin.com has made it to this Top Microsoft Windows Blogs list! prepared by Feedspot.com This is the most comprehensive list of best Microsoft Windows blogs on the internet and I am honored. Thanks once again to all my readers.

Special Thanks to Feedspot.com.

Microsoft Windows Blogs

Filed under: x Updates (Wintel Admin)Tagged with: , , , , ,

Convert a snapshot file to memory dump.

A very recently one of our Windows 2012 servers was getting hung, and we were not able to collect dump file. Fortunately, this was a VM and we had an option to convert VM snapshot to a memory dump that can be used for the RCA.

Well, in order to  get this file converted we needed a separate tool named vmss2core

This can be downloaded from Fling link

Once you have downloaded, extract the file named vmss2core.exe.

Open command prompt and change the current working directory to the location where you have the file.

Run the vmss2core tool with the option to create a memory dump.

vmss2core -W virtual_machine_name.vmss virtual_machine_name.vmem

Note: If you are using Microsoft Windows 8/8.1 or Windows Server 2012, run this command:

vmss2core -W8 virtual_machine_name.vmss virutal_machine_name.vmem

This will create a new dump file in same location with an extension of *.dmp, which can be used for dump analysis.

 

Thanks,

WintelAdmin

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