"Access is Denied" when trying to view contents of shared folder

Page 1 of 2 12 LastLast

  1. Posts : 24
    Windows 10 Pro
       #1

    "Access is Denied" when trying to view contents of shared folder


    So I bit the bullet and "upgraded" my laptop from Windows 7 to 10. I expected to find a few things that didn't work anymore, but not so soon as this. I keep it in sync with my desktop PC (running XP) by net-sharing its hard drive, with permission for full control granted to its "administrators" group. I mount it on my desktop PC, where I have the same username and password for my primary administrator account. When it ran Windows 7 this all worked well, but now whenever I try to list or open its files I get "Access is denied." Any ideas?

    "Access is Denied" when trying to view contents of shared folder-not-accessible.png

    Interestingly, I still can access the hard drive on my desktop PC while sitting at my laptop. It is only the vice-versa that fails, accessing the hard drive on my laptop PC while sitting at my desktop.

    On my laptop, Windows Firewall is "off" for private networks, and it considers my home network to be "private."
      My Computer


  2. Posts : 198
    Windows10
       #2

    Rich Pasco said:
    So I bit the bullet and "upgraded" my laptop from Windows 7 to 10. I expected to find a few things that didn't work anymore, but not so soon as this. I keep it in sync with my desktop PC (running XP) by net-sharing its hard drive, with permission for full control granted to its "administrators" group. I mount it on my desktop PC, where I have the same username and password for my primary administrator account. When it ran Windows 7 this all worked well, but now whenever I try to list or open its files I get "Access is denied." Any ideas?

    "Access is Denied" when trying to view contents of shared folder-not-accessible.png

    Interestingly, I still can access the hard drive on my desktop PC while sitting at my laptop. It is only the vice-versa that fails, accessing the hard drive on my laptop PC while sitting at my desktop.

    On my laptop, Windows Firewall is "off" for private networks, and it considers my home network to be "private."
    From the XP PC, if you open a CMD or Run box and type in \\win10pcname\users\
    what do yo get ?
    If nothing helpful, create a second user in XP, logon to it
    and have the win 10 laptop prompt you for credentials when you retry.
      My Computer


  3. Posts : 24
    Windows 10 Pro
    Thread Starter
       #3

    davexnet said:
    From the XP PC, if you open a CMD or Run box and type in \\win10pcname\users\
    what do yo get ?
    If nothing helpful, create a second user in XP, logon to it
    and have the win 10 laptop prompt you for credentials when you retry.
    The network name of my Windows 10 PC is "Pasco-1558"
    As to what I get, please see this screen shot:

    UPDATE: In my post of yesterday, I had omitted the trailing slash from Dave's suggested command. It makes all the difference in the world. Without it, I got "The network path was not found." But with it, I get "'\\pasco-1558\users\' is not recognized as an internal or external command, operable program or batch file." See updated screen shot below:
    Attached Thumbnails Attached Thumbnails "Access is Denied" when trying to view contents of shared folder-pasco-1558b.png  
    Last edited by Rich Pasco; 04 Nov 2015 at 18:22.
      My Computer


  4. Posts : 198
    Windows10
       #4

    In Windows 10/control panel/Network and Sharing (advanced settings) is the the current profile "private"?
    Is Discovery on? Do you have any third party A/V or Firewall?
    If you do an IPCONFIG /ALL from the elevated CMD prompt, what is the "node type"

    Beyond, these, I'm out of idea's, but I expect something in the Win10 settings is to blame.
      My Computer


  5. Posts : 24
    Windows 10 Pro
    Thread Starter
       #5

    Thanks, Dave. Here are the answers to your questions:
    davexnet said:
    In Windows 10/control panel/Network and Sharing (advanced settings) is the the current profile "private"?
    Yes.
    davexnet said:
    I Is Discovery on?
    Yes.
    davexnet said:
    Do you have any third party A/V or Firewall?
    I have AVG anti-virus, but its Firewall component is "Not Activated".
    davexnet said:
    I If you do an IPCONFIG /ALL from the elevated CMD prompt, what is the "node type"
    "Hybrid"
      My Computer


  6. Posts : 198
    Windows10
       #6

    Hi Rich, I've also got an XP and a Windows 10 PC. I've tried to see if I can create a scenario similar to yours,
    but so far my attempts to share individual folders in Windows 10 is successful.
    Are you trying to share the whole system drive? I'm wondering if that's an issue. It's not "best practice"
    because you end up sharing c:\windows and all that.

    Can you create a new folder and see if it's available on the XP box? I created a new folder outside of c:\users
    and copied one folder of mp3 files into it. (eg. c:\test_shr) Right click on your newly created folder/properties
    and select the share tab/"Advanced Sharing". Give it a name in the "share name" box. Select permissions.

    On my PC only "everyone" was in the "group or user names" - I left it like this and, put a tick mark in "full control",
    "change" and "read". OK all the way out.

    Right click the Windows start button/control panel/administrative tools/computer management.
    Make sure your new share is showing up in shares/shared folder.
    Try to access it from the XP machine.
      My Computer


  7. Posts : 24
    Windows 10 Pro
    Thread Starter
       #7

    Dave thank you very much for working with me on this. I think your most recent questions are helping me narrow down the problem. My emotional state is shifting from despair to excitement now. See my answers interleaved.

    davexnet said:
    Hi Rich, I've also got an XP and a Windows 10 PC. I've tried to see if I can create a scenario similar to yours, but so far my attempts to share individual folders in Windows 10 is successful.
    Are you trying to share the whole system drive? I'm wondering if that's an issue. It's not "best practice" because you end up sharing c:\windows and all that.
    Yes, I am sharing the root of the C: drive, but only on my private network and there I limit the access to myself only (just the group "Administrators"). I trust myself. There are about a dozen folders in the root on the laptop I want to update and it would be unwieldy to share them one by one.

    davexnet said:
    Can you create a new folder and see if it's available on the XP box? I created a new folder outside of c:\users and copied one folder of mp3 files into it. (eg. c:\test_shr) Right click on your newly created folder/properties and select the share tab/"Advanced Sharing". Give it a name in the "share name" box. Select permissions.
    I did it twice with two different results.

    1. For one folder, (C:\Pasco) I went immediately to Advanced Sharing and shared it with just group Administrators. When I tried to access it remotely, I got "Access Denied" as expected.
    2. For another folder (C:\Sounds) I clicked the default "Share" button and that shared it with "Everyone." And ta-da! I could in fact access that from my XP desktop. Not surprising. Next I went to Advanced Sharing, added "Administrators" and removed "Everyone". After I clicked OK all the way out, my XP desktop was locked out.


    So I conclude that shares with "Everyone" work, and it is limiting the share to "Administrators" which gives "Access Denied." Which means that the Win 10 laptop is not recognizing me (same username and password) as a member of its Administrators group.

    davexnet said:
    On my PC only "everyone" was in the "group or user names" - I left it like this and, put a tick mark in "full control", "change" and "read". OK all the way out.
    Of course, "Everyone" is not acceptable for C:\ as discussed above.

    davexnet said:
    Right click the Windows start button/control panel/administrative tools/computer management.
    Make sure your new share is showing up in shares/shared folder. Try to access it from the XP machine.
    I will try more experiments and get back to you.
    Last edited by Rich Pasco; 04 Nov 2015 at 19:28. Reason: Locked out after closing with OK
      My Computer


  8. Posts : 24
    Windows 10 Pro
    Thread Starter
       #8

    davexnet said:
    On my PC only "everyone" was in the "group or user names" - I left it like this and, put a tick mark in "full control", "change" and "read". OK all the way out.
    Dave, could you please try this experiment? On your Win10 machine, please remove "Everyone" so that only "Administrators" remains, and click OK all the way out. Then on your XP machine, try again to access the share and let me know the results.
      My Computer


  9. Posts : 198
    Windows10
       #9

    Rich Pasco said:
    Dave, could you please try this experiment? On your Win10 machine, please remove "Everyone" so that only "Administrators" remains, and click OK all the way out. Then on your XP machine, try again to access the share and let me know the results.
    Yes I will - I thought of that very scenario also, give me an hour or two and I'll have some feedback for you -
    Dave
      My Computer


  10. Posts : 198
    Windows10
       #10

    Mine also fails with "access is denied" if I change the target permissions to "Administrators" in Windows 10.
    I'll research a little more to see if I can find anything.

    I have managed to capture this event from the event viewer:

    A network share object was checked to see whether client can be granted desired access.
    Subject:
    Security ID: DESKTOP-UOBEXYZ\davex
    Account Name: davex
    Account Domain: DESKTOP-UOBEXYZ
    Logon ID: 0x161D08

    Network Information:
    Object Type: File
    Source Address: 192.168.2.106
    Source Port: 1099

    Share Information:
    Share Name: \\*\dave_test_shr
    Share Path: \??\C:\dave_test_shr
    Relative Target Name: \

    Access Request Information:
    Access Mask: 0x80
    Accesses: ReadAttributes

    Access Check Results:
    ReadAttributes: Not granted

    and this:
    Share Information:
    Share Name: \\*\dave_test_shr
    Share Path: \??\C:\dave_test_shr
    Relative Target Name: \

    Access Request Information:
    Access Mask: 0x81
    Accesses: ReadData (or ListDirectory)
    ReadAttributes

    Access Check Results:
    ReadData (or ListDirectory): Not granted
    ReadAttributes: Not granted
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:47.
Find Us




Windows 10 Forums