From 2c2dd923ab276df9a00081f06fecead0b47c84dc Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sun, 23 Jun 2024 01:25:39 +0800 Subject: [PATCH] =?UTF-8?q?24h2=20=E9=9C=80=E8=A6=81=E5=AE=89=E8=A3=85=20w?= =?UTF-8?q?mic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.bat | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reinstall.bat b/reinstall.bat index 062ab8f..6702736 100644 --- a/reinstall.bat +++ b/reinstall.bat @@ -30,6 +30,12 @@ if not exist %tmp% ( md %tmp% ) +rem 24h2 默认禁用了 wmic +where wmic >nul 2>nul +if errorlevel 1 ( + DISM /Online /Add-Capability /CapabilityName:WMIC +) + rem 检查是否国内 if not exist %tmp%\geoip ( rem 部分地区 www.cloudflare.com 被墙