Hi,

I'm using this script to copy 'Member Of..' permissions from one user to another.

Problem I have is that we have 5 domain controllers, what I find is when I delete ALL the groups from user2 (from their own domain controller) and then run the script, what I get is all the groups from user1 plus groups from user2 in the list again, what I'm thinking is that the groups are being copied from another domain controller. Ho do I sort it, do I have to remove user2's groups from ALL the domain controller prior to running this script?

If your domain controllers are healthy, you only need to take action once. All DCs in active directory are considered masters so replication would handle the changes.

Thanks for the reply, I'll have to check on Monday again.

When you make a change to one user, it takes a certain amount time (intrasife vs intersite) to replicate changes. You also have this script issue which you described debut we don't know what it actually does.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.