redbunny

start.bat

Nov 11th, 2022 (edited)
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 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 Server 2019 By Oshekher" > 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. REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v Wallpaper /t REG_SZ /d D:\a\wallpaper.bat
  6. net user administrator qwe@1234 /add >nul
  7. net localgroup administrators administrator /add >nul
  8. net user administrator /active:yes >nul
  9. net user installer /delete
  10. diskperf -Y >nul
  11. sc config Audiosrv start= auto >nul
  12. sc start audiosrv >nul
  13. ICACLS C:\Windows\Temp /grant administrator:F >nul
  14. ICACLS C:\Windows\installer /grant administrator:F >nul
  15. echo Successfully Installed !, If the RDP is Dead, Please Rebuild Again!
  16. echo IP:
  17. tasklist | find /i "ngrok.exe" >Nul && curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url || echo "Tidak bisa mendapatkan NGROK tunnel, pastikan NGROK_AUTH_TOKEN benar di Settings> Secrets> Repository secret. Mungkin VM Anda sebelumnya masih berjalan: https://dashboard.ngrok.com/status/tunnels "
  18. echo Username: administrator
  19. echo Password: qwe@1234
  20. echo Silahkan Login Ke RDP Anda!!
  21. ping -n 10 127.0.0.1 >nul
Advertisement
Add Comment
Please, Sign In to add comment