WinXP system closes the method of prompting security warning when opening files

  
                

We are using the WinXP system. When we open the installer downloaded from the Internet, the interface titled Security Warning will appear. You can do it once, and don't ask for it every time. So how do I get a security warning when I close the file? Now let's talk about the way to warn the security warning when the WinXP system closes the open file.

follows:

First, the Group Policy Act

1, click the & ldquo; start & rdquo; menu, click & ldquo; & rdquo ;, running in In the dialog that opens, type “gpedit.msc”, click “OK”.

2, open the group policy interface, in the console tree on the left, expand “ User Configuration & Rarr; Administrative Templates & Rarr; Windows Components & Rarr; Attachment Manager & rdquo;

3, then double-click the "included class table of medium dangerous file type" in the right window.

4. Under the “Settings” dialog box, select “Allowed” and add a file type such as .exe to hide the security warning prompt in the box with the specified high-risk extension. (Add multiple extensions with a semicolon; separate)

5. Finally click “OK" to validate the settings made.

Second, the registry method

1. Click the “Start” menu in the lower left corner, open the “Run” window, enter the regedit command, and click “OK”.

2, open the registry editor interface.

3. In the tree on the left, expand the following registry key. HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations

4. I don't have an Associations item here. Right click on the Policies item and click on "New-item" and name it "Associations".

5, then right click on the Associations item <; New - string value & rdquo;.

6. Right-click on the newly created string value and rename it to “ModRiskFileTypes”.

7. Double-click the “ModRiskFileTypes” key to open the “String Value” dialog box. Enter “ldquo..exe” in the data value and click OK. (If you want to add file types in other formats; separate the numbers. For example, .exe;.bat;.vbs)

Third, command method

1. Click &ldquo ; Start & rdquo; menu, then click & ldquo; Run & rdquo;, in the dialog box that opens, enter “ cmd & rdquo;, point & ldquo; OK & rdquo;.

2. At this point, the black interface of the command prompt comes out.

3. Copy the following two commands to the command prompt to execute them.

4, reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations /v ModRiskFileTypes /t REG_SZ /d .exe;.bat;.vbs /f

5, gpupdate /force

Fourth, batch method

Save the following content in bat format file. And run this batch file, the problem is solved.

@echo off

reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations /v ModRiskFileTypes /t REG_SZ /d .exe;.bat;.vbs /f

gpupdate /force

exit

Note: If you want to add a different format type you can add it after the /d parameter. It can be separated by a ; As in this example, .exe;.bat;.vbs

The WinXP system closes the file to prompt the security warning when it is opened. If you have a user who has encountered the same problem as above, you may wish to try the above methods to solve it. After the solution, the security warning will not be displayed.

Copyright © Windows knowledge All Rights Reserved