|
|
@ -10,6 +10,8 @@ IF %ERRORLEVEL% EQU 0 FOR /F "tokens=3" %%A IN ('reg query "HKLM\Software\FWS\Up |
|
|
|
REM disable exec on shutdown in any case |
|
|
|
REM disable exec on shutdown in any case |
|
|
|
reg delete "HKLM\Software\FWS\Updates\User" /v RunOnShutdown /f 1>NUL 2>NUL |
|
|
|
reg delete "HKLM\Software\FWS\Updates\User" /v RunOnShutdown /f 1>NUL 2>NUL |
|
|
|
reg delete "HKLM\Software\FWS\Updates" /v RunOnShutdown /f 1>NUL 2>NUL |
|
|
|
reg delete "HKLM\Software\FWS\Updates" /v RunOnShutdown /f 1>NUL 2>NUL |
|
|
|
|
|
|
|
REM also makes sure we clear the sync flag |
|
|
|
|
|
|
|
reg delete "HKLM\Software\FWS\Updates" /v SyncInProgress /f 1>NUL 2>NUL |
|
|
|
|
|
|
|
|
|
|
|
REM If neither admin nor user RunOnShutdown is enabled, skip execution |
|
|
|
REM If neither admin nor user RunOnShutdown is enabled, skip execution |
|
|
|
IF %USER_RUN% NEQ 1 IF %ADMIN_RUN% NEQ 1 goto :EOF |
|
|
|
IF %USER_RUN% NEQ 1 IF %ADMIN_RUN% NEQ 1 goto :EOF |
|
|
|