DISJOIN AND REJOIN A DOMAIN AT COMMAND PROMPT

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to script the disjoining / rejoining of a domain. Unfortunately, the
only tools I can find consist of netdom and a couple of VB scripts. None of
them seem to work. When using netdom, I get the error that "The procedure
entry point LSALookupNames2 could not be found in dynamic link library
ADVAPI32.DLL". PLEASE ASSIST with this problem. Is there another utility that
would be able to disjoin a workstation from the domain? Also, can the same
utility also join a domain? I will pay for the solution or register any
software that works properly. (Incidentally, the VBS scripts don't work, as
they use JoinWorkgroupOrDomain function of WMI, which is only available on
Windows XP) Thanks so much!

Justin Chandler
 
I want to script the disjoining / rejoining of a domain. Unfortunately, the
only tools I can find consist of netdom and a couple of VB scripts. None of
them seem to work. When using netdom, I get the error that "The procedure
entry point LSALookupNames2 could not be found in dynamic link library
ADVAPI32.DLL". PLEASE ASSIST with this problem. Is there another utility that
would be able to disjoin a workstation from the domain? Also, can the same
utility also join a domain? I will pay for the solution or register any
software that works properly. (Incidentally, the VBS scripts don't work, as
they use JoinWorkgroupOrDomain function of WMI, which is only available on
Windows XP) Thanks so much!

Justin Chandler

What OS are you using?
 
=?Utf-8?B?SnVzdGluIENoYW5kbGVy?= said:
I want to script the disjoining / rejoining of a domain.
Unfortunately, the only tools I can find consist of netdom and a
couple of VB scripts. None of them seem to work. When using netdom, I
get the error that "The procedure entry point LSALookupNames2 could
not be found in dynamic link library ADVAPI32.DLL". PLEASE ASSIST with
this problem. Is there another utility that would be able to disjoin a
workstation from the domain? Also, can the same utility also join a
domain? I will pay for the solution or register any software that
works properly. (Incidentally, the VBS scripts don't work, as they use
JoinWorkgroupOrDomain function of WMI, which is only available on
Windows XP) Thanks so much!

Justin Chandler

What about command line 'net computer'?

Ed
 
NET COMPUTER is a command only available on Windows 2000 server, and only
creates a computer account in the domain, but doesn't actually configure the
computer to be a part of the domain. I need a utility that will run on
Windows 2000 workstation, and actually perform the same function that you do
in system properties (add the computer to the domain, or remove from the
domain and add to a workgroup) It's making me pull my hair out. I'd be
willing to even PAY for the solution :(

Justin
 
Back
Top