Hi, openyoureyes and abz. You may want to try my suggestions, re-posted below. It will take some work but has been successful for everyone else to date.
Good luck.
Hi, Kathy. Looks like you have Ad-Watch set to "Lock executable file associations" and on "automatic". This has been an ongoing problem since Ad-Aware SE was released.
From the Help file:
Thus, Ad-Watch is doing precisely as you have instructed it to do -- it has locked executable file associations. Personally, I want to know what is going on with my PC and have "automatic" turned off with Ad-Watch. When I install software and am prompted by Ad-Watch to accept a change, I know it is safe to allow. However, should something slip past my defenses and try to make changes without my permission, Ad-Watch will let me know and I can have that change blocked.
The following was prepared by Appetiser in 2004 when this problem first appeared. So that it is easier to read, I will copy/paste rather than quote the instructions.
You may also want to review:
Kelly's Korner,
HOW TO: Specify the Program Used to Open Certain File Types Kelly's Korner, Line 146,
Retrieve the Class Name for a File ExtensionMicrosoft KB Article,
HOW TO: Specify the Program Used to Open Certain Types of Files in Windows XPFor XP: Windows® XP File Association Fixes (lines 7 and 15)
http://www.dougknox.com/xp/file_assoc.htmRestoring file associationsTo make things easy to navigate I would suggest creating a new folder called c:\regfixes. Then browse to Doug Knox's web site and download all the file association fixes from
http://www.dougknox.com/xp/file_assoc.htm for file types you are having problems with to this folder. As a minimum I would download com, lnk, reg then unzip each file you have downloaded.
Right mouse click on the Ad-Watch icon in the system tray and select "Ad-Watch Settings". At the bottom of the Ad-Watch window make sure automatic is not checked i.e. it is a
red cross.
First you will need to restore the .exe file association. In Notepad create a new file and enter all the text the the code box below:
CODE
' VBScript to restore .exe file association with Windows XP
Option Explicit
Dim strComputer
Dim objRegistry,objDictionary
strComputer = "."
Set objRegistry=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
Set objDictionary = CreateObject("Scripting.Dictionary")
objDictionary.Add "HKCR",&h80000000
Call RegAddString( "HKCR", ".exe", "", "exefile")
Call RegAddString( "HKCR", ".exe", "Content Type",_
"application/x-msdownload" )
Call RegAddString( "HKCR", ".exe\PersistentHandler", "",_
"{098f2470-bae0-11cd-b579-08002b30bfeb}" )
Call RegAddString( "HKCR", "exefile", "", "Application" )
Call RegAddBinary( "HKCR", "exefile", "EditFlags", "38,07,00,00" )
Call RegAddString( "HKCR", "exefile", "TileInfo",_
"prop:FileDescription;Company;FileVersion" )
Call RegAddString( "HKCR", "exefile", "InfoTip",_
"prop:FileDescription;Company;FileVersion;Create;Size" )
Call RegAddString( "HKCR", "exefile\DefaultIcon", "", "%1" )
Call RegAddString( "HKCR", "exefile\shell", "", "" )
Call RegAddString( "HKCR", "exefile\shell\open", "", "" )
Call RegAddBinary( "HKCR", "exefile\shell\open",_
"EditFlags", "00,00,00,00" )
Call RegAddString( "HKCR", "exefile\shell\open\command", "",_
Chr(34) & "%1" & Chr(34) & Space(1) & "%*" )
Call RegAddString( "HKCR", "exefile\shell\runas", "", "" )
Call RegAddString( "HKCR", "exefile\shell\runas\command", "",_
Chr(34) & "%1" & Chr(34) & Space(1) & "%*" )
Call RegAddString( "HKCR", "exefile\shellex", "", "" )
Call RegAddString( "HKCR", "exefile\shellex\DropHandler",_
"", "{86C86720-42A0-1069-A2E8-08002B30309D}" )
Call RegAddString( "HKCR", "exefile\shellex\PropertySheetHandlers", "", "" )
Call RegAddString( "HKCR", "exefile\shellex\PropertySheetHandlers\PifProps",_
"", "{86F19A00-42A0-1069-A2E9-08002B30309D}" )
Call RegAddString( "HKCR", "exefile\shellex\PropertySheetHandlers\ShimLayer Property Page",_
"", "{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}" )
Function RegKeyExists(rootkey, keypath)
Dim arrValueNames, arrValueTypes
If objRegistry.EnumValues(objDictionary(rootkey), keypath, arrValueNames, arrValueTypes) = 0 Then
RegKeyExists = True
Else
RegKeyExists = False
End If
End Function
Sub RegAddKey(rootkey, keypath)
objRegistry.CreateKey objDictionary(rootkey),keypath
End Sub
Sub RegAddString(rootkey, keypath, valuename, valuedata)
If Not RegKeyExists(rootkey, keypath) Then
Call RegAddKey( rootkey, keypath )
End If
objRegistry.SetStringValue objDictionary(rootkey),keypath,valuename,valuedata
End Sub
Sub RegAddBinary(rootkey, keypath, valuename, valuearray)
Dim arrValue(),arrHexValue,i,HexVal
arrHexValue = Split(Trim(valuearray),",")
i=0
For Each HexVal in arrHexValue
Redim Preserve arrValue(i)
arrValue(i) = "&h" & HexVal
i=i + 1
Next
objRegistry.SetBinaryValue objDictionary(rootKey),keypath,valuename,arrValue
Redim arrValue(0)
End Sub
In Notepad, select file, select save, under "save in" use the pull down menu and select c:\regfixes and for file name enter xp_exe_fix.vbs and under "Save as type" use the pull down menu and select "All files".
Navigate to c:\regfixes and right mouse click on xp_exe_fix.vbs and select open. This will run the script and restore the registry keys associated with the exe file type. If you are running Ad-Watch if it pops an alert whilst this script is running you will need to accept the update to the registry.
Now the .exe file association is restored you will be able to run regedit.exe.
Work through the file association fixes that you downloaded above from Doug Knox's site.
Press start, select run and enter the text in bold below
cmdClick OK, this will open a command window
at the prompt in the command window enter the text in bold (please note the spaces in the command text)
regedit /s c:\regfixes\xp_com_fix.reg adjust the path as appropriate to where you unzipped the reg files torepeat the regedit command for the other reg files you have e.g.
xp_regfile.reg
linkfile_fix.reg
With Ad-Watch it is
vital you accept any changes that may be alerted by Ad-Watch when merging these files.
Original From:
http://www.lavasoftsupport.com/index.php?s...st&p=367004 (no longer available)
Good luck.