Wednesday, December 2, 2015

Take ownership of a folder without affecting existing NTFS permissions

I'm not positive of the reason, but sometimes, when I take ownership of a folder (perhaps it has to do with applying ownership to all subfolders) all the existing permissions are gone.  Here's a DOS command you can run in an elevated command prompt on the server to adjust ownership without affecting existing NTFS permissions:

TAKEOWN /A /R /F c:\SomeFolder

No comments: