[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1089
  • Last Modified:

How do I completely reset NTFS folder permissions

Hi,
A friend of mine's VAIO crashed. So I pulled out the HDD and put it in a USB enclosure to let her copy her files. but it never wants to let her have access. I reset the "owner" on the whole drive (recursively) and then reset permissions to allow everyone access. It seemed to work for a while, we could see the files. I copied them all to a "backup" USB drive, but now on the "backup" drive there are thousands of files missing - seems their permissions weren't set properly. I've tried again and again to reset all permissions but some files always seem to revert back to their old owner and permissions. Isn't there a way to strip the NTFS security stuff from the whole drive?
Just make the files available for everyone to use?
I've spent hours on this and I'm just not winning.
Tx.
Steven
0
StevenHook
Asked:
StevenHook
1 Solution
 
Kruno DžoićSystem EngineerCommented:
install http://www.cgsecurity.org/wiki/TestDisk

and with this program copy files and folders
0
 
Brian PringleSystems Analyst II, SCM, ERPCommented:
Whenever I have this problem, I use an Ubuntu Live CD to boot the computer.  It will allow you to do whatever you want to the drive and pays no attention to permissions.  

You can download it from here.  As for a live CD, I use 10.04 because it is faster.

http://www.ubuntu.com/desktop/get-ubuntu/download
0
 
lvanalstyneCommented:
Maybe try using SubInAcl?
Get it here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

Install, and open a command window. Paste the following:

cd /d "%ProgramFiles%\Windows Resource Kits\Tools"
subinacl /subdirectories D:\ SystemDrive%\ /grant=administrators=f /grant=system=f
subinacl /subdirectories D:\ /grant=FRIEND'S USERNAME=f /grant=system=f

Replace D:\ with whatever drive it actually is, and "FRIEND'S USERNAME" with their username on the computer.

If it truly is reverting back, I would make sure to do a full scan to make sure there isn't any malicious activity going on...
0
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

 
StevenHookAuthor Commented:
btpringle, if I copy to a new drive using ubuntu will the "destination" files still have the same permission properties or will they be removed?
I want to give her a copy of the data that's easy to just use. I am checking the other links out :) thanks for the advice!


0
 
Brian PringleSystems Analyst II, SCM, ERPCommented:
Permissions and attributes will be stripped.
0
 
Brian PringleSystems Analyst II, SCM, ERPCommented:
The easiest way to accomplish this is with the Ubuntu Live CD.
0
 
LeeTutorretiredCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now