Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Multiple share Permissions 1

Status
Not open for further replies.

secureops

MIS
Aug 19, 2005
37
CA
Hi

I have a server that has a whack of shared folders. I would like to add the administrator account to each of them. The previous admin only allowed user accounts with Full Control. Is there a command line tool that i can use to do this? I have tried subinacl but is does not work on NT 4.0.

Thanks
Paul
 
I've seen some VB scripts that other admins use to manage security.

the place to start looking is Microsoft "scripting Guy"

HTH
 
Actually, a little digging and I found this solution. It worked perfectly.

RMTSHARE \\servername\sharename$ Grant domain\Administrator:Full

Working with a share list I dumped it into Excel, tidied it up then created a CMD file. . Took 5 seconds and 100 shares were fixed.

Paul
 
Thanks for posting back with your solution secureops. It will work for me on a project that I'm doing.

Hope this helps.

Please help us help you. Read Tek-Tips posting polices before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top