Computing.Net > Forums > Windows NT > Need help with net use for logon script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Need help with net use for logon script

Reply to Message Icon

Name: Erwin
Date: May 30, 2002 at 01:00:55 Pacific
Comment:

Hi! I'm trying to make a logon script for a WindowsNT PC. I'm trying to have it connect to an NT server using a specific username. The problem is that the username does not have a password. I used the following line in the script:
net use \\server /user:domain\username
The problem is that it still asks for a password even if it doesn't need one. At the dos prompt, i just hit and that works but its suppossed to be in a logon script so no user-interaction. Can anyone help?



Sponsored Link
Ads by Google

Response Number 1
Name: Christoph
Date: May 30, 2002 at 13:59:04 Pacific
Reply:

try this:

net use \\server /user:domain\username /YES



0

Response Number 2
Name: Erwin
Date: May 30, 2002 at 17:18:23 Pacific
Reply:

Hi Christoph!

Thanks! I tried your suggesstion but still asks for the password...

Could it be because I'm trying to connect using a domain account but the PC isn't joined in the domain?


0

Response Number 3
Name: Al Tietz
Date: May 31, 2002 at 06:32:16 Pacific
Reply:

Why not just give it a one character password?


0

Response Number 4
Name: Federico
Date: July 2, 2002 at 13:34:34 Pacific
Reply:

Try this:

net use z: \\server\path password /user:username


0

Response Number 5
Name: der
Date: July 7, 2002 at 16:12:11 Pacific
Reply:

didn't you hear the guy, he was asking how to do it with a BLANK password !? as far as I can see I dont think you can do it, unless there is an undocumented special character for specifying a blank password.


0

Related Posts

See More



Response Number 6
Name: Richard Buckingham
Date: July 9, 2002 at 16:30:53 Pacific
Reply:

simple:
net use \\server\path /u:username ""


0

Response Number 7
Name: Lionel Nzenze
Date: July 11, 2002 at 06:06:36 Pacific
Reply:

Try this

@Echo | net use \\Blah\Blah\blah

--character after Echo is "Pipe"


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Need help with net use for logon script

need help with my outlook express 5 www.computing.net/answers/windows-nt/need-help-with-my-outlook-express-5/3325.html

net use with user ID www.computing.net/answers/windows-nt/net-use-with-user-id/23111.html

Logon Scripts www.computing.net/answers/windows-nt/logon-scripts/3307.html