Reset or Remove avast! Authorization Password to Access Settings

Many commercial or free antivirus and internet security applications will offer some sort of built in protection to stop unauthorized users from tampering with the settings of the program, or disabling its functions. This is especially useful if the computer is used by children or less experienced users because they can’t inadvertently leave the computer more vulnerable by disabling real-time protection or altering other configuration options which shouldn’t be touched. Some antivirus software can even prevent an unauthorized uninstallation. While generally a good thing, it can also lead to issues if there’s a problem with the password stored by the software.

Avast Antivirus and Internet Security is one range of security software where we’ve heard stories about users being blocked from accessing the main user interface of the program or settings by the integrated password locking feature, even if they are convinced they never set a password in the first place. It is not known why or how the Avast software manages to password protect itself on these rare occasions. Even if you have accidentally forgotten a password you have set yourself, it can be frustrating being denied access to get back into the program.

avast authorization password

The above image shows the password authorization window when a user tries to access a protected area of Avast. There are several different areas of the program that can be protected including general program access, configuration, protection, scanning, updates and access to the virus chest. Trying to access any one of those selected for protection will dim the screen and pop up a window.

An attempt has been made to enter a protected area of Avast. This may be a legitimate action, but could also be the result of a malware attack.

Do you want to continue?”

To try and track down a way around this issue, we did some monitoring and analysis of Avast, and eventually found out where the password to lock and unlock is stored. The password is unsurprisingly encrypted in a file called aswResp.dat. All you need to do is to delete the file and the password lock is removed. Unfortunately it’s not that easy, the file cannot be deleted using Windows Explorer because most antivirus applications prevent manipulation of their own files, and Avast does the same. Even using a popular file unlocking and deleting utility will not get rid of aswResp.dat while Avast is running, and of course you can’t disable self-defense because it’s password protected.

delete aswresp access denied

In more recent versions of Avast, the aswResp.dat file has been given even more protection against deletion so a tool which we created a while back that used to work, now doesn’t. We have recently revisited this issue and found a newer way to remove the password lock completely from Avast.

Renaming the aswResp.dat File in Windows

Here’s the alternative way we have found to get around the password lock. This method works on both 32-bit and 64-bit versions of Windows XP, Vista, 7 and 8.x.

1. Download PC Hunter. PC hunter is an advanced low level anti rootkit detection and removal tool that can remove even the most stubborn files and registry entries.

2. Extract the PC Hunter archive and launch the 32-bit or 64-bit version depending on your Windows version, administrator privileges are required. The program is portable and doesn’t need installation.

3. Click the File tab and navigate to the following using the folder tree on the left.

C:\ProgramData\Avast Software\Avast

For Windows XP:

C:\Documents and Settings\All Users\Application Data\AVAST Software\Avast

Click on the Avast folder to populate the file list.

4. In the file list right click on aswResp.dat and choose Rename. Give the file another name such as aswresp.dat_old and click OK.

rename aswresp.dat

The file will instantly be renamed, now open Avast from the tray icon and the password should be gone.

Deleting the aswResp.dat File

While the above method works without issues on just about all current Windows versions, in reality renaming is only required for Windows 8.x. You can actually delete the aswResp.dat altogether and let Avast recreate it when required for Windows XP, Vista and 7. It doesn’t make any difference to the end user but some people may prefer to keep the method as clean as possible without redundant files being left.

1. The delete method is virtually the same as renaming, follow steps 1-3 above to reach the Avast folder in the PC Hunter Files tab.

2. Right click on aswResp.dat and select Force Delete.

force delete aswresp

The file will be instantly deleted and you can now access Avast as normal.

Important Note: PC Hunter is an incredibly powerful tool and could cause irreparable damage to your operating system if used incorrectly. We strongly advise you use PC Hunter only for following the guide above and don’t use any other parts of the program or delete any other files unless you know what you are doing.

A Manual Solution

Another method is to delete the aswResp.dat file from within Safe Mode. Avast and just about all other antivirus applications are not active in Safe Mode, hence the file is not protected and can be moved or deleted. To boot into Safe Mode, restart your computer and start tapping the F8 key until you see Advanced Boot Options. Select Safe Mode from the list and hit enter. If you can’t get to Safe Mode yourself, there are some tools around that can do it easily for you.

Tip: Windows 8.x can be a pain when trying to get to Safe Mode using F8, an easy solution is holding Shift while pressing Restart. Then click Troubleshoot > Advanced options > Startup settings > Restart. Finally press number 4, 5 or 6 to enter the desired Safe Mode option. This is a one time Safe Mode boot unlike MsConfig which will repeatedly boot to Safe Mode until you turn the option off again.

1. When you’re in Safe Mode, navigate to the Avast folder listed above in the renaming solution.

2. Delete or move the aswResp.dat file to another location.

delete aswresp from safe mode

You will need to enable showing of hidden files in Folder Options first if your Windows isn’t already
configured that way. Go to Control Panel > Folder Options > View tab > select “Show hidden files, folders, or drives”.

68 Comments - Write a Comment

  1. Aby 2 months ago
  2. lee 2 months ago
  3. iKay 3 months ago
  4. omar belcaid 4 months ago
  5. Ngops 4 months ago
    • HAL9000 4 months ago
  6. 114224334 5 months ago
  7. Mike 6 months ago
  8. Clorox Bleach 7 months ago
    • HAL9000 7 months ago
      • ramesh 6 months ago
        • HAL9000 6 months ago
  9. Frankie Praise 7 months ago
  10. Sirah 7 months ago
  11. Susan 7 months ago
  12. Joan 10 months ago
  13. Richman 10 months ago
  14. David Johnson 11 months ago
  15. djjube 1 year ago
  16. WeeD 1 year ago
    • WeeD 1 year ago
  17. REBECCA RANKINS 1 year ago
  18. Samie 1 year ago
  19. Sean Rowe 1 year ago
  20. Bettys 1 year ago
  21. Eelko 2 years ago
    • Anon 1 year ago
  22. JAI SHARAN THAKUR 2 years ago
    • HAL9000 2 years ago
  23. lateralnw 2 years ago
  24. Ramon 2 years ago
  25. DalvinCrony 2 years ago
  26. Raymond Fan 2 years ago
  27. DIVYANSHU KUMAR 2 years ago
  28. russ 2 years ago
  29. russ 2 years ago
  30. inthiyaz 2 years ago
  31. kit 2 years ago
  32. mou 2 years ago
  33. sparsh sharma 3 years ago
  34. ehsanullah 3 years ago
  35. mohit bhatt 3 years ago
  36. kglad 3 years ago
  37. rash 3 years ago
  38. BraveN 3 years ago
    • HAL9000 3 years ago
  39. JES 3 years ago
  40. Nasrul Hoda 3 years ago
  41. ihsin 3 years ago
  42. Jake 3 years ago
  43. beezlebozo 3 years ago
  44. creamy 3 years ago
  45. John 3 years ago
  46. Greg 3 years ago
  47. Q Malinta 3 years ago
  48. sahil 3 years ago
  49. DC 3 years ago
  50. vivek 4 years ago
  51. debashis 4 years ago
  52. viknesh 4 years ago
  53. Ebenezer Lamptey 4 years ago
  54. Biondy 5 years ago
  55. Raimundo 5 years ago
  56. Newbie Talks 5 years ago
  57. Bero 5 years ago
  58. BlueStrut 5 years ago
  59. joe2005 5 years ago
  60. Lello Siddi 5 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please ask in our forum or contact us directly.