Missing permissions from user\xxx\appdata\local\temp folder

This computer has been infected by the ransomware adn Trojan.zaccess malware.

That appears to be cleaned up.

However, the access to the users\username\appdata\local\temp folder returns access denied.  If you give access to that folder, all folders and files within this folder do not have access allowed.

My understanding is that they are supposed to have full access for:

user
administrators
SYSTEM

It appears that I can manually fix this one folder and file at a time, but that is not practical.  How can I fix this problem.

b
cwsoft05Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cwsoft05Author Commented:
Forgot to add, that if I click on the folder, it says "You don't currently have permission to access this folder"  Click Continue to permanently get access to this folder.  If I click continue, I can see the folders and then generally I have the user and administrator with foll access, but not the SYSTEM and folders and files under are still access denied.

Will something like subinacl fix this and what is the proper way to fix this.
0
jcimarronCommented:
cwsoft05--
I wonder if takeown /r from a command prompt might help
http://technet.microsoft.com/en-us/library/cc753024(v=ws.10).aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cwsoft05Author Commented:
Thanks.  That would also work.  I noticed by look at the other folders in the user\username\appdata\local folder that the user was the owner.  For some reason, the administrator was the owner of the files in the temp folder but not the user.  Once I changed the owner to be the user like the other folder in the local folder, then I was able to add the missing permissions and have them propagate to subfolders and files with other any errors.
0
jcimarronCommented:
cwsoft05----Glad to have helped.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.