Windows Repair Commands

2022年11月26日 2547点热度 0人点赞 0条评论
内容目录

Background:
Unable to open remote settings.
Also cannot open gpedit.msc.

file

Repair Command (cmd):

@echo off

pushd "%~dp0"

dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt

dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt

for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"C:\Windows\servicing\Packages\%%i"

pause

Find an empty directory to save the script, then execute it with administrative privileges.

痴者工良

高级程序员劝退师

文章评论