当前位置:网站首页>Record the problem that the system file cannot be modified as an administrator during the development process
Record the problem that the system file cannot be modified as an administrator during the development process
2022-06-30 07:19:00 【CSNZのBlog】
At first, I wanted to change the configuration file of the system , But there is no way to modify , It is found that the right button does not open the function as an administrator …
Check the system tools , I found that there was no such thing as a management group …
Then it was , Everybody said first CMD Input gpedit.msc open Local group policy editor , And I don't have this thing
Then I found a way
Make an ordinary Notepad , Write the following code , Then change it to bat File format , Right click to execute with administrator privileges .
@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
In this way, you can modify the system files ~
边栏推荐
- 网络安全-VLAN和Tunk方法详解
- June 29, 2022 -- take the first step with C # -- add decision logic to the code using the "if", "else" and "else if" statements in C #
- [resolved] MySQL exception: error 1045 (28000): unknown error 1045, forgetting the initial password
- Linu基础-分区规划与使用
- Matter protocol
- JS widget wave JS implementation of wave progress bar animation style
- Introduction to go language pointer
- SwiftUI打造一款美美哒自定义按压反馈按钮
- 网络安全-ARP协议和防御
- Network security - layer 3 switching technology and internal network planning
猜你喜欢

网络安全-抓包和IP包头分析

Daemon and user threads

Skillfully use 5 keys to improve office efficiency

MAX6675 usage notes

Minecraft 1.16.5模组开发(五十) 书籍词典 (Guide Book)

【最全】linux服务器上安装Mysql

Win10踩坑-开机0xc0000225

Introduction to ecostruxure (1) IEC61499 new scheme

Out of class implementation of member function of class template

Nested if statement in sum function in SQL Server2005
随机推荐
JS widget wave JS implementation of wave progress bar animation style
halcon:读取摄像头并二值化
All errors reported by NPM
SwiftUI打造一款美美哒自定义按压反馈按钮
TC397 QSPI(CPU)
年轻人搞副业有多疯狂:月薪3000,副业收入3W
如果我在珠海,到哪里开户比较好?另外,手机开户安全么?
手机开户股票开户安全吗?开户需要准备什么?
[resolved] MySQL exception: error 1045 (28000): unknown error 1045, forgetting the initial password
Network security - single arm routing, DHCP relay and ICMP Protocol
The maximum expression in Oracle database message list is 1000 error
RT thread kernel application development message queue experiment
Win10 step pit - power on 0xc0000225
Installation du serveur linux redis
Qstring to const char*
QT elementary notes
QT generate random number qrandomgenerator
June 29, 2022 -- take the first step with C # -- add decision logic to the code using the "if", "else" and "else if" statements in C #
Ad usage notes
01 - embedded learning route and career planning: embedded basic knowledge and development process