windows - How can I add a computer to a domain programmatically (using .NET)? -


I have to write a program or script that does a few things with a server (or) after a Windows install. Adding a domain to the server.

Is there a way to use this program or script command?

If you want to do it with the domain controller:

Pure Computer \\ computername / add

If you want to do this from workstation:

netdom JOIN / DOMAIN: [DOMAINNAME] / USERD: [USERNAME] / Password: [password]


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -