diff --git a/install_windows.bat b/install_windows.bat index 9ce072e9e4595f168d1635786f65e8b9f6cd5d42..b5df282307556b7f26efa3529106df80e8d5e1fa 100644 --- a/install_windows.bat +++ b/install_windows.bat @@ -24,9 +24,9 @@ CLS ) else ( echo [Deemix Installer] Failed: Please start the install_windows.bat with 'Run as Administrator' echo %DATE% %TIME% - Checking permissions - No Admin rights >> "%~dp0log.txt" - TITLE Please run as admin - pause - exit /b + echo Admin Elevation required. Restarting this script as Admin: + powershell -Command "& { Start-Process '%0' -ArgumentList '%cd%' -Verb runAs }" + goto:eof ) :: Check for Python Installation