Computing.Net > Forums > Windows 2000 > Net Use Command?

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.

Net Use Command?

Reply to Message Icon

Name: Tom
Date: July 22, 2002 at 08:41:13 Pacific
Comment:

I have created a login script, login.bat. There are only two command being run. First is a Route Add command, which works. The second is a Net Use command that I am using to map a drive. The Net Use command works when I use any drive letter other than Z:. Why is this? I get a message that says something to the effect of "Z: is already in use... \\servername\netlogon do you want to continue?" Even if I say yes and continue it still does not work. Any thoughts? I would prefer to use Z:, but if I have to I can switch it to something else.

Thanks,
Tom




Sponsored Link
Ads by Google

Response Number 1
Name: jafiu
Date: July 22, 2002 at 09:02:53 Pacific
Reply:

" "Z: is already in use " means something hass assigned Z: to a resource.

like a local mapping from the Connect to Network Drive option (with the reconnect at login feature enabled)

if the script says it's assigned, then some where, some how, the Z: drive is already eing occupied.


0

Response Number 2
Name: dave c
Date: July 22, 2002 at 11:38:27 Pacific
Reply:

What you can do is log in, go to MY COMPUTER, and see if anything is already mapped to the Z drive.

If there isn't, or it's pointed to the place you want it to go to, then you can add this to your login script:

NET USE Z: /DELETE
NET USE Z: \\servername\sharename

The first one deletes any previous mapping, the second line creates it fresh.

HTH
-Dave C


0

Response Number 3
Name: ronin
Date: July 22, 2002 at 12:08:10 Pacific
Reply:

It's not documented but when you log on to a NT server, the Z: drive is automatically mapped to the netlogon share of the server(c:\winnt\repl\import\scripts) This is where the logon scripts are usually kept.

Only after the logon process can this drive letter be used.

- Mike


0

Response Number 4
Name: jafiu
Date: July 23, 2002 at 01:12:57 Pacific
Reply:

c:\winnt\repl\import\scripts that's for NT 4.0

Windows 2000 doesn't use that path. I've used Net Use z: \\server\sahre in login script with no Problems (for NT 2000 and XP). So I'm sure that's valid for 2000 Server with 2000 pro and XP clients


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Net Use Command?

Net Use command with username www.computing.net/answers/windows-2000/net-use-command-with-username/51892.html

net use command help! www.computing.net/answers/windows-2000/net-use-command-help/60884.html

NET USE COMMAND www.computing.net/answers/windows-2000/net-use-command/35468.html