problem with accessing a windows share

saulgudmon 1 Reputation point
2022-01-03T19:48:33.337+00:00

My problem has the same error described in this thread but it is behaving defferent:
https://social.technet.microsoft.com/Forums/windows/en-US/ab9340b5-846f-4b75-921d-8442c8540bb6/problem-with-accessing-a-windows-share?forum=w7itprosecurity

I am using a laptop and a PC (both Windows 10). I think the problem is on the PC but I'm not entirely sure

I have shared a folder on the PC and when accessing it from the laptop it gives the following error:

"\\servername\sharename is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

A device attached to the system is not functioning"

It gives that error only once. Every subsequent time I try to access the share it asks for me to enter network credentials.
My credentials don't work... Both devices are of course signed into the same Microsoft account with administrator privileges. The folders being shared are owned by and shared with that Microsoft account in the Advanced Sharing/Advanced Security menus with full access. File Sharing/Network Discovery are turned on for both computers on private networks ect..

The only way to see the error again is to unshare and reshare the shared folder on the PC, again it will show the error only once, and then send me into the credential loop.

The PC is able to access the share on the laptop no problem.

The PC has been accessible from the laptop before, I am not sure what happened

The thread above recommended trying the access the shares using ip (\xxx.xxx.x.xx\share) so i tried that and had the same problem but again it worked fine accessing shares on the laptop from the PC

Things I have tried:
• Reinstalling network adapter drivers on the PC

Windows for business Windows Client for IT Pros Networking Network connectivity and file sharing
0 comments No comments
{count} votes

13 answers

Sort by: Most helpful
  1. saulgudmon 1 Reputation point
    2022-01-03T22:38:32.47+00:00

    **sigh I will probably need to factory restore my PC to refresh my user profile. I will need to learn to make automated windows backups because little things like this seem to happen every several years after I have put a lot of work into the user profile :(


  2. saulgudmon 1 Reputation point
    2022-01-03T23:47:22.243+00:00

    All commands complete successfully on both computers at first.
    But after removing the local account 'temp admin' from the ntfs and share permissions
    dir \\glassbox\music
    returns: 'Access is denied.' when run on \thinktank

    furthermore after deleting the dword AllowInsecureGuestAuth, running
    net view \\glassbox
    on \thinktank does not show the music share


  3. saulgudmon 1 Reputation point
    2022-01-04T00:50:37.437+00:00

    Yes I am logged in with the same MS account as administrator on both PCs I use the same password (I use a pin) for the ms account on both PCs

    secpol.msc does not appear to be enabled on my system (\glassbox)
    162023-image.png

    however when running secpol.msc on the laptop (\thinktank) it opens the policy editor successfully
    "Access this computer from the network is displaying the appropriate data on \thinktank"


  4. saulgudmon 1 Reputation point
    2022-01-04T01:01:12.137+00:00

    search returns nothing on my system
    162024-start-menu-local-security-policy-search.png

    The file does exist in my system (searched with everything)

    161950-secpol-location.png

    However attempting to opens any of these files results in error:

    MMC cannot open the file (path\secpol.msc)
    161977-error-opening-secpol-from-everything.png


  5. saulgudmon 1 Reputation point
    2022-01-04T01:12:22.223+00:00

    Try running C:\Windows\System32\secpol.msc.

    162063-running-secpol-from-sys32-path-error.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.