Tuesday, September 5, 2017

windows 7 - access denied to folder, even though using admin account


I have installed Avira anti-virus, but now i cannot open it, access its folder or even remove it.
Each time i try to access its folder i get "access denied" even though im logged in as an admin account.
Even tried accessing it through CMD (with run as admin) but still getting access denied.
I don't even have the right to view the security tab of the avira folder, neither i can view the permission or the owner of the folder.


How can i fix this?


Answer



Hmm, how did that happen?


Sounds like you need to take ownership of the files. To forcibly and recursively do this for your Avira directory, open an elevated command prompt and type:


takeown /f "c:\path\to\avira" /r

Then if you're still having issues accessing the files, reset the permissions with:


icacls "c:\path\to\avira" /reset /T

Then I'd blow away anything Avira related and reinstall.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...