Author Topic: Modifying avast! ini files - Produces error  (Read 6739 times)

0 Members and 1 Guest are viewing this topic.

spg SCOTT

  • Guest
Modifying avast! ini files - Produces error
« on: October 19, 2010, 07:18:15 PM »
I've noticed that modifying the ini files has become slightly harder...not sure when it started, but if I try to edit an ini file, I get an error...

Currently I have only seen this on vista, but I will check win7 later (can't check XP myself - would be grateful if someone could)

Any info on why this happens?

Disabling self-defense doesn't help either.



I have found a way around it if you do need to, but it is slightly more work ;)

Here is what you need to do:

1. Disable avast! self-defense
2. Open the .ini file
3. Add the line in the file that you need to
4. Save the ini file to the desktop
5. Navigate to:
         Vista (Onwards)--> C: \ ProgramData \ Alwil Software \ Avast5 \
         XP --> C: \ Documents and Settings \ All Data Users \ Application Data \ Alwil Software \ Avast5 \

6. Click and drag the file on the desktop into the folder. - Confirm that you want to replace it.
7. Re-enable self-defense

You should be able to open the file after this and check that the line has been added
IIRC, you may need to restart the relevant shield before the change works.

Scott

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Modifying avast! ini files - Produces error
« Reply #1 on: October 19, 2010, 11:51:47 PM »
You need to change anything using Notepad. Any other editor could bring troubles.
The self defense module is off for Notepad and you need to manually disable it for the others.
The best things in life are free.

Offline DavidR

  • Avast √úberevangelist
  • Certainly Bot
  • *****
  • Posts: 89321
  • No support PMs thanks
Re: Modifying avast! ini files - Produces error
« Reply #2 on: October 20, 2010, 01:41:45 AM »
Yes, you only need to use notepad and make your edit, when you save the file, the self-defence module will ask for confirmation that you want to do this.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.5.6116 (build 24.5.9153.762) UI 1.0.808/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

spg SCOTT

  • Guest
Re: Modifying avast! ini files - Produces error
« Reply #3 on: October 20, 2010, 07:14:46 AM »
Yeah I know this...look at the image...

I say yes to the self defence question, then I am greeted by the error...

norel

  • Guest
Re: Modifying avast! ini files - Produces error
« Reply #4 on: October 20, 2010, 09:52:26 AM »
I've experienced this in Vista as well. Not sure why exactly, Vista makes everything more difficult. I do the same thing you suggested and it works for me.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11863
    • AVAST Software
Re: Modifying avast! ini files - Produces error
« Reply #5 on: October 20, 2010, 06:01:53 PM »
I'm not sure if the Notepad-exclusion for the ini file applies to these INI files as well (maybe it's only for avast5.ini)
However, if disabling the self-defense doesn't help... maybe it's not related to self-defense actually?

spg SCOTT

  • Guest
Re: Modifying avast! ini files - Produces error
« Reply #6 on: October 20, 2010, 06:26:18 PM »
Ahh...I think I know why this is...as usual, igor you are right :)

UAC...

Run notepad as admin in vista/seven and it works :)

So from now on, if editing the ini files, I'd suggest logging into the administrator account on the pc.


Scott

YoKenny

  • Guest
Re: Modifying avast! ini files - Produces error
« Reply #7 on: October 20, 2010, 07:55:07 PM »
@ spg SCOTT

The reason why I have my system specifications in my signature helps the helpers provide quicker solutions.  ;)

If it is good enough for DavidR an avast! Technical advisor its good enough for me.

@ norel

You could add your system information to signature as well.

Please go to PROFILE then Modify Profile then Forum Profile Information  then update your Signature: with information like my signature as this helps the helpers offer pertinent advice.

norel

  • Guest
Re: Modifying avast! ini files - Produces error
« Reply #8 on: October 21, 2010, 06:41:12 AM »
@ YoKenny,

Yeah, I get it. You want my specs. I heard you the first 100 times. If I was gonna post them wouldn't you think I'd have done it by now? You're wasting your breath, but hey, whatever turns you on.  ;D