Ever installed a new PC, putting it on a location without keyboard mointor etc, only to find out that you forgot to enable remote desktop?
The following method enables remote desktop in the remote registry. You will need to have sufficient privilegs to access the remote registry of course…
reg add “\mycoolmachinehklmsystemcurrentcontrolsetcontrolterminal server” /f /v fDenyTSConnections /t REG_DWORD /d 0
To specify the creditials for \mycoolmachine (in case your current credentials will not work), open \mycoolmachinec$ in an explorer, you will be prompted for admin credentials when needed.