Quantcast
Channel: Spiceworks Community
Viewing all articles
Browse latest Browse all 6732

How to remove the users from perticular group from win servers Active Directory?

$
0
0

Hi,

My requirement is here:

Every 3 months I need to remove the users from the particular groups from AD: Currently I'm doing this manually and it takes almost about 1-2 week, so I want to do it this by automation using VB scripts .Kindly help me on this.

Manual Patch:

I need to login AD using dsa.msc

Search user inAD and right click, go to user properties

From properties I need to remove the particular group.

Ex:- Lets say

I have a user 783562 , I need to search this user in AD then I no need to remove the membership from particular group

Second scenario:-

If user exists then I need to remove the user membership from the particular group. I want to do it in automation

Manual Path:-

1.Type dsa.msc inrun command ofIT session(we using it to connect remote desktop).

2. Select the domain & right click(EX:-corp.ds.xxyyzz.com) and select"Find" to findthe...


Viewing all articles
Browse latest Browse all 6732

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>