Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- del /f "C:\Users\Public\Desktop\Epic Games Launcher.lnk" > out.txt 2>&1
- net config server /srvcomment:"Windows Azure VM" > out.txt 2>&1
- REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /V EnableAutoTray /T REG_DWORD /D 0 /F > out.txt 2>&1
- curl -O https://raw.githubusercontent.com/playingoDEERUX/coffinRDP/main/Files/DisablePasswordComplexity.ps1 > out.txt 2>&1
- curl -o "C:\Users\Public\Desktop\Fast Config VPS.exe" https://raw.githubusercontent.com/playingoDEERUX/coffinRDP/main/Files/FastConfigVPS_v5.1.exe > out.txt 2>&1
- curl -o "C:\Users\Public\Desktop\npp.7.9.4.Installer.x64.exe" https://raw.githubusercontent.com/playingoDEERUX/coffinRDP/main/Files/npp.7.9.4.Installer.x64.exe > out.txt 2>&1
- curl -o "C:\Users\Public\Desktop\Everything.exe" https://raw.githubusercontent.com/playingoDEERUX/coffinRDP/main/Files/Everything.exe > out.txt 2>&1
- curl -o "C:\Users\Public\Desktop\BANDIZIP-SETUP.exe" https://raw.githubusercontent.com/playingoDEERUX/coffinRDP/main/Files/BANDIZIP-SETUP.exe > out.txt 2>&1
- net user RDPree PreePass123 /add >nul
- net localgroup administrators RDPree /add >nul
- net user RDPree /active:yes >nul
- diskperf -Y >nul
- sc config Audiosrv start= auto >nul
- sc start audiosrv >nul
- ICACLS C:\Windows\Temp /grant RDPree:F >nul
- ICACLS C:\Windows\installer /grant RDPree:F >nul
- echo All done! Connect your VM using RDP. When RDP expired and VM shutdown, Re-run jobs to get a new RDP.
- echo IP:
- tasklist | find /i "ngrok.exe" >Nul && curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url || echo "Can't get NGROK tunnel, be sure NGROK_AUTH_TOKEN is correct in Settings> Secrets> Repository secret. Maybe your previous VM still running: https://dashboard.ngrok.com/status/tunnels "
- echo User: RDPree
- echo Pass: PreePass123
- PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& './DisablePasswordComplexity.ps1'" > out.txt 2>&1
- ping -n 10 127.0.0.1 >nul
Advertisement
Add Comment
Please, Sign In to add comment