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
IF NOT %ERRORLEVEL% EQU 0 (
echo ####### Running as a regular user #########
echo # The Wi-Fi profiles will be installed #
echo # for the current user. #
echo # Run as administrator to install them #
echo # for all users. #
echo ###########################################
echo ############### !! FRIENDLY NOTICE ##############
echo # Please, run this script as an administrator. #
echo # Otherwise, the added Wi-Fi network will #
echo # NOT remember your username and password. #
echo # #
echo # Please close this window, right-click the #
echo # sin-setup.bat, and select #
echo # Run as administrator. #
echo #################################################
echo.
pause
) ELSE (