Error when trying to connect to another windows machine: is not accessible. You may not have permission to use this network resource

Abstract: Resolve Windows network access errors by configuring network profiles, enabling file sharing, and verifying user permissions.

Created: 2026-08-15 by
The error " is not accessible. You may not have permission to use this network resource" typically occurs when the target Windows machine blocks incoming SMB connections due to security policies, disabled file sharing services, or mismatched authentication credentials. Resolving this issue requires verifying network discovery settings, ensuring the Guest or specific user accounts have appropriate share permissions, and confirming that the Network Discovery and File Sharing features are enabled in the Advanced Sharing Settings control panel.

Verify Network Profile and Discovery Settings

Windows categorizes networks into Public, Private, and Domain profiles, each with different security defaults. If your current network is set to "Public," Windows will hide the computer from other devices on the local area network (LAN) to protect it from unauthorized access. This is the most common cause for the "not accessible" error when both machines are on the same Wi-Fi or Ethernet segment. To change the network profile to Private, navigate to Settings > Network & Internet. Select Wi-Fi or Ethernet depending on your connection type. Click on the properties of the connected network and change the Network profile type from Public to Private. Once changed, ensure that "Network discovery" is turned on. This allows your PC to see other devices and allows others to see yours. Without this setting, the target machine effectively disappears from the network neighborhood, leading to immediate connection failures.

Check Advanced Sharing Configuration

Even with the correct network profile, the underlying sharing protocols must be explicitly enabled. Open the Control Panel and go to Network and Internet > Network and Sharing Center. From there, click on Change advanced sharing settings in the left pane. Under the Private network profile section, verify that Turn on network discovery and Turn on file and printer sharing are selected. Additionally, ensure that Turn on automatic setup of network connected devices is checked if you are adding new hardware to the mix. It is also critical to check the All Networks section at the bottom of this window. Here, you should look for Turn off password protected sharing. If this option is enabled, any user attempting to connect must provide valid credentials. If you intend to allow anonymous or guest access for internal troubleshooting, you can disable password protection. However, note that this reduces security significantly. For most corporate or secure home environments, keeping password protection on is recommended, but you must then ensure the connecting user has a matching account on the target machine.

Validate User Permissions and Credentials

If network settings are correct, the issue often lies in authentication. The error message explicitly mentions permission issues. To fix this, you need to ensure that the user account on the target machine has the necessary rights. First, create a standard user account on the target Windows machine if one does not exist, or use an existing administrator account. Ensure this account has a strong password, as empty passwords are often rejected by modern SMB implementations for security reasons. On the target machine, right-click the folder you wish to share and select Properties. Go to the Sharing tab and click Advanced Sharing. Check Share this folder and click Permissions. By default, only Everyone might have Read access. Add the specific user account you plan to use for connection and grant it Full Control or Change permissions depending on your needs. Do not forget to apply these changes. Next, switch to the Security tab in the same Properties window. Here, ensure the same user account is listed under Group or user names. If it is missing, click Edit > Add and add the user again. Grant appropriate NTFS permissions here as well. Even if Share permissions allow access, restrictive NTFS permissions on the Security tab will block the connection, resulting in the exact error you are seeing.

Restart Relevant Services

Sometimes, the Windows services responsible for handling network requests become unresponsive or stuck. Restarting these services can clear temporary glitches. Press Win + R, type services.msc, and hit Enter. Locate the following services:
  • Function Discovery Provider Host
  • Function Discovery Resource Publication
  • SSDP Discovery
  • UPnP Device Host
  • TCP/IP NetBIOS Helper
Right-click each service and select Restart. Ensure their Startup Type is set to Automatic. After restarting, try accessing the computer name again via the Run dialog (Win + R) using \\. For deeper connectivity issues, consider reviewing how your network infrastructure handles traffic. If you are using complex routing or bridging setups, ensure those configurations do not interfere with local broadcast discovery. You might find value in understanding broader network bridge configurations, such as those discussed in Setting Up a Permanent Network Bridge Between Two PCs on Windows 11, which can help isolate whether the issue is within the OS or the physical/virtual network layer.

Frequently Asked Questions

Why does the error persist after enabling file sharing?

The error often persists because NTFS permissions on the target folder override Share permissions. You must configure both the Advanced Sharing permissions and the Security tab permissions to include the user account attempting to connect. If either layer denies access, the connection will fail.

Can I connect without a password?

Yes, but you must disable password-protected sharing in the Advanced Sharing Settings. Be aware that this allows anyone on the local network to access shared resources without authentication, which poses a significant security risk in public or semi-public networks.

What if I can ping the computer but cannot access shares?

Ping uses ICMP protocol, while file sharing uses SMB (TCP ports 445 and 139). If you can ping but not share, your firewall is likely allowing ICMP but blocking SMB traffic. Ensure that "File and Printer Sharing" is allowed through Windows Defender Firewall for both Private and Public profiles.

Does changing the IP address resolve this error?

No, changing the IP address does not resolve permission errors. It only helps if there is an IP conflict causing connectivity drops. The "not accessible" error is strictly related to authentication, sharing configuration, or service availability, not the IP assignment itself.

How do I reset network settings to default?

If previous fixes fail, you can reset network components by going to Settings > Network & Internet > Status and clicking Network reset. This reinstalls network adapters and resets all networking components to their default settings, requiring a reboot afterward.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More