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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change computer's primary group?

Status
Not open for further replies.

58sniper

MIS
Apr 25, 2004
9,152
US
I used CSVDE to import a list of computers into AD. That went fine, with one minor exception - it set the Primary Group to "Domain Users" instead of "Domain Computers".

I did a bulk add of the computers to the "Domain Computers" group, but now I need to change them so that it's also their primary group. Then, I can yank them from the "Domain Users" group.

Is there a programatic way of doing this? I haven't been able to quickly find a way to do this.

The computer names are all sequentially numbered, starting with BST001, and all in the same OU. I'd hate to have to manually touch each object in AD. There's hundreds!

Pat Richard, MCSE MCSA:Messaging CNA
Microsoft Exchange MVP
Want to know how email works? Read for yourself -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top