Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Created by FreeBooter
- @Echo Off
- Title Dost-Tech.com
- Cd %systemroot%\system32
- Call :IsAdmin
- :_Start
- Cls & Mode CON LINES=11 COLS=60 & Color 0D &Title Created By FreeBooter
- Echo.
- Echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
- Echo º Type (R) to REMOVE BATCH FILE CONTEXT MENU ITEM º
- Echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
- Echo.
- Echo.
- Echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
- Echo º Type (E) to ENABLE BATCH FILE CONTEXT MENU ITEM º
- Echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
- Set /p input= RESPONSE:
- If /i Not %input%==R (Goto :_Ex) Else (Goto :_Remove)
- :_Ex
- If /i Not %input%==E (Goto :_Start) Else (Goto :_Enable)
- :_Remove
- Reg.exe delete "HKCR\.bat\ShellNew" /f
- Cls & Mode CON LINES=5 COLS=48 & Color 0E
- Echo.
- Echo.
- Echo FINNISH
- Ping -n 5 localhost > Nul
- Exit
- :_Enable
- Reg.exe add "HKCR\.bat\ShellNew" /v "NullFile" /t REG_SZ /d "" /f
- Reg.exe add "HKCR\.bat\ShellNew" /v "ItemName" /t REG_EXPAND_SZ /d "@%%SystemRoot%%\System32\acppage.dll,-6002" /f
- Cls & Mode CON LINES=5 COLS=48 & Color 0E
- Echo.
- Echo.
- Echo FINNISH
- Ping -n 5 localhost > Nul
- Exit
- :IsAdmin
- Reg.exe query "HKU\S-1-5-19\Environment"
- If Not %ERRORLEVEL% EQU 0 (
- Cls & Mode CON LINES=5 COLS=48 & Color 0C & Title - WARNING -
- Echo.
- Echo.
- Echo YOU MUST HAVE ADMINISTRATOR RIGHTS TO CONTINUE
- Pause > Nul & Exit
- )
- Cls
- goto:eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement