Announcement

Collapse
No announcement yet.

Script.to.add.computer.account.to.an.OU

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Script.to.add.computer.account.to.an.OU

    Situations: Windows 2003 AD, 1,500 XP clients.

    Domain : college , ou: PCLabs

    Lame question: (sorry I don't have time to learn scripting 101 now)

    1. I'd like to write a script to add computer accounts to PCLabs OU. It's faster than adding manually.

    2. Say I create computer account : computer01. When I join that computer to the college domain, I enter the computer name wrong. Then I rename the computer to the correct one which is computer01, it gives me the error msg says that the computer account already exists. In order to make it work I have to run to the server and delete that computer01 account.

    Please advise,

    Thanks
    Teamwork

  • #2
    1) check out this thread:
    http://forums.petri.com/viewtopic.php?t=1844

    2) write a script that deletes the account from AD
    Guy Teverovsky
    "Smith & Wesson - the original point and click interface"

    Comment

    Working...
    X