Check the box below if you want the avast! special scans (such as the Windows Explorer "right-click" scan and the Screensaver scan) to be visible and configurable via the avast! user interface.
You can only remove the long file names - if that is what your problem is but you don’t say why you want to do this ?
Context (right click) Menu, very long file names how to change the display so as not to show the file names:
Using notepad, open the C:\Documents and Settings\All Users\Application Data\Avast Software\Avast\avast5.ini (XP file location)
C:\ProgramData\Avast Software\Avast\avast5.ini (Vista, Win7 file location)
Now find and edit the [UserInterface] section, add the new line after the label, ShellExtensionFileName=0 and save the file the avast self-defence will ask for confirmation. That would get rid of the long file name element.
[UserInterface]
ShellExtensionFileName=0
For complete removal of the Shell Integration
use the ShellExtensionFileName=-1, to switch off the avast shell integration completely.
Every single antivirus in the world has right click via Windows explorer or context menu. So whats the big deal? If it wasn’t there then someone would complain that they had to open up Avast and run a full scan to scan the object they needed scanned.
Check the Reply #5 that gives the location for XP and win7 and later.
The only problem you may find is that the ProgramData is a hidden folder so you need to change windows explorer settings. Explorer (not internet explorer) Menu > Tools > View > Folder Options > Hidden files and folders and check the 'Show hidden files and folders.
You will most likely need to run notebook.exe as admin or windows will prevent the change to avast5.ini.
Follow the instructions in Reply #5 above, the last line of that shows what value to enter for complete removal.
Are you getting any errors when trying to edit the avast5.ini ?
I have just tested these settings on this XP system and they still work for me.
You may need to reboot to have the setting take effect.
The whole point of the self-defence module is to prevent unauthorised changes to avast. It is for your protection to prevent malware making changes to the avast .ini files.
I mean just how many times do you need to alter the avast ini files to have to disable the avast self-defence.
If you run notepad.exe as the administrator you should be able to make the modifications as suggested and (depending on OS) the self-defence module just seeks confirmation that you want to make the changes.