开启3389:
@echo off
title 开启3389
cls
rem 开启3389
reg add
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server” /v
fDenyTSConnections /t REG_DWORD /d 00000000 /f >nul
echo.
echo 提示你:3389已经开启
关闭3389:
echo rem 关闭3389
reg add
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server” /v
fDenyTSConnections /t REG_DWORD /d 00000001 /f >nul
echo.
echo 提示你:3389已经关闭
原创文章,作者:moonsec,如若转载,请注明出处:https://www.moonsec.com/archives/3062