# Android Remote Desktop Connection Setup Guide


### Step 1: RUN THIS FILE to reset 120 days remote license

## Prerequisites
- Windows Server with PowerShell access
- Administrator privileges

## Setup Instructions

### Step 1: Run the License Configuration Script
1. Locate the `remote-license.ps1` file in your directory
2. Right-click on the file and select "Run with PowerShell" or open PowerShell as administrator and navigate to the file location

3. Execute the script by running the 

remote-license.ps1


===============================================================================================================================================
===============================================================================================================================================
===============================================================================================================================================

### Step 2: Configure RDP Security Settings
1. Open PowerShell as administrator
2. Run the following commands to modify RDP security settings:

   powershell:

===============================================================================================================================================
   Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name "SecurityLayer" -Value 1
   Restart-Service TermService -Force
===============================================================================================================================================
   

TO CHECK STATUS IF ACTIVATED OR NOT 


### Step 3: Check User Authentication Setting
1. Verify your current authentication configuration by running:


powershell:

   ===============================================================================================================================================
   Get-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name "UserAuthentication"
   ===============================================================================================================================================


2. Check the output value:
   - If `UserAuthentication` is `1`: Network Level Authentication is enabled (more secure)
   - If `UserAuthentication` is `0`: Network Level Authentication is disabled (more compatible)

 