Monday, September 27, 2010

Unkhown Publisher warning message after SP2

After Windows XP Service Pack 2 installation and whenever you are going to run an application, this security warning message appears in your screen:
 "Unknown Publisher - The publisher could not be Verified. Are you sure you want to run this software?" and you have to choose the "Yes" or "No" option to allow or not, the program execution.

Note: Keep in mind that if you disable this security warning, following the steps below you open a security hole on your computer, because every program with the excluded extension can run on your computer without your permission (e.g. virus, Trojans, etc.)


XP Professional Edition Instructions:
1. Go to Start menu > Run and in the box type "gpedit.msc" (without quotes)
2. Then go to Local Computer Policy > User Configuration > Administrative Templates > Windows Components > Attachment Manager.
3. In the right pane double click at the "Default risk level for file attachments" setting, choose Enable and press OK.
4. Then double click at the "Inclusion list for low file types" setting, choose Enable and then specify by writing to the list below, the file extensions that you want to open without the security warning (for example: .bat;.exe.)

XP Home Edition Instructions:
For example lets say that a program with ".exe" extension causes the security warning to displayed.
1. Open the notepad and then copy and paste the following text below:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Associations]
"DefaultFileTypeRisk"=dword:00001807
"LowRiskFileTypes"=".exe"

2. From the file menu chose “Save as” and save the txt document as "DefaultFileTypeRisk.reg" (without quotes), change “Save as type” to *.*, and save the file.
3. Then double click the above DefaultFileTypeRisk.reg file and allow it to be imported into the registry.
4.  Reboot the computer.
If you like to allow the execution of a batch file, then add the extension ".bat" in the "LowRiskFileTypes" area. For example:  "LowRiskFileTypes"=".bat".
You can replace the above extension with any extension you like to be excluded from the security warning.