Re: Searching for files and folders with disabled account permissi

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Gis Bun" <GisBun@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FD920F75-E173-4412-B983-D8F5FAE4D266@xxxxxxxxxxxxxxxx


"Pegasus (MVP)" wrote:


"Gis Bun" <GisBun@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9E7163B7-2995-4707-9C61-0A0A167AAD76@xxxxxxxxxxxxxxxx
"Pegasus (MVP)" wrote:


"Gis Bun" <GisBun@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:861570B8-E021-4FBD-9A88-06923F253219@xxxxxxxxxxxxxxxx
[I suspect this may have been asked before but I'm not sure on how
to
search
for it.]

Let's say we have disabled a user named JSmith as that user has left
the
company. Is there a way to search all files and folders for
permissions
that
are explicitly applied with his account? [The same for services
would
be a
bonus.]

Thanks



You could run this command

cacls /t "d:\User Files" > c:\Perms.txt

then open c:\Perms.txt and search for JSmith.

It's not exactly as you mentioned above but I figured it out after.
Thanks.


You need to supply further details if cacls.exe does not meet your
requirements.

What I mean was that your example was incorrect in where the parameters
go.

Gis


So it was - glad you worked out the correct order!


.



Relevant Pages