Author Posts

March 22, 2016 at 6:18 am

Hi Team,

I have tried to create script for as subject, but i didn't success on that.

could you please help me on this. How to automate below process with Powershell.

OS: Windows server 2012 R2

1. Open 'Compmgmt.msc' in RUN
2. Go to 'Shared Folder-> Shares ->err' properties
3. Go to tab 'Share Permissions' and click on 'ADD' button.
FYI: Computer is in domain for example xyz.com
4. Now I am trying to full rights to 'ramesherr' user as below
Check name – > click 'OK' -> give full rights -> click on 'Apply' and click 'OK'
5. Next go to tab 'Security' and click on 'Edit' button.
6. Click on add button, trying to full rights to 'ramesherr' user as below.
Check name – > click 'OK' -> give full rights -> click on 'Apply' and click 'OK'
7. Cick ok and ok .

For Screenshots please refer below link in word format.
https://onedrive.live.com/redir?resid=FD6FD465686BFA32!3890&authkey=!AKq282uclLbO6gY&ithint=file%2cdocx

Thanks in advance
Reedy

March 22, 2016 at 6:22 am

I'd like to introduce you to the concept of a Group. 😉 The usual practice is to grant permission to resources using groups, and just add users to the appropriate groups. If you go around granting access to individual users, it makes it a giant headache to figure out who has access to what (auditing), or to add a new user who has the same permissions as an existing account.

March 22, 2016 at 7:06 am

Agree strongly with Dave. You're creating an administrative nightmare when you try to maintain per-user permissions.