VMware Cloud Community
Hadfield04
Contributor
Contributor

Restart Windows 2008 R2 Virtual system

Is it possible to restart the virtual system from within the O/S by running shutdown -r -t 0 or is it better to issue the restart command from within vSphere client?

Reply
0 Kudos
6 Replies
a_p_
Leadership
Leadership

Welcome to the Community,

either way will work. I'm often using the shutdown command from within the guest OS for scheduled reboots of e.g. Citrix XenApp servers.


André

Reply
0 Kudos
RajeevVCP4
Expert
Expert

It depend on condition , mostly we restart guest from command , if vm is hung then only option from vc-client or from esxi host

Rajeev Chauhan
VCIX-DCV6.5/VSAN/VXRAIL
Please mark help full or correct if my answer is use full for you
dbalcaraz
Expert
Expert

As RajeevVCP4 says, mostly everyone restart the VM with "Restart Guest" if the OS is responsive, if not, you should restart the VM directly.

But for comparison is the same doing it from command prompt than from the option from the vSphere Web client, as "Restart Guest" sends a shutdown signal to the OS.

Regards,

Dan Belmonte

-------------------------------------------------------- "I greet each challenge with expectation"
Reply
0 Kudos
Gary_Williams
Enthusiast
Enthusiast

I've used the in vm shutdown command as well as restart guest from VMWare and many other methods. There is no one method that is better or recommended over the others.

Reply
0 Kudos
nparas5
Enthusiast
Enthusiast

Its better to use "Restart Guest" option from Power Tab from vCenter, do not use reset it can sometimes cause Bugcheck/No Boot for Windows servers. If server is accessible from RDP or console, always try to use Restart from inside OS. Or command "shutdown -r -t 00" Best ever command for rebooting windows OS.

Reply
0 Kudos
theaaronstrong
Enthusiast
Enthusiast

Use PowerCLI Smiley Happy

If your windows machine has VMtools installed, you can use Restart-VMGuest. Restart-VM will perform a hard reset.

Reply
0 Kudos