net command sytax

S

steve

I have several computers that I am moving from one domain to another.

I could go to the my computer right click, properties click change
type in the new name, click ok give administrator password etc.

But the net command must be able to do this ?

Lets say my new domain is smi.newname.com, can some one show me how to
do this with the net command, I dont know what switches and parameters
to use?

Thanks.
 
P

Pegasus \(MVP\)

steve said:
I have several computers that I am moving from one domain to another.

I could go to the my computer right click, properties click change
type in the new name, click ok give administrator password etc.

But the net command must be able to do this ?

Lets say my new domain is smi.newname.com, can some one show me how to
do this with the net command, I dont know what switches and parameters
to use?

Thanks.

There is lots of inbuilt help in the "net" command. Try some
of the following:

net /?
net help
net use /?
net help use
net user /?
net help user
 
S

steve

Yes I know this and have looked at it but I dont know where to even
begin for example I would guess that something like

net \\computername /add would work but there are not enough switches
to do the job eg where do you put the administrator name and password
that would allow you to do the job.

An example would be helpfull on how to do this, unless perhaps no one
knows and does not use this utility to do this. Maybe you cant ?? I
really dont know.

Thanks
 
P

Pegasus \(MVP\)

See below.

steve said:
Yes I know this and have looked at it but I dont know where to even
begin for example I would guess that something like

net \\computername /add would work but there are not enough switches
to do the job eg where do you put the administrator name and password
that would allow you to do the job.

You need to explain in more detail what you are trying to
achieve. Do you want to join a PC to a domain? If so then
you must do it through the Control Panel. Do you want to
connect to a shared resource? The command
net use \\computername\sharename will do it.
An example would be helpfull on how to do this, unless perhaps no one
knows and does not use this utility to do this. Maybe you cant ??

net.exe is a very basic command and all network administrators
are fully conversant with it.
 
S

steve

While the net comman is a usefull tool I seem to be the only one not
fully conversant with it. I think mostly people use other more gui
tools to configure things. I have about 70 users and seldom if ever
use it. In class for example when I was taking my windows 2003 server
course the instuctor said this is a great tool you should learn it....
next lesson. I think it is a great tool thus my questions.

I want to add new pc to the domain. Generally I use the right click My
computer on the local users computer click properties, choose computer
name click change and make the changes. Im unfamilier how you would do
that from the control panel?

Perhaps you cant do this with command line tools (short of doing on
the server with the ds commands)

regards
 
P

Pegasus \(MVP\)

steve said:
While the net comman is a usefull tool I seem to be the only one not
fully conversant with it. I think mostly people use other more gui
tools to configure things. I have about 70 users and seldom if ever
use it. In class for example when I was taking my windows 2003 server
course the instuctor said this is a great tool you should learn it....
next lesson. I think it is a great tool thus my questions.

I want to add new pc to the domain. Generally I use the right click My
computer on the local users computer click properties, choose computer
name click change and make the changes. Im unfamilier how you would do
that from the control panel?

Perhaps you cant do this with command line tools (short of doing on
the server with the ds commands)

regards

As I said in my previous note: You cannot use net.exe to join
a PC to a domain. You must do it through the Control Panel/
System. Have a word with your network administrator about
this - it's his task to do it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

net use question 2
net send error 2237 2
net user 2
Cannot run net use command 11
net send command 7
Resetting local administrator password 7
COMMAND LINE NET COMMAND? 8
Printing to LPT1 Port 2

Top