NetDom at Startup

Posted by m4tty on Server Fault See other posts from Server Fault or by m4tty
Published on 2010-03-30T14:15:54Z Indexed on 2010/03/30 14:23 UTC
Read the original article Hit count: 495

Filed under:

Hi,

We have a Bat file running on a pc login to migrate a pc from Domain A to Domain B this works brill but.

@ECHO OFF
cmd /c netdom move /domain:B %computername% /OU:"OU=Computers" /ud:B Admin /pd:***** /uo:%computername%\administrator /po:***** /uf:A admin /pf:******

We need this to be able to run at PC startup rather than user login. It looks like it runs but doesnt actually do anything. Any help would be brilliant.

Thanks

© Server Fault or respective owner

Related posts about netdom