Create a dedicated test folder on each PC and access it with a valid account from the destination PC, because Windows 11 Pro blocks unauthenticated SMB guest access by default even when password-protected sharing is turned off.^1^
1. Create an authenticated test share
Avoid troubleshooting with entire hard drives; drive-root permissions and administrative folders add access-control complications.
On the mini PC:
- Create
C:\NetworkTest. - Right-click it → Show more options → Give access to → Specific people.
- Select a local user account that:
- Exists on the mini PC.
- Has a nonblank password.
- Set Permission level to Read/Write, then select Share. This is Microsoft’s documented Windows 11 sharing procedure.^2^
- Note the mini PC’s exact device name under Settings → System → About → Device name.
From the HP laptop, enter this directly in File Explorer’s address bar:
\\MINIPC-NAME\NetworkTest
When prompted, select More choices → Use a different account, then enter:
MINIPC-NAME\username
Use that mini PC account’s password. Repeat in the opposite direction with a test folder and account on the laptop.
Turning off password-protected sharing is not equivalent to granting authenticated access. If Windows reports that security policies block unauthenticated guest access, use valid host-PC credentials rather than enabling insecure guest logons.^3^
2. If the direct path fails, identify where it fails
On the laptop, open PowerShell and substitute the mini PC’s name:
Test-NetConnection -ComputerName "MINIPC-NAME"
Test-NetConnection -ComputerName "MINIPC-NAME" -CommonTCPPort SMB
Get-SmbConnection
Get-SmbClientConfiguration
net use
Run the equivalent tests from the mini PC toward the laptop. Test-NetConnection supports both host connectivity and the predefined SMB TCP test.^4^
Interpret the result:
-
TcpTestSucceeded : True: SMB reaches the other PC. Concentrate on credentials and folder permissions. -
TcpTestSucceeded : False: the target PC’s firewall, security software, or network path is blocking SMB. - Computer name fails but IP works: this indicates a name-resolution problem.
- Both name and IP fail: this is not merely a File Explorer discovery issue.
To test by IP, find the target PC’s IPv4 address with ipconfig, then enter:
\\192.168.x.x\NetworkTest
Use IP access only as a diagnostic. If authentication fails specifically by IP, inspect the SMBClient logs before changing security policy because NTLM restrictions can affect IP-address and workgroup connections.^3^
3. If SMB port testing fails
On the target PC:
- Open Windows Security → Firewall & network protection → Allow an app through firewall.
- Select Change settings.
- Ensure File and Printer Sharing is allowed for Private networks.
- Open the active Private network firewall profile and ensure Block all incoming connections, including those in the list of allowed apps is not selected. Microsoft recommends allowing the required application rather than disabling the firewall.^5^
- Retest
Test-NetConnection ... -CommonTCPPort SMB.
Do not expose SMB to the internet or create router port-forwarding rules. File sharing uses direct-hosted SMB on TCP port 445, which should remain limited to the private LAN.^6^
4. If SMB connects but access is denied
- Open Credential Manager → Windows Credentials on the client.
- Remove saved credentials for the other computer.
- Reconnect to the explicit
\\computer\NetworkTestpath and enter the host computer’s valid account. - On the shared folder, check both:
- Properties → Sharing → Advanced Sharing → Permissions
- Properties → Security
Both permission layers must allow the connecting account; granting Full Control only in the sharing dialog does not override a restrictive Security permission.^3^
For the exact failure, inspect:
Event Viewer → Applications and Services Logs → Microsoft → Windows → SMBClient → Connectivity and Security
Event ID 31017 or a message mentioning unauthenticated guest access confirms that guest authentication—not discovery—is being rejected.^3^
5. Last resort: reset the network stack
Since the discovery services, sharing options, updates, and restarts have already been handled, do not repeat them. If authenticated sharing and firewall testing still fail:
- Settings → Network & internet → Advanced network settings → Network reset
- Select Reset now.
- After restarting, set the connection back to Private.
Network reset removes and reinstalls network adapters. VPN software may need to be reinstalled or reconfigured afterward, so use this only after the tests above.^7^
Do not enable SMB 1.0 for two Windows 11 PCs; modern Windows-to-Windows sharing uses SMB 2/3, and SMB1 is deprecated and removed by default.^1^
References
- SMB security hardening
- [Windows 11](https://support.microsoft.com/windows/experience/connectivity-networking/file-sharing-over-a-network-in-windows)
- Access Denied when you access an SMB file share in Windows
- Test-NetConnection-Syntax
- Firewall and network protection in the Windows Security app | Microsoft Support
- Internet firewalls can prevent browsing and file sharing
- [Windows 10](https://support.microsoft.com/windows/experience/connectivity-networking/fix-wi-fi-connection-issues-in-windows#general-troubleshooting)