mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
24h2 需要安装 wmic
This commit is contained in:
parent
5b0cf3df1a
commit
2c2dd923ab
@ -30,6 +30,12 @@ if not exist %tmp% (
|
|||||||
md %tmp%
|
md %tmp%
|
||||||
)
|
)
|
||||||
|
|
||||||
|
rem 24h2 默认禁用了 wmic
|
||||||
|
where wmic >nul 2>nul
|
||||||
|
if errorlevel 1 (
|
||||||
|
DISM /Online /Add-Capability /CapabilityName:WMIC
|
||||||
|
)
|
||||||
|
|
||||||
rem 检查是否国内
|
rem 检查是否国内
|
||||||
if not exist %tmp%\geoip (
|
if not exist %tmp%\geoip (
|
||||||
rem 部分地区 www.cloudflare.com 被墙
|
rem 部分地区 www.cloudflare.com 被墙
|
||||||
|
Loading…
x
Reference in New Issue
Block a user