Question Locked

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

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

3 replies

by laquangthong

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

by dritonshala5

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

This discussion is closed to new replies.