Logon Script Problem - eg, Im a dummy!

C

chaz

Hello,
I have a drive I need to map on the network but I dont want to map them
manually. I set up a logon script and have it PATHED out in the PROPRTIES
section of the user profile.

net use "U:" "\\toolesrv02\filesrv02"

It does not, however, function. I have tried doing this MANUALLY from the
workstation and it functions fine.

I havent ever done a logon script so I dont know what to try or test next.

thanks

chaz
 
P

Pegasus \(MVP\)

chaz said:
Hello,
I have a drive I need to map on the network but I dont want to map them
manually. I set up a logon script and have it PATHED out in the PROPRTIES
section of the user profile.

net use "U:" "\\toolesrv02\filesrv02"

It does not, however, function. I have tried doing this MANUALLY from the
workstation and it functions fine.

I havent ever done a logon script so I dont know what to try or test next.

thanks

chaz

You're doing pretty well. Just place your these lines into a file
called "logon.bat" stored in this folder:
"c:\documents and settings\all users\start menu\programs\startup".
It will now run each time somebody - anybody! - logs on.

@echo off
net use "U:" "\\toolesrv02\filesrv02"
 
P

Preacher Man

If you need to apply this to multiple workstations, you could create a GPO
with a logon script, considering that you have Windows 2000 Server Active
Directory setup.
 
C

chaz

Pegasus (MVP) said:
You're doing pretty well. Just place your these lines into a file
called "logon.bat" stored in this folder:
"c:\documents and settings\all users\start menu\programs\startup".
It will now run each time somebody - anybody! - logs on.

@echo off
net use "U:" "\\toolesrv02\filesrv02"

Thanks for the response. I was hoping NOT to have to install this on each
machine. Can I do it from the logon?
 
C

chaz

Preacher Man said:
If you need to apply this to multiple workstations, you could create a GPO
with a logon script, considering that you have Windows 2000 Server Active
Directory setup.

I set up a GPO using the following vbs script.........

Set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "u:" , "\\toolesrv02\filesrv02"

It still does not work
 
P

Pegasus \(MVP\)

chaz said:
Thanks for the response. I was hoping NOT to have to install this on each
machine. Can I do it from the logon?

In your original post you never said that you operate in a domain
environment . . .

In a domain environment you can do this:
- Specify the name of the logon script in each user's profile, e.g.
"logon.bat".
Do not enter a path name here.
- Place "logon.bat" into the "netlogon" share. This share is created during
the installation of Windows server. If it does not exist, create it
manually.
It does not matter where you place it, as long as its name is "netlogon".
 

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

Top