Dos直接修改windows注册表

以修改windows远程桌面端口3389为3000为例子。

修改注册表,命令如下:

REG ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v "PortNumber" /t REG_DWORD /d 3000 /f

猜你喜欢

转载自blog.csdn.net/colalovescoffee/article/details/88863202