Jump to content

Remove Machine Accounts from old Domain


Recommended Posts

I have been given the task of cleaning up an old domain as we move to active directory.

I need to be able to remove machine accounts from the old domain as the machines are moved to the new AD.

Any good examples?

I'm sure the solution will be to use objget().

Is there a good reference for WINNT objects?

I have found several examples of adding users but can not decipher all the things that can be done. I would like to be more self sufficient in this area.

Thanks

Link to comment
Share on other sites

Unfortunately I do not have access to log into the domain controller directly.

Get psexec from sysinternals, and then:

psexec \\servername net computer \\computername /DEL

It's still important to be logged into the domain in question on your own computer when you do this, otherwise, it will remove it remove it from your own domain.

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...