Fix Windows Directory Permissions – reset to default levels.


First of all you need to take ownership of everythings. (paste into cmd window it must be elevated to administrator lvl)


takeown /r /d y /f * 
take ownership of everything in windows

Now you have rights to reset all files and folders to default permission level.


icacls * /reset /t /c /q
Reset Windows file and folder persmision