This file contains hidden or 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
@echo off | |
net session >nul 2>&1 | |
if %errorlevel% NEQ 0 ( | |
echo This batch file requires admin privileges. | |
goto end | |
) | |
echo Setting registry values. |