I've encountered a problem on Windows 7. I have a shared folder created by an installer and I can't access it by the share name


Here are a few more details.

  • The computer is registered in a domain.
  • The user I log in with is a domain user added into the Administrators group
  • The shared folder has full rights set up for the Administrators group of the local machine

I have no problem accessing the real folder on disk, but when I try to access it with the share name I get the following error

You do not have permission to access \\[machine_name]\[shared_folder_name]. Contact your network administrator to request access.

Does anybody know why this is happening?

Thanks in advance.

migrated from stackoverflow.com Feb 23 '10 at 13:21

This question came from our site for professional and enthusiast programmers.


Are there any other NTFS permissions set that may be denying domain users or any other group your user account may be a part of.

Remember that deny's always override allow's.

  • Indeed. I'm wondering if there's an explicit "Deny" assigned to a Guest or Network Users group, here. – George Erhard Aug 26 '15 at 21:35

Checking for Sticky Sessions

Type net use on a command-line.

Sometimes you have previously connected to a share (even using UNC notation, e.g. \\myshare) and even though you think you disconnected you really haven't.

So the next time you go to connect as a different user you're actually connecting as the same user.

From the command prompt you can explicitly disconnect a previous connection by typing net use /delete ...

Checking permissions on share

Even though you have admin rights on the local hard drive of the shared folder, you still need to inform Windows that the share has appropriate permissions.

Right click on your shared folder, choose "Sharing and security..", and then on the "Sharing" tab click on the "Permissions" button. You will usually see "Everyone" listed, and if you don't see either your username or "Administrator" then add them, and choose allow "Full Control" for that user/group.


Here is something that I discovered via event viewer. Apparently the credentials for the share has been changed. To check that goto: Control Panel\All Control Panel Items\Credential Manager. Find the machine name and check the user and password. Did the trick for me. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy