Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Created by FreeBooter
- @Echo Off & Cls
- Cd %Systemroot%\system32
- REM --> Check for permissions
- Reg query "HKU\S-1-5-19\Environment"
- REM --> If error flag set, we do not have admin.
- if %errorlevel% NEQ 0 (
- ECHO **************************************
- ECHO Running Admin shell... Please wait...
- ECHO **************************************
- goto UACPrompt
- ) else ( goto gotAdmin )
- :UACPrompt
- echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
- set params = "%*:"=""
- echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
- "%temp%\getadmin.vbs"
- del "%temp%\getadmin.vbs"
- exit /B
- :gotAdmin
- Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 10" >Nul
- If Not Errorlevel 1 (
- Goto Win_10
- ) Else (
- Goto NotSupported
- )
- :Win_10
- Cls & Mode CON LINES=11 COLS=70 & Color 0D & Title Created By FreeBooter
- Echo.
- Echo.
- Echo Type (D) To Disable Customer Experience Improvement Program
- Echo.
- Echo.
- Set /p input= RESPONSE:
- If /i Not %input%==D (Goto :Win_10) Else (Goto :_Disable)
- :_Disable
- Reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d "0" /f > Nul
- Cls & Mode CON LINES=5 COLS=48 & Color 0E
- Echo.
- Echo.
- Echo Disabled
- Ping -n 5 localhost > Nul
- Goto :Reboot
- :NotSupported
- Cls
- Echo Operating System is Not Supported.
- ping -n 10 localhost > Nul
- Exit
- :Reboot
- Cls & Mode CON LINES=11 COLS=42 & Color 0E & Title FreeBooter
- Echo.
- Echo.
- Echo THIS COMPUTER WILL REBOOT
- Echo.
- Echo.
- Echo PLEASE SAVE ALL WORK IN PROGRESS
- Echo.
- Echo.
- Echo PRESS 'ENTER' KEY TO RESTART COMPUTER
- Pause >Nul
- Shutdown -r -t 0 -c "REBOOTING SYSTEM" 2>&1 > Nul
- Cls
- Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement