Here are the steps to enable remote access to a computer:
Download the Psexec command line tool from: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
Use Psexec to enter the computer you want to access remotely: psexec \\CompName CMD
Check the firewall status. If desired, disable the firewall with the following command: netsh advfirewall set currentprofile state off
Enable remote desktop protocol (RDP) by adding a registry value: reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
Remote access to the computer is now enabled.
Комментариев нет:
Отправить комментарий