Win10 solution: The system administrator has blocked you from running this app

foreword

When Win10 installs the msi package, the error message is as follows:
insert image description here

solve

  1. Press [win+R] shortcut key to open and run, enter gpedit.mscEnter
  2. Go to "Windows Settings"—"Security Settings"—"Local Policies"—"Security Options"—"User Account Control: Run all administrators in administrator approval mode"—double-click, set to "Disabled", Apply & OK .
  3. Restart the computer and install the application.

Win10 Home Edition has no local group policy

Win10 Home Edition does not have a group policy. If you enter it gpedit.msc, it will prompt that it cannot be found. The solution is as follows:

  1. Create a new notepad, add the following code, and save.
@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
  1. Rename the file to: Group Policy.bat, it must be in .bat batch format.
  2. Right click on the file and select "Run as Administrator".
  3. After the installation is complete, you can use the [win+R] shortcut key to open and run, and enter to gpedit.mscopen the group policy.

reliable reference

https://www.jb51.net/os/win10/737756.html

Guess you like

Origin blog.csdn.net/DeMonliuhui/article/details/128145857