Jump to content

join domain


pcjunki
 Share

Recommended Posts

here is my example "simple" script to have a pc join the domain

with the domain of "starwars", then you just type in the pc name you want.

tweak to your liking,

ShellExecute("sysdm.cpl")
sleep(1000)
ControlClick ( "System Properties", "", "[CLASS:Button; INSTANCE:2]" , "left" , 1 )
sleep(1000)
ControlClick ( "Computer Name/Domain Changes", "", "[CLASS:Button; INSTANCE:3]" , "left" , 1 )
sleep(1000)
Send("{TAB}starwars{SHIFTDOWN}{TAB}{TAB}{TAB}{SHIFTUP}")
Link to comment
Share on other sites

That is a worse approach to join a computer to a domain.

Have a look to water's

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

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

×
×
  • Create New...