Change the "admin needed" warning

This commit is contained in:
Pavel Valach 2024-10-07 22:49:28 +02:00
parent 7c0cbc1f35
commit 081e8c5d48

View File

@ -7,12 +7,15 @@ set rights_admin=0
NET SESSION >nul 2>&1 NET SESSION >nul 2>&1
IF NOT %ERRORLEVEL% EQU 0 ( IF NOT %ERRORLEVEL% EQU 0 (
echo ####### Running as a regular user ######### echo ############### !! FRIENDLY NOTICE ##############
echo # The Wi-Fi profiles will be installed # echo # Please, run this script as an administrator. #
echo # for the current user. # echo # Otherwise, the added Wi-Fi network will #
echo # Run as administrator to install them # echo # NOT remember your username and password. #
echo # for all users. # echo # #
echo ########################################### echo # Please close this window, right-click the #
echo # sin-setup.bat, and select #
echo # Run as administrator. #
echo #################################################
echo. echo.
pause pause
) ELSE ( ) ELSE (