Question

Locked

Logon Script for map a network drive is working but says access denied

By joel32785 ·
I am new to thing and I have setup up a logon.bat file that reads:
net use N: /delete
net use N: \\server\folder\folder

net use P: /delete
net use P: \\server\folder\folder

net use z: /delete
net use Z: \\server\folder\folder

But for some reason when any users logs on and clicks on any of the three drives in my computer, it says "N(P or Z) is not accessible. Access Denied" I have no idea why.

This conversation is currently closed to new comments.

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

All Answers

Collapse -

Check permission on the file server

by laquangthong In reply to Logon Script for map a ne ...

Check the permission setting on the file server. It seems like you didn't give each user access to the shared folder.

Collapse -

Reason why you get access denied !!!!See Below

by dritonshala5 In reply to Logon Script for map a ne ...

First:
You have to give ntfs permission on server to users who need to create files and folders and then give them modify permission so they can edit and delete files that they create.
Second:
also remove users who dont need permission as by default there is "users" group assigned read and execute permission so you can remove these users and just add admins and the necessary staff

Hope this helps
Driton

Back to Hardware Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums