Skip to content

Commit

Permalink
Update Enable RDP.bat
Browse files Browse the repository at this point in the history
Added description in bat script
  • Loading branch information
ulv1 authored Jan 18, 2018
1 parent a40c47f commit 6c621e0
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

<# Enables RDP on target machine
.SYNOPSIS
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
#>

REM Open the firewall to allow incoming connections
netsh advfirewall firewall set rule group="Remote Desktop" new enable=Yes
Expand All @@ -10,4 +16,4 @@ REM Set service to start automatically at boot
sc config termservice start= auto

REM Start service
net start termservice
net start termservice

0 comments on commit 6c621e0

Please sign in to comment.