Wednesday 3 June 2015

How to Enable RDP in Offline VHD file

Here is an exemple which works, activate RDP :
  1. VM is stopped.
  2. Mount VHD in host with disk management.
  3. Execute this from host (Where G: is the mounted VHD):
  4. reg load HKLM\VHDSYS g:\windows\system32\config\system
  5. reg add "HKLM\VHDSYS\ControlSet001\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
  6. reg unload HKLM\VHDSYS
  7. Unmount VHD
  8. Start VM.

No comments:

Post a Comment