How to ensure drive/folder/file permissions are correct?


Recommended Posts

I have:

 

  • Drive 1 - SSD (boot)
  • Drive 2 - HDD (storage)
  • Drive 3 - HDD (storage)
  • Drive 4 - External HDD (storage)

 

I have reinstalled Windows several times over the time I've had drives 2, 3 and 4. I believe the "life" of the drives has spanned from Windows 8, to 8.1 and now to 10.

 

I have always only been the single user of the PC.

 

Sometimes, when I try to move files between drives, I get a message stating I need to be an administrator to continue. I can simply click Continue (or OK, I don't quite remember) and it transfers just fine.

 

How can I ensure drive/folder/file permissions are correct on all of the drives?

Link to comment
Share on other sites

I had a script I wrote to do this a few years ago but I can't seem to find it to post for you. You can try going to the security permissions for the drive and take ownership and tell it to apply it to all subfolders then make sure there are no SID GUIDs listed that don't correspond to an account anymore. You can just delete those.

 

I think the CLI procedure is "takeown /r /f *" then "cacls * /t /q /c /reset".

Link to comment
Share on other sites

3 hours ago, wendy oltman said:

You can also try setting permissions on the drive and then forcing it onto all child objects. This works well on secondary drives as well. 

I already mentioned that. :p

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.