Guest felefort Posted March 18, 2005 Posted March 18, 2005 Wich command (run ??) I use to Open " system properties " <right click MyComputer=>Properties>. Maybe I on the wrong way but thats my idea start this script to join this computer on Domain. <Win XP pro> Any help will be welcome.... Thanks,
Flashz Posted March 19, 2005 Posted March 19, 2005 RunWait(@ComSpec & " /c " & "NetDom REMOVE " & @Computername & " /d:domainname /userd:username /passwordd:pass /userO:admin /passwordo:adminpass", @TEMPDIR, @SW_HIDE) RunWait(@ComSpec & " /c " & "NetDom JOIN " & @Computername & " /d:domainname /userd:username /passwordd:pass /userO:admin /passwordo:adminpass /REB:10", @TEMPDIR, @SW_HIDE) If you're already joined to a domain make sure you remove from that domain first. You can also pipe the output to a textfile and pop up message boxes depending on the result.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now