Ask the Expert

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?

    Requires Free Membership to View

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 first published in October 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: