Win10 (Home Edition) local security policy increase (notes)

Original link: https://jingyan.baidu.com/article/c1465413d623790bfcfc4c32.html

  1. Create a new txt file anywhere, open it and copy and paste the following code into it.

    @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

    ------------------I am the dividing line------------------

    If you find that there is a space in front of it when copying and pasting, please delete it yourself. The pasted format is as shown in the figure:

    WIN10 Home Edition adds local security policy

  2. 2

    Select File - Save As in the upper left corner of the window, change the suffix "txt" to "bat", and save. [If you can’t see the suffix name, it means that your computer is set to hide known suffixes. Baidu can find "display file suffixes" and there are very detailed instructions]

  3. 3

    Find the saved bat file, right-click and select Run as administrator, the progress of the deployment will appear, press any key to exit after completion, and then you can refer to the method referenced below to open the local security policy.

Guess you like

Origin blog.csdn.net/stupid250/article/details/115640271