As an administrator, open power shell window and run:
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name "HidePowerOptions" -Value 1 -Force
This causes only “disconnect” to be available from the power button in a Windows VM.
Leave a Reply