NTFS Permissions via VBScripting
- From: "Cary Shultz" <cshultz@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 28 Dec 2008 11:18:17 -0500
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
.
- Follow-Ups:
- Re: NTFS Permissions via VBScripting
- From: Cary Shultz
- Re: NTFS Permissions via VBScripting
- From: Pegasus \(MVP\)
- Re: NTFS Permissions via VBScripting
- Prev by Date: Re: Automate https website file download?
- Next by Date: Re: how do i validate a .asp file?
- Previous by thread: Automate https website file download?
- Next by thread: Re: NTFS Permissions via VBScripting
- Index(es):
Relevant Pages
|