Regedit 2
Regedit 2
Regedit 2
@Echo Off
Title NINJA & Color 02
cd %systemroot%\system32
call :IsAdmin
:IsAdmin
Reg.exe query "HKU\S-1-5-19\Environment"
If Not %ERRORLEVEL% EQU 0 (
Cls & Echo You must have administrator rights to continue ...
Pause & Exit
)
Cls
goto:eof