Shared C Drive but access denied


  1. Posts : 13
    Windows 7
       #1

    Shared C Drive but access denied


    Hi Guys,

    I have a dell laptop running Windows 7 Pro (x64). I have few systems in the network with some running Win 7 and others Win XP.

    I wanted to share the C and D drives of my laptop. So I selected D Drive and chose advanced sharing, (Everyone) and shared it. This way my network systems are able to access/modify the D drive.

    The same I did for C drive. But in this case though we can see the C Drive shared in network but when we tried to access it we get message access is denied. The settings in network sharing center is fine (password sharing is off and access to public folder sharing is on).

    What should I do to fix this ? I just want a read only access to C drive. (I also tried sharing a folder in C drive but the same error comes.)

    Thanks,

    Cheers,
    Sam
      My Computer


  2. Posts : 2,298
    Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
       #2

       Warning
    The C drive is a protected drive and sharing this will expose operating system files to external clients on the network. Do this at your own risk


    When you set the sharing permission to allow everyone to view that particular drive or folder then this will apply to the local users on that machine. In order to apply this to a LAN you need to make sure that all the clients are in the same workgroup and that they have the exact same username and password as a user on the machine that is sharing the drive or folder.

    Unless you have changed the workgroup settings these will all be the same. If you have then simply make sure that they are all the same.

    Next you will need to create a user on a machine with the same username and password as a user on the host machine.

    For example if machine A is sharing a folder and is logged on as 'Shadow' with the password of 'Pa55word', then in order to access that folder on machine B I will need to create a user with the username of 'Shadow' and a password of 'Pa55word' for the authentication to work.

    I understand that this is a pain but since this is the C drive windows tries to protect unauthorised access. You should not need to complete this for any other shared folder that is not on the C drive with the Everyone permission applied.

    Hope this Helps,
    Josh!
      My Computer


  3. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #3

    samwilliam said:
    Hi Guys,

    I have a dell laptop running Windows 7 Pro (x64). I have few systems in the network with some running Win 7 and others Win XP.

    I wanted to share the C and D drives of my laptop. So I selected D Drive and chose advanced sharing, (Everyone) and shared it. This way my network systems are able to access/modify the D drive.

    The same I did for C drive. But in this case though we can see the C Drive shared in network but when we tried to access it we get message access is denied. The settings in network sharing center is fine (password sharing is off and access to public folder sharing is on).

    What should I do to fix this ? I just want a read only access to C drive. (I also tried sharing a folder in C drive but the same error comes.)

    Thanks,

    Cheers,
    Sam
    In most cases you would be better served by sharing out the C:>Users folder rather than the entire C: drive. This is for security reasons as was previously mentioned.

    You will most likely need to go into the Security tab using the advanced settings then add "Everyone" to the share with list. The link below shows you how to do this. :)

    HDD sharing
      My Computer


  4. Posts : 13
    Windows 7
    Thread Starter
       #4

    Thank you for your reply. I know sharing C drive is risky. Actually I only want to share 1 folder in C drive.
    The workgroup name is same that's why I can read D drive and see C drive. No systems on network have any password in their user accounts.

    For e.g. C:\MyFolder

    Before I formatted my laptop recently I had shared the C drive and everyone had read only access to it. I did not create any username/password for any machine. Just shared it on the network. The OS was the same.

    According to you even if I just share a folder in C drive and give everyone group access it wont work till I dont create username for win xp/7 user accounts.

    Infact right now I just shared one folder on C drive and give full control to everyone. Still I can't access it.
      My Computer


  5. Posts : 13
    Windows 7
    Thread Starter
       #5

    I got it. I forgot to add everyone in the security tab. It is working now.

    Cheers. :)
      My Computer


  6. Posts : 2,298
    Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
       #6

    I am glad you got your problem sorted! I have to say myself that I did not know about the local security permissions as normally it only affects local users. So to that I thank you for posting back as I've learnt something new myself! :)
      My Computer


  7. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #7

    samwilliam said:
    I got it. I forgot to add everyone in the security tab. It is working now.

    Cheers. :)
    That usually does the trick sam, thanks for reporting in with your success.
      My Computer


 

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

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