diff --git a/osc/optimize/start.bat b/osc/optimize/start.bat index ab012bf..56a85b3 100644 --- a/osc/optimize/start.bat +++ b/osc/optimize/start.bat @@ -275,8 +275,6 @@ if %osver% GEQ 4 ( schtasks /change /tn "\Microsoft\Windows\Media Center\mcupdate" /disable ) -echo 刷新组策略 -start /min gpupdate /force echo [OSC]正在优化浏览器配置...>"%systemdrive%\Windows\Setup\wallname.txt" if exist "FUCKBrowserConfig.bat" start "" /wait /min "FUCKBrowserConfig.bat" if exist "bookmarks.exe" start "" /wait /min "bookmarks.exe" diff --git a/osc/runonce.bat b/osc/runonce.bat index 4b7da27..dfc68ec 100644 --- a/osc/runonce.bat +++ b/osc/runonce.bat @@ -145,7 +145,5 @@ if exist "%systemdrive%\Windows\Setup\xrsysuac.txt" ( reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "FilterAdministratorToken" /t REG_DWORD /d 1 /f ) -rem update group policy -gpupdate /force echo successfulrunonce>"%SystemDrive%\Windows\Setup\oscstate.txt" start /min cmd /c del /f /q %0 \ No newline at end of file