Skip to content

Commit

Permalink
增强 19045.5070+强制使用组策略禁用“资讯和兴趣”
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Oct 16, 2024
1 parent fb42208 commit 6d92ac4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions osc/optimize/start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,13 @@ if %osver% GEQ 4 (
echo 启用硬件加速GPU调度
reg add HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers /f /v HwSchMode /t REG_DWORD /d 2
)
if !bigversion! GEQ 19041 if !bigversion! LEQ 19045 (
reg query HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds /v IsFeedsAvailable | find /i "0x1" && (
echo 强制使用组策略关闭feeds
reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Feeds" /v "EnableFeeds" /t REG_DWORD /f /d 0
)
)
)
if !bigversion! GEQ 22000 (
echo 处理Win11变小了的输入法候选项字体大小(大)
reg add HKCU\Software\Microsoft\InputMethod\CandidateWindow\CHS\1 /v FontStyleTSF3 /t REG_SZ /d "18.00pt;Regular;;Microsoft YaHei UI" /f
Expand Down

0 comments on commit 6d92ac4

Please sign in to comment.