Noob question about NET USE

By joe_gremlin ·
Forgive me for being a noob. I've been doing searches here and else where but I haven't been able to find an answer. I'm trying to get XP home to reconnect a mapped drive on a 2k3 server at startup. It seems NET USE is the way to do this but I can't seem to get the syntax right for saving the password.

For argument sake let's say the mapped drive is R:. The server is called Server. The Server drive is F_Raid. The login username is IP Daily and the password is puddle.

I'm trying something like the following but I know it's not correct:
NET USE R: \\Server\F_Raid /USER:IP Daily password:puddle /persitent:yes

Can anyone show me where I'm getting this wrong?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Missing domain; misspelled

by CharlieSpencer In reply to Noob question about NET U ...

Is the server in a domain? You'll need to put the domain name in as part of the username:


You don't really have a space in your username, do you? If so, that can also be causing a problem.

I assume you know you misspelled "persistent" in your example.

Collapse -

No domain

by joe_gremlin In reply to Missing domain; misspelle ...

I'm not running a domain, just a workgroup.

There is a space in the username. I sort of did that on purpose. I'm using the 2k3 server to learn the ins and outs of it. One of the things I wanted to know is how spaces in usernames would affect things like this. I haven't yet tried a username without a space but that is on my list to try later today.

As for the misspelling, I didn't spellcheck the post but it was right when I was actually using it.

Collapse -

Quotes around the spaced user name?

by DMambo In reply to No domain

Try quotes around a user name with a space.
(Not sure this will work!)

Collapse -

Why dont you just

by Jesus_C In reply to Noob question about NET U ...

add a copy of the drive into the startup folder and it will connect every time.No syntax, no pressure

Collapse -

I'll try that

by joe_gremlin In reply to Why dont you just

I didn't know that would work. I'll give it try. Thanks.

Collapse -

Map Network Drive wizard

by XT John In reply to Noob question about NET U ...

From Windows Explorer, click on Tools and Map Network Drive. Select the mapped drive letter, browse over the network to the shared folder, and make sure the Reconnect at login box is checked. Hopefully XP Home has this feature;-)

Collapse -

Not in Home

by joe_gremlin In reply to Map Network Drive wizard

You can check off reconnect at login but it in Home edition, it won't actually connect. You have to click on it and enter a password. I'm trying to find a way around that.

Related Discussions

Related Forums