Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change domain in command line

Status
Not open for further replies.

techc2

MIS
Aug 16, 2001
13
CA
Hi,

I have a problem with a user who does not have the rights to go in control panel, Dial-up and networking. The thing is that I want to use command line (a batch file) to change the domain. The user is on a trip with partners and want to access their network. I think I can use NET or NETSH, but I'm not sure. Could someone please help me.

Thank you.
 
NET COMPUTER \\computername {/ADD | /DEL}

NET COMPUTER adds or deletes computers from a domain database. This
command is available only on Windows NT Servers.

\\computername Specifies the computer to add or delete from
the domain.
/ADD Adds the specified computer to the domain.
/DEL Removes the specified computer from the domain.
 
If I understand right, it will make the change on the server, but it will not change the laptop's configuration, right?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top