Skip to content

Instantly share code, notes, and snippets.

@shoeper
Last active November 26, 2020 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shoeper/a0e3dda81002beb972fb477cf65ef5ec to your computer and use it in GitHub Desktop.
Save shoeper/a0e3dda81002beb972fb477cf65ef5ec to your computer and use it in GitHub Desktop.
Fix Windows Search permissions

Run cmd.exe as Administrator and execute the following command:

When your search doesn't work and Windows troubleshooting says the permissions are wrong, but cannot fix it, run the following command to fix the permissions and your search probably works, again (immediately).

takeown.exe /R /F C:\ProgramData\Microsoft\Search\

if it still doesn't work run

takeown.exe /R /F C:\ProgramData\Microsoft\

It thought, it works. But it only works for a short time, after which the permission issues are back, again.

Also didn't help: https://superuser.com/a/1353155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment