I have a Windows Virtual machine and this is currently in hang mode. When I log into my VM, It successfully logs in but VM is in hanged mode so I cannot do anything. It shows only a blank blue screen. I cannot open Run command so that I may restart my VM. The problem is that I can not manually restart my VM.
Open your VM and press Ctrl+Alt+End. You will get the Windows Security window. Now you can restart your VM using the Shutdown option.