Fix win 10 folder ACL

https://www.reddit.com/r/Windows10/comments/3g42rn/updated_to_windows_10_now_im_getting_access/

cd /users/xxx

icacls Pictures /reset /t /q (this will reset all the permissions on Pictures folder tree to default)

cd /<onedrive folder> (i.e. cd to base OneDrive folder)

icacls Pictures /reset /t /q

https://www.reddit.com/r/Windows10/comments/3g42rn/updated_to_windows_10_now_im_getting_access/cu1720y/

Press Windows key + R and type control userpasswords2 and click OK Select the user name and click Properties Click on Group Membership Make sure Administrator option is selected Also, click the option Other and select Administrator from dropdown Click Apply and then OK Restart the computer and check

If the issue still persists, enable the hidden Admin account and check. Press Windows key + X and click Command Prompt (Admin) Type the following command and press Enter net user Administrator /active:yes To exit Command Prompt, type Exit and press Enter or simple click X on top right of the same window.

 

http://lallouslab.net/2009/06/14/resetting-ntfs-files-security-and-permission-in-windows-7/

To reset files permissions, follow these easy 3 steps:

Step 1: Run “cmd” as Administrator.

Note: In MS Windows 8 and above, press the Win+X keys, then choose “Command Prompt (Admin)”.

Step 2: Go to the drive or folder in question, for example:

CD /D D:

Step 3: To reset all the files permissions, type:

icacls * /T /Q /C /RESET

 

Very Important note:

Step 3 is irreversible. Make sure you backup the permissions before you proceed!

It is possible that “icacls” might fail. For that try to take ownership of the files first. Just before Step (3), please type the following command:

takeown /R /F *

https://answers.microsoft.com/en-us/windows/forum/windows_7-security/how-to-reset-all-user-permissions-to-default/9da312d2-c99b-4283-a275-e74d93dcc366?auth=1

You will need to run ‘Subinacl Tool’ to reset the permission to normal. To reset system permissions, follow the steps:

1.       Download subinacl.msi from the following link, and save it on the desktop.
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en#AffinityDownloads (http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en#AffinityDownloads)
2.       On the desktop, double-click subinacl.msi to install the tool.
3.       Select C:\Windows\System32 as the destination folder.
Note This step assumes that Windows is installed in C:\Windows. If Windows is installed elsewhere, select the appropriate path to .\System32.
4.       Open Notepad.
5.       Copy the following commands and then paste them into the opened Notepad window.

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f

6.       In Notepad click FileSave As, and then type: reset.cmd
7.       In Notepad click Save as type, and then select All Files (*.*).
8.       Save the reset.cmdfile to your desktop, and close Notepad.
9.       Double-click the reset.cmdfile to reset the Windows Update permissions.
Note This step may take several minutes, so please be patient. When the permissions have been reset, you will be prompted with “Finished, press any key to continue.”
10.    Press any key to complete the installation.

 

Check if you have the right permissions to all the folders for all users.

 

For more information you may check the article given below. The article given is for Windows XP updates, but still holds good for Windows Vista as well as Windows 7.

http://support.microsoft.com/kb/968003

 

Hope this information is helpful.

Amrita M

Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think.