make sure that we dont directly start as admin
This commit is contained in:
parent
76cf4f8543
commit
76887a179f
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,7 @@ fltmc >NUL 2>&1 || (
|
|||
PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue"
|
||||
|
||||
:: Start as administrator
|
||||
PowerShell Start -Verb RunAs '%0' 2>NUL || (
|
||||
PowerShell Start -Verb RunAs "%0 noskipadmin" 2>NUL || (
|
||||
EXIT 1
|
||||
)
|
||||
EXIT 0
|
||||
|
@ -44,6 +44,8 @@ fltmc >NUL 2>&1 || (
|
|||
|
||||
:: => ADMIN RIGHTS <=
|
||||
|
||||
IF NOT "%1"=="noskipadmin" EXIT 0
|
||||
|
||||
:: === Registery modifications ==
|
||||
ECHO Registery entries...
|
||||
:: Right click of Windows 10
|
||||
|
|
Loading…
Reference in a new issue