Fixing Network Ping But No Access to Shared PC and Folders

Problem Summary

You're able to ping a shared PC successfully, but you can't access its shared folders via the IP address (\\IP_ADDRESS) or computer name (\\COMPUTER_NAME). When attempting to open it through the Run dialog (Win + R), you see the following error:

"Your organization's security policies block access to..."
Cause of the Issue

This issue occurs because Windows has disabled insecure guest logons (SMBv1) by default for security reasons. This security measure blocks unauthenticated access to network shares that do not require a username or password.

Solution: Enable Insecure Guest Logons

Important: This solution should only be applied in trusted private networks (e.g., home or small office). It is not recommended for enterprise or public networks.

Steps to Fix:

  1. Open the Local Group Policy Editor:
    • Press Win + R, type gpedit.msc, and press Enter.
  2. Navigate to:
    Computer Configuration → Administrative Templates → Network → Lanman Workstation
  3. Find the setting: "Enable insecure guest logons"
  4. Double-click the setting and set it to Enabled.
  5. Click Apply and then OK to save the changes.
  6. Optionally, run the following in Command Prompt to apply changes immediately:
    gpupdate /force
  7. Restart your computer to ensure the settings take effect.

Test Access Again:

After following the steps, try accessing the shared folders again by typing \\192.168.1.X (replace X with the shared PC's IP) in the Run dialog (Win + R).

You should now be able to access the shared folders.

Alternative and More Secure Solution

For long-term security, consider:

  • Creating a dedicated user account on the host PC.
  • Enabling password-protected sharing.
  • Setting proper folder and share permissions to ensure secure access.

If you'd like further guidance on these more secure options, feel free to reach out!