foreword
When Win10 installs the msi package, the error message is as follows:
solve
- Press [win+R] shortcut key to open and run, enter
gpedit.msc
Enter - 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 .
- 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:
- 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
- Rename the file to: Group Policy.bat, it must be in .bat batch format.
- Right click on the file and select "Run as Administrator".
- After the installation is complete, you can use the [win+R] shortcut key to open and run, and enter to
gpedit.msc
open the group policy.