Kucin666

NGROK-CHECK.bat

Sep 8th, 2021 (edited)
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. @echo off
  2. del /f "C:\Users\Public\Desktop\Epic Games Launcher.lnk" > out.txt 2>&1
  3. net config server /srvcomment:"Windows Azure VM" > out.txt 2>&1
  4. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /V EnableAutoTray /T REG_DWORD /D 0 /F > out.txt 2>&1
  5. curl -O https://raw.githubusercontent.com/playingoDEERUX/coffinRDP/main/Files/DisablePasswordComplexity.ps1 > out.txt 2>&1
  6. 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
  7. 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
  8. curl -o "C:\Users\Public\Desktop\Everything.exe" https://raw.githubusercontent.com/playingoDEERUX/coffinRDP/main/Files/Everything.exe > out.txt 2>&1
  9. curl -o "C:\Users\Public\Desktop\BANDIZIP-SETUP.exe" https://raw.githubusercontent.com/playingoDEERUX/coffinRDP/main/Files/BANDIZIP-SETUP.exe > out.txt 2>&1
  10. net user RDPree PreePass123 /add >nul
  11. net localgroup administrators RDPree /add >nul
  12. net user RDPree /active:yes >nul
  13. diskperf -Y >nul
  14. sc config Audiosrv start= auto >nul
  15. sc start audiosrv >nul
  16. ICACLS C:\Windows\Temp /grant RDPree:F >nul
  17. ICACLS C:\Windows\installer /grant RDPree:F >nul
  18. echo All done! Connect your VM using RDP. When RDP expired and VM shutdown, Re-run jobs to get a new RDP.
  19. echo IP:
  20. 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 "
  21. echo User: RDPree
  22. echo Pass: PreePass123
  23. PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& './DisablePasswordComplexity.ps1'" > out.txt 2>&1
  24. ping -n 10 127.0.0.1 >nul
Advertisement
Add Comment
Please, Sign In to add comment