Hey everyone today we are going to create RDP for free using Github. but before making RDP you should know that What is RDP?.
WHAT IS RDP?
RDP stands for Remote Desktop Protocol. It is a proprietary protocol developed by Microsoft, which provides a user with a graphical interface to connect to another computer over a network connection. RDP allows a user to control a remote computer as if they were physically present at that computer.
To know about more RDP click here
WHAT WILL YOU GET IN THIS RDP?
- Windows 10 OS
- 16 GB ram
- AMD PROCESSOR
How to create a RDP?
Step 1
Create a new repository name it anything, click private then create repository.
Step 2
Click on actions > set up a workflow yourself.
Step 3
Copy and paste this snippet there.
name: CI
on: [push, workflow_dispatch]
jobs:
build:
runs-on: windows-latest
steps:
- name: Download
run: Invoke-WebRequest https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-windows-amd64.zip -OutFile ngrok.zip
- name: Extract
run: Expand-Archive ngrok.zip
- name: Auth
run: .\ngrok\ngrok.exe authtoken $Env:NGROK_AUTH_TOKEN
env:
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
- name: Enable TS
run: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0
- run: Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
- run: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1
- run: Set-LocalUser -Name "runneradmin" -Password (ConvertTo-SecureString -AsPlainText "P@ssw0rd!" -Force)
- name: Create Tunnel
run: .\ngrok\ngrok.exe tcp 3389
Step 4
Click on commit changes > Commit changes
STEP 5
Goto settings > secrets and variables > actions > new repository secret.
STEP 6
On name field enter NGROK_AUTH_TOKEN same as this.
Now you have to create a NGROK account click here to create a account.
After that copy auth token and paste to secret field.
STEP 7
Goto actions tab > delete main.yml
STEP 8
Click on CI > run workflow
STEP 9
Click CI file> build
goto NGROK tab > Cloud edge > endpoints > Copy your RDP IP URL.
STEP 10
Open RDP software enter IP address.
Username “runneradmin” Password “P@ssw0rd!” This is default Password & username
Enjoy your Free RDP this will be for lastly 6hrs then you have to start the build file again in your GITHUB.
That’s it enjoy ❤️ Thanks for reading.