当前位置:网站首页>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 ~
边栏推荐
- 【已解决】ERROR 1290 (HY000): Unknown error 1290
- The simulation interface does not declare an exception and throws an exception
- Idea shortcut key
- Promise async/await
- app quits unexpectedly
- RT thread kernel application development message queue experiment
- Stm32g0 Tim interrupt use
- Keil plug-in Usage Summary
- 视频播放器(二):视频解码
- 网络安全-抓包和IP包头分析
猜你喜欢

Connection flood attack principle

社招两年半10个公司28轮面试面经

Network security ARP protocol and defense

踩坑记录:supervisor 日志返回信息:redis扩展未安装

Egret P2 physical engine (1) small ball falling demo

Linux server installation redis

动态内存管理

QT common macro definitions

系统软件开发基础知识

Starting MySQL ERROR! Couldn‘t find MySQL server (/usr/local/mysql/bin/mysqld_safe)
随机推荐
Starting MySQL ERROR! Couldn‘t find MySQL server (/usr/local/mysql/bin/mysqld_safe)
Stm32g0 Tim interrupt use
02 - bare metal and RTOS development modes: five development modes of bare metal and the introduction of RTOS
网络安全-ARP协议和防御
Four great happenings on earth
vs2019和sql
Ad usage notes
免实名域名是什么意思?
4diac getting started example
js创建pdf文件
对占用多字节和位的报文信号解析详解
Record common problems: spaces in encodeuricomponent decoding and the use of Schema in third-party apps to invoke apps
grep命令用法
视频播放器(二):视频解码
大学刚毕业不知道做什么工作怎么办?
[implemented] server jar package startup script and shell script
Embedded test process
【已解决】Failed! Error: Unknown error 1130
1.someip introduction
Skillfully use 5 keys to improve office efficiency