question

DavidPark-0884 avatar image
0 Votes"
DavidPark-0884 asked LimitlessTechnology-2700 answered

UNC vs Mapped Drive

Hi,

The organization I work for use windows services to run our service modules.

While investigating and auditing our configuration, we've found that

we are getting permission issue from using UNC and Mapped drive.

Bottom line is;

UNC has no issue.

However, issue arises if I set up a mapped drive (shared drive) and use it.

Brief detail of the current set up;

  1. Two servers(Server A, Server B) , 1 DB server + File server

  2. Both server A,B talks to same DB, same File server

  3. File server is set up as a shared drive ( mapped drive )

  4. All Windows services have domain user (log on as)

Issue:

If I use mapped drive for the main folder, which both server A and B use, I get permission error.

the log shows that the sub folders in the main shared folder can't be accessed somehow.

If I stop using Mapped drive and use UNC, then everything works fine.

I researched about unc vs mapped drive but I couldn't find anything solid.

I'd be much appreciated If you provide some comments regarding above matter.

Thanks

windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello

Thank you for your question and reaching out. I can understand you are having issue while access folder via UNC.

Please double-check the share's permissions.

Please note, in addition to NTFS security permissions, there exist sharing permissions. Users will not be able to write to the share if the permission is set to read only. Permissions build up over time. Permissions for shares are often set by heading to the share's properties, then to the Sharing Tab -> Advanced Sharing -> Permissions section.


NTFS is handled in the standard security tab. To create files, the group will require Read and Write rights.

If it works via UNC it can't be a permissions issue. Permissions would block UNC the same as a mapped drive letter. It sounds more like a DNS issue causing a failure to resolve the drive letter correctly.

Mapping to the end-point doesn't require this. (The access-rights on the parent folders are not evaluated in this case. Only the folder(s) that the user actually "sees".)



--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.