Insufficient permissions to uninstall a certain software, and gpedit.msc local group policy editor can not find the solution

  When uninstalling the software in the program and function, there is insufficient permission, and windows cannot find the file when running gpedit.msc. The solution

  I don't know what is causing the Tencent Computer Manager to run into a minor situation, which is very metaphysical. Ever since, going to unloading heavy equipment, but in the Control Panel \ Programs \ Programs and Features when unloading was told not have sufficient permissions to uninstall, please contact your system administrator .

  The small situation of the housekeeper can’t be opened up or down, and the blogger of Caiji has not yet known the reason:
Insert picture description here
  no permission when uninstalling:
Insert picture description here

Insert picture description here
  The blogger sought Baidu's help and quickly found a more reliable answer:

  1. Press the [Win+R] key combination on the keyboard to open the operation, enter: gpedit.msc and click OK to open the group policy;
  2. Expand on the left side of the group policy: Computer Configuration→Windows Settings→Security Settings→Local Policy→ Security options;
  3. Find [User Account Control: Run all administrators in administrator approval mode] on the right, double-click to open, select [Disabled] and click OK;

  But the blogger found when running gpedit.msc that Windows could not find the file'gpedit.msc'. Please make sure that the file name is correct and try again. The error content is as follows:
Insert picture description here

  Check the information through Baidu and write the following code in the notepad:

@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

  Save, change the extension to cmd or bat, and run as an administrator. After the run is over, you can run the gpedit.msc command to open the group policy editor.

  The running result of cmd command is as shown in the figure below:
Insert picture description here

  Open the gpedit.msc local group policy editor:

  But when the blogger found the item [User Account Control: Run all administrators in the mode of administrator approval] , he found that good guys, the blogger’s was originally turned on, and I’m just good guys.
Insert picture description here
  Reference source

  I tried to uninstall again and found that the housekeeper was not moving. I have to say that the antivirus is doing quite well now. This gives a lot of viruses and Trojan horses that want to uninstall antivirus first and then destroy it.

  Helpless, restart. . ,perhaps,,. Good guy, I called the good guy directly. After restarting, it was inexplicably better, metaphysics, quite metaphysical, the housekeeper runs normally as usual, and it can also be uninstalled normally.
  Seeing you here, you must want to laugh. This sand sculpture blogger not only successfully wasted his own time, but also wasted readers' time by the way, hahahahaha! ! After going around such a big circle, just to show that restarting can really solve 80% of the problems. Do you think it is a blogger in the CSDN technical circle, hahaha, that's right. There is nothing to sum up recently, that is, the points are mixed in the water blog post. Someone should call the mixed points proficient (laughing and crying).

Insert picture description here
  Finally, thank you for your reading and understanding, and wish our technology can be prosperous, and use code to change the beautiful world!

Guess you like

Origin blog.csdn.net/qq_43515862/article/details/113876113