Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Commit a40c47f

Browse files
authored
Add files via upload
Overview Author: ulv1 Date Uploaded: 18/01/2018 Tested on AirWatch 9.2.3.0: Completed Client Operating System: Windows 10 (1709) Description Enables RDP on target machine. What does the sample do? 1. Opens firewall to allow incoming connections 2. Disables "Deny TS Connections" registry key 3. Sets termservice to start automatically at boot 4. Starts termservice
1 parent 6cb58a2 commit a40c47f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
REM Open the firewall to allow incoming connections
4+
netsh advfirewall firewall set rule group="Remote Desktop" new enable=Yes
5+
6+
REM Disable "Deny TS Connections" registry key
7+
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
8+
9+
REM Set service to start automatically at boot
10+
sc config termservice start= auto
11+
12+
REM Start service
13+
net start termservice

0 commit comments

Comments
 (0)