Re: NTFS Permissions via VBScripting
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Sun, 28 Dec 2008 17:46:25 +0100
"Cary Shultz" <cshultz@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ucnKIhQaJHA.5108@xxxxxxxxxxxxxxxxxxxxxxx
Good morning!
You will start to see a bit of me in the coming days and weeks as I am
going to be working on a major project of automating a ton of things at
work.
All environments are Windows Server 2003. Nothing with Windows Server
2008 just yet.
Anyway, right now I have an immediate "need" for assistance. A client has
asked for essentially a user audit. He wants to know who has access to
what.
I can quickly get all of the share permissions for all of the shared
folders using the Resource Kit tool SRVCHECK. I am also able to get all
of the NTFS permissions via xcacls or showacls. However, the NTFS
Permissions part of this is problematic, simply from quantity of folders
inside the share folders.....
What I am looking to do is to create a VB script that will take care of
both. And, since this will be for a client, the output has to be "user
friendly".
I am not asking anyone to sit down and write this for me. I do not want
that at all.
I am having an issue on where to start! Again, there are already existing
tools that do both (Share permissions and NTFS permisisons...). It is
really the output of these existing tools. Thus, my thought process is to
create a generic VBScripting script that I can use in all environments
that we manage and customize the output of these scripts so that we can
effectively run the script, print the output and then turn it over to the
client.
Oh, my scripting expertise! I go to Richard Muellers' web site and
'steal' his (naturally keeping his header in each script...I do give
credit where credit is due). I am able to modify things to fit the
environment in which the script is being run...so, I am not a complete
'blank slate'!
I used to be fairly decent in vbscripting, but it has been awhile.....
Thanks,
Cary
xcacls.vbs might be a good starting point:
http://download.microsoft.com/download/f/7/8/f786aaf3-a37b-45ab-b0a2-8c8c18bbf483/xcacls_installer.exe
.
- Follow-Ups:
- Re: NTFS Permissions via VBScripting
- From: Cary Shultz
- Re: NTFS Permissions via VBScripting
- References:
- NTFS Permissions via VBScripting
- From: Cary Shultz
- NTFS Permissions via VBScripting
- Prev by Date: Re: how do i validate a .asp file?
- Next by Date: Re: NTFS Permissions via VBScripting
- Previous by thread: NTFS Permissions via VBScripting
- Next by thread: Re: NTFS Permissions via VBScripting
- Index(es):
Relevant Pages
|