Sign in with
Sign up | Sign in
Your question

Creating a command prompt or ms-dos batch file for joining domain.

Last response: in Windows 7
Share
December 13, 2012 11:14:19 AM

Hi,
This is Rameshwar, I want to know how to create the batch file and execute it automatically in DOS, and what are the advantages of batch file.
December 13, 2012 11:25:01 AM

Most people would charge you for that information.
- I'll come back in a week if no-one can answer it.
m
0
l
a b $ Windows 7
December 13, 2012 11:31:40 AM

Command line administration

open note pad
NETDOM /Domain:MYDOMAIN /user:adminuser /password:apassword MEMBER
MYCOMPUTER /JOINDOMAIN
save with a .bat file extention
(replace MYDOMAIN with the name of the domain and MYCOMPUTER with the name of the workstation. replace adminuser with a user with you domain admin credentials and replace apassword with the users password)
m
0
l
!