Is it possible to use the "net use" to authenticate to a DC?

  • Thread starter Thread starter Leon
  • Start date Start date
L

Leon

Hello all,

I wonder if its possible to login using a batch file onto a server.

At the moment am using the following

login.bat
--------

net use \\Server1 /user:Joe


----------------

The above works fine, but am always prompted for the password.

Can the password be also be implemented into the above example?

Would make life a lil easier.

thx
 
I wonder if its possible to login using a batch file onto a server.

"Login" may be the wrong term ...
net use \\Server1 /user:Joe

net help use
will give you a hint to use
net use \\server1\ipc$ password /user:Joe

Ciao, Walter
 
Thx Walter,

That works =]

Merry X-Mass.

Walter Schulz said:
"Login" may be the wrong term ...


net help use
will give you a hint to use
net use \\server1\ipc$ password /user:Joe

Ciao, Walter
 
Back
Top