新闻详情

xp/2003开关3389指令

发表时间:2021-05-19 11:01

开启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已经关闭