From c113543d1773c1d1406035f5f8ae18749605a008 Mon Sep 17 00:00:00 2001 From: xrgzs Date: Wed, 2 Oct 2024 23:00:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E7=BB=84=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osc/optimize/start.bat | 2 -- osc/runonce.bat | 2 -- 2 files changed, 4 deletions(-) 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