General discussion

Locked

Map Z Drive in Login Script

By robinr ·
Ok--I know that NT uses the Z drive temporarily for the netlogon share when it's connecting to the server so you can't map Z in a login script. Has anyone come up with a clever way to get around this problem? I have 100 computers with tons of thingspointing to Z (prior network admin chose this drive) and couldn't possibly change the drive letter. The only solution I can come up with is to put a batch file on each PC--I just hate to do that--Goes against all my "networking" principles.

Thanks

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Map Z Drive in Login Script

by James A Bailey In reply to Map Z Drive in Login Scri ...

Have you recieved problems from this? Our log in scripts contain command to map z: to something, and we have no problems at all.

Collapse -

Map Z Drive in Login Script

by robinr In reply to Map Z Drive in Login Scri ...

Yes, the logon script doesn't work-won't map the Z drive. If I take out the /yes switch, it pauses and tells me that the Z drive is mapped to \\nt_server\netlogon and asks if I want to continue anyway. Even if I say yes, it still won't map the Z drive. The workstation is running Windows 95.

Collapse -

Map Z Drive in Login Script

by agustin.rodriguez In reply to Map Z Drive in Login Scri ...

I'm not sure if your question has been answered or you have already solve the problem but here is what I would do, and it does include a batch file but you do not have to distribute it to all the clients

Step one create a share or use an existingshare where you can store the the batch file.

Like \\%server%\support$\%batch.bat%
(you should probably make it a hidden share so when people use things like network neighborhood they cannot see it)

the command choice /t:3,n this will make the system pause for 3 seconds and then continue the pause is mostly to allow server processing to complete
the next command should be the net use command to map to the Z:
and last a command that will delete the link from the start up menu so users cannot play with it if the happen to go into the startup menu

to implement it you need to do the following

on the logon script create a command that will copy a link to the batch file to the windows start-up menu since all startup items go afterthe logon script the batch command will work, the advantage of coping the a batch file link insted of the batch file is that you have a batch file you can use in a central location and you can use it like a second part logon script.

I hope this helps with the solution to your problem.

Agustin M. Rodriguez, MCSE

Collapse -

Map Z Drive in Login Script

by robinr In reply to Map Z Drive in Login Scri ...

The question was auto-closed by TechRepublic

Collapse -

Map Z Drive in Login Script

by ccsbz In reply to Map Z Drive in Login Scri ...

If you write a script e.g. NET USE Z: \\whatever\whatever, this is not the problem is it. According to you this is a TEMP drive?
but if you have it as a DRIVE, it cannot be a TEMP Drive right??.

Collapse -

Map Z Drive in Login Script

by robinr In reply to Map Z Drive in Login Scri ...

The question was auto-closed by TechRepublic

Collapse -

Map Z Drive in Login Script

by robinr In reply to Map Z Drive in Login Scri ...

This question was auto closed due to inactivity

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums