Home  >  Article  >  System Tutorial  >  Detailed explanation of secpol and msc files not found in Win10

Detailed explanation of secpol and msc files not found in Win10

WBOY
WBOYforward
2024-02-12 23:03:071756browse

php editor Xigua will explain to you in detail the problem of Win10 not being able to find secpol and msc files. In the Windows 10 operating system, some users may encounter the situation that the system files secpol.msc or gpedit.msc cannot be found. These files are tools used to manage group policies and security settings. If these files are not found, the normal operation and settings of the system may be affected. In this article, we will provide you with methods and steps to solve this problem and help you recover these important system files.

Detailed explanation of secpol and msc files not found in Win10

Method 1:

1. Create a new text document and copy the following code into the text document:

(When copying the code, be careful to copy it line by line. If you paste and copy directly, there will be no line breaks between the codes.)

@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

2. Rename the file to: Group Policy, bat, must be in bat batch processing format.

3. Run the batch file. If it prompts a permission error when running, you need to right-click the file and select "Run as administrator".

Method 2:

1. Open the Start menu and click Windows System. run.

2. A dialog box pops up, enter ecpol, msc, and click OK.

3. An error message pops up and the file cannot be found.

Detailed explanation of secpol and msc files not found in Win10

#4. In fact, we can open the start menu and click on the control panel under the windows system.

Detailed explanation of secpol and msc files not found in Win10

#5. A dialog box pops up, click System and Security.

Detailed explanation of secpol and msc files not found in Win10

#6. After entering, click on Management Tools.

7. After entering, you can see the local security policy function.

The above is the detailed content of Detailed explanation of secpol and msc files not found in Win10. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:xpwin7.com. If there is any infringement, please contact admin@php.cn delete