croag
asked on
Adding a computer to a domain by way of a VBS script?
Does anyone have a script that will add a computer to a 'ourdomain' ...and we can have our domain admin and pw in the VBS script (or any other script)? So..we can essentially just walk to the computer, click the file, and it adds the computer to the domain?
And restarts the computer if possible? Anyone heard of this?
This should work with windows 2000k and/or xp clients. (or 2 different scripts for each client os if possible)
Thanks,
croag
And restarts the computer if possible? Anyone heard of this?
This should work with windows 2000k and/or xp clients. (or 2 different scripts for each client os if possible)
Thanks,
croag
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I saw that - sorry - I will read a little more diligently next time
It's okay, I've done the same thing myself.
I have tried this script, but I keep getting a error.
Error:The RPC server is unavailable
Code: 800706BA
Source: SWbemLocator
Any ideas as to what is wrong?
Error:The RPC server is unavailable
Code: 800706BA
Source: SWbemLocator
Any ideas as to what is wrong?
jottman which one? Maybe start your own question so all experts can be invloved in it. :)
I gave a link to the same book and the same code in my post.