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

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

1 comment on commit 6c621e0

@ulv1
Copy link
Author

@ulv1 ulv1 commented on 6c621e0 Jan 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Ulv Bjørnsson [email protected]

Please sign in to comment.