Hello,
I want to make a batch file that does the:
Remove from domain
Join to doamin
All one script that performs this
I tried to make a batch file with the NETDOM but the thing did not work
Can anyone help?
Remove & Join to doamin by batch file in windows 7
Moderator: DosItHelp
Re: Remove & Join to doamin by batch file in windows 7
Would probably help if you supplied what you tried with NETDOM.
Re: Remove & Join to doamin by batch file in windows 7
Yes, but what I need to write a command in the batch file?
Re: Remove & Join to doamin by batch file in windows 7
post the thing, the batch file that didn't work
Re: Remove & Join to doamin by batch file in windows 7
NETDOM REMOVE /Domain:XXXXXX /user:XXXXXXX /password:XXXXXXX /SHUTDOWN /R
NETDOM ADD /Domain:XXXXXXX /user:XXXXXXX /password:XXXXXXX /SHUTDOWN /R
NETDOM ADD /Domain:XXXXXXX /user:XXXXXXX /password:XXXXXXX /SHUTDOWN /R
-
- Expert
- Posts: 1167
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States