Can't get access/ownership to folder

Abraham Deutsch
Abraham Deutsch used Ask the Experts™
on
I am troubleshooting  can't turn on window search service. So I am trying to get access to  C:\ProgramData\Microsoft\Search\Date\Applications
C:\ProgramData\Microsoft\Search\Date\temp
Access is being denied (even with admin password)
I changed ownership from system to administrator and added administrator to security with full permission applied. then when re opened the properties the ownership was back to the system and administrator removed from the security list.
Please help
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Systems Analyst & Webmaster
Commented:
Do the take ownership on the Search folder and select "replace owner on subcontainers and objects" to get the folders underneath.

Then reboot your PC to let it rebuild your search indexes.

Did you get some malware that hijacked this? I'd do a full AV and malware scan, too.
Jeffrey Kane - TechSoEasyPrincipal Consultant
Most Valuable Expert 2016
Top Expert 2014
Commented:
The folder which needs to have proper permissions on it is ‪C:\ProgramData\Microsoft\Search\Data

The two subfolders (Applications and Temp) should just inherit the permissions from the parent.

The ownership of the Data folder is SYSTEM by default, which is fine, and normally it only has permissions for SYSTEM, but if you attempt to browse you will see this error message:

Permissions
Just clicking "Continue" should add your credentials and the "Administrators" group credentials -- as long as you are logged into the computer with an account that is a member of the administrators group.

If this is not working then you have a problem overall and possible malware which can create problems such as this.
Abraham DeutschIT professional
Top Expert 2016

Author

Commented:
Somehow not sure how once I changed the promising of the search folder to administrator did a restarted the ownership want back to system but I am able to access the two folders that where restricted before.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial