Latest version of that script is on github: https://github.com/raandree/NTFSSecurity
-- Espi On Wed, Mar 29, 2017 at 1:14 PM, Charles F Sullivan < [email protected]> wrote: > The problem I find with that scenario is that no matter what you use to > correct it, some files get skipped for whatever reason. You can compare two > files with the same perms and owner, where one will succeed and the other > won’t. > > > > I did try this PS module with some success: > > https://gallery.technet.microsoft.com/scriptcenter/ > 1abd77a5-9c0b-4a2b-acef-90dbb2b84e85 > > > > I think it was successful on maybe 95% or more of the files. I then > remembered that we still had an old version of Security Explorer by > ScriptLogic, which as it turns out has a perpetual license (just no upgrade > or support). Security Explorer probably got 99.x% of them. > > > > > > *From:* [email protected] [mailto:listsadmin@lists. > myitforum.com] *On Behalf Of *Eric Levinson > *Sent:* Wednesday, March 29, 2017 1:26 PM > *To:* [email protected] > *Subject:* [NTSysADM] Reset permissions on hard disk - Windows 10 > Enterprise > > > > I’ve come across this issue many times before and don’t really have an > easy way to resolve. > > > > System has two hard disks – a C drive and a D drive. > > > > D has all the data, C is the OS and page. > > > > C drive goes bad, so it is replaced, OS is reinstalled clean (Windows 10 > Enterprise) > > > > After taking ownership of the D drive and everything below it, there are > still lots of folders that won’t open or allow reads or writes. > > > > Even though effective permissions says I have full access to folders – I > receive permission denied errors and can’t seem to figure out how to get > the access back. > > > > Permissions on D are for previous OS – so there are a lot of GUID users in > there with no user names. > > > > Is there an easy script I can run (cmd or bat) that will delete all the > permissions on the D drive and reset the ownership of every object? The > GUI doesn’t seem to work properly. > > > > Any help would be greatly appreciated! > > > > > > > > >

