Hi,
I'm trying to make a batch file that will auto join a domain after imaging a machine.
I have that working for 1 domain but I need it to work for 7 and I would like to use the same image as it would help simplify things.
I am currently using netsh to assign the IP Addresses and Netdom to join the domain,
each of the domains is on a different subnet and don't share similar IP's,
so I guess my question is : Is it possible to prompt for the domain before a user logs in so that it will use the system account to assign an IP from the chosen domain?
I tried just using a set /p but no DOS prompt pops up, but when I log in I can see that the process is running.
I have been able to get a vbscript message box to pop up but I don't know enough about vbscript to make a box that will accept input.
I'm trying to make a batch file that will auto join a domain after imaging a machine.
I have that working for 1 domain but I need it to work for 7 and I would like to use the same image as it would help simplify things.
I am currently using netsh to assign the IP Addresses and Netdom to join the domain,
each of the domains is on a different subnet and don't share similar IP's,
so I guess my question is : Is it possible to prompt for the domain before a user logs in so that it will use the system account to assign an IP from the chosen domain?
I tried just using a set /p but no DOS prompt pops up, but when I log in I can see that the process is running.
I have been able to get a vbscript message box to pop up but I don't know enough about vbscript to make a box that will accept input.