Sharing a folder or printer between two home PCs should take a couple of clicks, but often the other computer does not appear under Network, the folder will not open or Windows asks for credentials it never accepts. Usually the problem is in one of these: network profile, network discovery, a stopped service, the firewall or credentials, and since Windows 11 24H2 also the SMB security changes. This guide goes through them in order on Windows 10 and Windows 11, from most common to least.
Before you start
- Both computers must be on the same local network (same router; a guest network usually isolates devices).
- You need an administrator account on the sharing PC.
- Note the sharing PC’s IP. In a console, run
ipconfigand read IPv4 Address (something like192.168.1.20). - Windows 10 support ended on October 14, 2025. Sharing still works the same, but if you mix Windows 10 and 11 PCs, each one’s steps are given separately.
Step 1: set the network to private
On a public network Windows hides the PC and blocks sharing. It must be private on all PCs.
- Windows 11: Settings > Network & internet > Wi-Fi (or Ethernet) > click your network > Network profile type > Private network.
- Windows 10: Settings > Network & Internet > Status > Properties > Private.
From PowerShell as administrator you can also view and change it:
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceAlias "Ethernet" -NetworkCategory Private
Replace Ethernet with the name shown in InterfaceAlias (for example Wi-Fi).
Step 2: enable network discovery and sharing
- Windows 11: Settings > Network & internet > Advanced network settings > Advanced sharing settings. Under Private networks, turn on Network discovery and File and printer sharing.
- Windows 10: Settings > Network & Internet > Sharing options. Under Private, turn on network discovery and file and printer sharing.
Under All networks is Password protected sharing. Microsoft explains how to disable it so anyone on the network gets in without a password, but it is safer to leave it on and sign in with a user and password of the sharing PC (see step 5).
Step 3: share the folder or printer
Folder:

- Windows 11: right-click the folder > Show more options > Give access to > Specific people.
- Windows 10: right-click > Give access to > Specific people.
Pick the user (or Everyone), the permission level (Read or Read/Write) and click Share. For finer settings, Properties > Sharing > Advanced Sharing lets you change the share name and permissions.
Printer:
- Windows 11: Settings > Bluetooth & devices > Printers & scanners > choose the printer > Printer properties > Sharing tab.
- Windows 10: Settings > Devices > Printers & scanners > choose the printer > Manage > Printer properties > Sharing.
Tick Share this printer and give it a short name without odd spaces.
Step 4: check the services
If the PC does not appear under Network even though everything above is right, check these services in PowerShell:
Get-Service FDResPub, fdPHost, SSDPSRV, upnphost, LanmanServer, LanmanWorkstation |
Select-Object Name, DisplayName, Status, StartType
LanmanServer(Server) is essential on the sharing PC, andLanmanWorkstation(Workstation) on the accessing one.FDResPub(Function Discovery Resource Publication) makes the PC announce itself. If stopped, it does not appear under Network, though you can still reach it by IP.
To set FDResPub to automatic and start it:
Set-Service -Name FDResPub -StartupType Automatic
Start-Service -Name FDResPub
Step 5: connect by IP with credentials
Do not rely on the PC appearing under Network: discovery often fails and is only a convenience. In File Explorer’s address bar type:

\\192.168.1.20
When asked for credentials, use a user of the sharing PC:
- Local account:
PC-NAME\userand its password. - Microsoft account: the email and account password. The Windows Hello PIN does not work over the network.
To keep it connected, use Map network drive in This PC and tick Connect using different credentials and Reconnect at sign-in.
Step 6: LocalAccountTokenFilterPolicy (last resort)
The original version of this guide suggested adding this registry value. Know what it does: it disables User Account Control (UAC) filtering for remote connections with local administrator accounts. It is only needed to access administrative shares (\\PC\C$, \\PC\ADMIN$) or for remote administration tools with local accounts. Not needed to share ordinary folders, and it weakens the PC against network attacks.
If you really need it, in an administrator console:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
And to undo it when done:
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /f
Check it works
From the accessing PC, check the SMB port (445) responds:
Test-NetConnection 192.168.1.20 -Port 445
If TcpTestSucceeded is True, network and firewall are fine and what remains is permissions or credentials. Then open \\192.168.1.20 in File Explorer: you should see shared folders and printers. On the sharing PC, Get-SmbShare lists active shares.
Common problems
Test-NetConnection fails (False). The firewall blocks sharing or the network is still public. Repeat steps 1 and 2. You can also re-enable the rules from the console; the group name depends on Windows’ language (English “File and Printer Sharing”; other languages translate it):

netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
With third-party antivirus or firewall, check the trusted network there.
After updating to Windows 11 24H2 you cannot reach a NAS or another PC. Per Microsoft, since Windows 11 24H2 SMB signing is required by default, and Windows 11 Pro also blocks guest logons without credentials by default. A NAS set to guest access or without signing stops working. The right fix is to create a password-protected user on the NAS and enable SMB signing there (update firmware if missing). Re-enabling insecure guests is possible, but Microsoft advises against it as it exposes the PC to fake servers and man-in-the-middle attacks.
A NAS or old device only works with SMB1. Windows no longer installs SMB1 by default as it is insecure. Update or replace the device rather than re-enabling SMB1.
Credentials are never accepted. Check the PC-NAME\user format, use the password not the PIN, and delete old credentials in Control Panel > Credential Manager > Windows Credentials.
The shared printer will not install on the other PC. First install the maker’s driver for your Windows version there, then add the printer with Add device or by typing \\192.168.1.20\PrinterName.
Frequently asked questions
Do I need HomeGroup? No. HomeGroup left Windows 10 years ago; you now share with the steps here.
Is it safe to disable password protected sharing? At home on a trusted network it works, but anyone on your Wi-Fi can get in. Credentials are preferable.
Can I share between Windows and macOS or Linux? Yes, they all speak SMB. From a Mac use Go > Connect to Server and smb://192.168.1.20.



