Record keyboard windows key failure and win10 system gpedit.msc cannot be found

First solve the problem of keyboard windows key failure

Mine is a cherry keyboard. When I checked f9 (winlk), I didn’t know what it meant. There was no prompt when I pressed it, so I thought the keyboard was broken. This key is a windwos lock key to prevent accidentally touching the exit interface while playing games. Press it again and the problem will be solved. question

When solving the above problem, I found that the win10 system could not find gpedit.msc.

Use the following script to restore

@echo off

@echo "这个批处理文件将在Windows 10家庭版上启用组策略编辑器."

pushd "%~dp0"

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

dir /b %SystemRoot%\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:"%SystemRoot%\servicing\Packages\%%i"

pause

Save as xxx.bat

Run in administrator mode to solve the problem

Guess you like

Origin blog.csdn.net/qq_29977871/article/details/129464856