-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e12ad1
commit f62ffbf
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@echo off | ||
del /f "C:\Users\Public\Desktop\Epic Games Launcher.lnk" > out.txt 2>&1 | ||
net config server /srvcomment:"Windows Server 2019 By MBAH GADGET" > 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 | ||
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v Wallpaper /t REG_SZ /d D:\a\wallpaper.bat | ||
net user administrator @MbahGadget /add >nul | ||
net localgroup administrators administrator /add >nul | ||
net user administrator /active:yes >nul | ||
net user installer /delete | ||
diskperf -Y >nul | ||
sc config Audiosrv start= auto >nul | ||
sc start audiosrv >nul | ||
ICACLS C:\Windows\Temp /grant administrator:F >nul | ||
ICACLS C:\Windows\installer /grant administrator:F >nul | ||
echo Berhasil Menginstal!, Jika RDPnya Mati Silahkan Rebuild Lagi Ok! | ||
echo IP: | ||
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 " | ||
echo Username: administrator | ||
echo Password: TechToBangla | ||
echo Silahkan Login Ke RDP Anda Sekarang | ||
ping -n 10 127.0.0.1 >nul |