Problem solve Get help with specific problems with your technologies, process and projects.

Disjoining and joining different domains

I have a question about changing domains. In an earlier Expert Response you said:

There is a way to do this by using the NETSH tool. You can create two batch files (or as many as you need) to switch between the domains as needed. When logged in on one domain, type NETSH -c interface dump > c:domain.txt to dump out the network settings to a file named domain.txt. To re-import and re-use the settings, type netsh -f c:domain.txt, and the new settings will take effect immediately. Obviously this can be automated with batch files. Note that computers visible through the browser may not appear immediately.

My question is, will this also solve the problem of disjoining and joining different domains -- i.e., member of 'domain' in the Computer Name tab of System Properties?
I did a little more digging and found out that if you're talking about changing domains -- complete with authentication and whatnot -- the best way to do this is with a third-party program such as >Netswitcher. One other possible way to get around some of the problems of domain membership is to join the laptop to the most commonly-used domain, and then use NET USE /NETONLY and the RUNAS commands to do anything that involves credentials in the other domain.

This was last published in October 2003

Dig Deeper on Windows Operating System Management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.