Re: NTFS Permissions via VBScripting

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"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


.



Relevant Pages

  • Re: cant get access to disk share when connecting from a remote s
    ... The systems are DUTs. ... for each of the drives within the system. ... Everything in the scripts work except the file permissions below the shares ... the shares on the DUTs manually, after they run my rename script, but I would ...
    (microsoft.public.windows.server.scripting)
  • Re: VBA Script to Read WMP 11 Database
    ... The script failed on the desktop when I downloaded WMP11, ... Just reviewing the bidding -- WMP 11 responds properly to commands in a VBS ... That's why the computer wouldn't let me manually change the permissions. ... Digital Media MVP: 2004-2007 ...
    (microsoft.public.windowsmedia)
  • Re: VBA Script to Read WMP 11 Database
    ... The script failed on the desktop when I downloaded WMP11, ... Just reviewing the bidding -- WMP 11 responds properly to commands in a VBS ... That's why the computer wouldn't let me manually change the permissions. ... The CREATOR OWNER is likely on windows to be one of the admin accounts ...
    (microsoft.public.windowsmedia)
  • Re: how to restrict users to search in their own Organizational Unit
    ... will be given the necessary permissions. ... Who would you DENY? ... decided a script can make it possible to accomplish, ... If I need to create a security group per OU and then add all users ...
    (microsoft.public.windows.server.active_directory)
  • RE: IIS Script source access permission and NTFS DACLs
    ... source code of a script. ... Subject: Re: IIS Script source access permission and NTFS DACLs ... Also, what read/write permissions are ...
    (Focus-Microsoft)