在Microsoft 删除(Microsoft removed the HomeGroup feature)Windows 10上的家庭组功能之前,您可以轻松地通过小型网络与家庭组中的其他人共享资源。
今天,您将需要使用不同的方法来共享文件夹或文件(different methods to share folders or files)和打印机,例如使用 OneDrive(using OneDrive)、共享和附近共享(Nearby sharing)。
如果您在尝试访问或查看 PC 上的共享文件夹时遇到问题,请尝试本指南中的一些修复。
如何修复 Windows 10 无法访问共享文件夹(How to Fix Windows 10 Cannot Access Shared Folder)
在尝试以下修复以解决在Windows 10上查看或访问共享文件夹的问题之前,请确保这些设备位于同一网络上。
此外,请检查您是否使用与不同用户共享文件夹时输入的相同帐户登录。
更新 Windows 10(Update Windows 10)
为确保文件夹共享正常工作,请更新Windows 10。
- 选择开始(Start)>设置(Settings)>更新和安全(Update & Security)。
- 接下来,选择Windows 更新(Windows Update)并安装挂起的更新。
- 您还可以选择检查 Windows 更新(Check for Windows Updates)来管理您的选项并查看可用更新。
将您的 WiFi 网络设置为专用(Set Your WiFi Network to Private)
首次连接时, 您可以将WiFi网络设置为私有或公共。(WiFi)
专用网络选项适用于您信任的网络,例如家庭或工作场所网络。当您将WiFi网络设置为私有时,其他设备可以在网络上发现您的 PC,并且您可以使用它来共享文件或打印机。这在公共网络上不可用。
注意(Note):要将您的WiFi网络设置为Private,您的 PC 应运行Windows 10版本 1709 或更高版本。请参阅我们的指南,了解如何判断您安装了哪个版本的 Windows(how to tell which version of Windows you have installed)。
- 选择任务栏右侧 的WiFi 网络图标。(WiFi network)
- 接下来,选择要连接的网络,然后选择“(network)连接(Connect)”选项。
- 输入网络密码(network password)并选择Next。
- 如果系统询问您是否要将您的 PC 设置为可被同一网络上的其他设备发现,请选择“专用(Private)网络(network)”旁边的“是”(Yes)。
- 如果您的WiFi网络设置为Public,您可以将其更改为Private。选择WiFi 网络(WiFi network)图标,然后选择您连接到的网络名称下的 属性。(Properties)
- 在Network Profile(Network Profile)下选择Private。
将网络设置为Private,检查您现在是否能够查看或访问 PC 上的共享文件夹。
启用网络发现并禁用受密码保护的共享(Enable Network Discovery and Disable Password Protected Sharing)
如果您的 PC 上禁用了网络发现(Network Discovery),您可能无法在Windows 10中查看或访问共享文件夹。要解决此问题,请打开网络发现(Network Discovery)并禁用受密码保护的共享。
网络发现(Discovery)是Windows 10中的一项设置,它影响您的 PC 是否可以看到和连接网络上的其他设备,以及其他设备是否可以看到和访问您的 PC。该设置在您打开网络共享时启用,但如果它不起作用,您可以手动启用它。
但是,出于安全原因,不建议在连接到公共网络时 启用网络发现。(Network Discovery)
- 选择开始(Start)>设置(Settings)>网络和 Internet(Network & Internet)。
- 在相关设置(Related Settings)下选择WiFi >更改高级(Change Advanced) 共享选项(Sharing options)。
- 选择Private下的Turn on network discovery以启用网络发现,然后选择Save Changes。
- 接下来,在All Networks > Password Sharing下选择关闭密码保护(Turn off password protected sharing)共享。选择保存更改(Save Changes),然后检查您是否可以查看或访问 PC 上的共享文件夹。
使共享服务自动启动(Make Sharing Services Start Automatically)
您 PC 的网络和共享服务也可能影响您查看或访问共享文件夹的方式。
此类服务包括SSDP Discovery、Function Discovery Provider Host、UPnP Device Host和Function Discovery Resource Publication。确保(Make)这些服务自动启动并且当前正在您的 PC 上运行。
- 选择Windows 徽标键(Windows logo key)+ R打开“运行”(Run)对话框。
- 在“运行”(Run)对话框中键入services.msc ,然后选择“(services.msc)确定(OK)”或按Enter。
- 右键单击每个服务,选择Properties并选择Start:
- SSDP 发现
- UPnP 设备主机
- 功能发现资源发布(Discovery Resource Publication)
- 功能发现提供者主机
- 接下来,在启动类型下选择(Startup type)自动(Automatic),然后选择确定(OK)。
在 Windows Defender 防火墙中允许文件和打印机共享(Allow File and Printer Sharing in Windows Defender Firewall)
如果您仍然无法查看或访问 PC 上的共享文件夹并且您使用 Windows Defender 防火墙(Defender Firewall),请在防火墙应用程序中允许文件(File)和打印机共享(Printer Sharing)。
- 转到Windows Defender并打开防火墙(Firewall) 和网络保护(and network protection)。
- 选择允许应用程序通过防火墙(Allow an app through the firewall)。
- 允许文件和打印机共享(File and Printer sharing)并检查您是否可以查看或访问共享文件夹。
检查您的 Windows 凭据(Check Your Windows Credentials)
仍然无法查看或访问共享文件夹?尝试检查您尝试从中访问文件夹的计算机中的Windows凭据。(Windows)
- 打开控制面板(Control Panel)>用户帐户(User Accounts)。
- 选择凭据管理器(Credential Manager)。
- 接下来,选择Windows Credentials。
- 选择添加 Windows 凭据(Add a Windows credential)。
- 添加托管文件的计算机的IP 地址,并输入计算机的(IP address)管理员(admin) 用户名和密码(username and password)。选择确定(OK)以保存凭据并检查您是否可以查看或访问 PC 上的共享文件夹。
注意:您可以在(Note)文件资源管理器(File Explorer)中输入网络地址以查看或访问共享文件夹。
使用共享文件夹疑难解答(Use the Shared Folders Troubleshooter)
共享文件夹(Shared Folders)疑难解答可以帮助识别和解决任何可能阻止您在 PC 上查看或访问共享文件夹的问题 。
- 选择开始(Start)>设置(Settings)>更新和安全(Update & Security)。
- 接下来,选择疑难解答(Troubleshoot)>其他疑难解答(Additional Troubleshooters)。
- 在查找并修复其他问题(Find and fix other problems)下选择共享文件夹(Shared Folders)。
- 选择运行疑难解答(Run the Troubleshooter),输入您要访问的网络位置,然后按照屏幕上的说明完成该过程。完成后,重新启动您的 PC,然后检查您是否可以查看或访问共享文件夹。
使用命令提示符访问共享文件夹 (Use Command Prompt to Access the Shared Folder )
如果您无法通过文件资源管理器(File Explorer)查看或访问共享文件夹,您可以通过命令提示符(Command Prompt)进行操作。
- 在搜索框中键入CMD ,然后从搜索结果中选择(CMD)命令提示符(Command Prompt)。
- 键入此命令并按 Enter:net use <DeviceName>: \\<ServerName>\<ShareName>
接下来,启用SMB 1.0支持功能。SMB(服务器消息块(Server Message Block))协议用于在网络上的 PC 之间共享文件、打印机服务和通信 。
- 打开控制面板(Control Panel)>程序(Programs)。
- 选择程序和功能(Programs and Features)。
- 接下来,选择打开或关闭 Windows 功能(Turn Windows features on or off)> SMB 1.0/CIFS File Sharing Support。
- 选中SMB 1.0/CIFS Client框并按Enter。
查看和访问 PC 上的共享文件夹(See and Access Shared Folders on Your PC)
在家庭或工作场所的设备之间共享文件和文件夹方面,您可以使用局域网做很多事情。虽然原则上看起来很容易,但试图让一切正常运行可能会很痛苦。
使用本指南中的解决方案,您应该能够从网络上的任何 PC 再次查看和访问您的共享文件夹。
我们有更多关于如何创建和管理共享文件夹的指南,包括如何在 VirtualBox 中的主机和来宾操作系统之间共享文件夹(share folders between host and guest OS in VirtualBox)以及如何从 Mac OS X 连接到 Windows 10 上的共享文件夹(connect to shared folders on Windows 10 from Mac OS X)。
发表评论,让我们知道哪种解决方案适合您(如果有)。如果您有此处未提及的解决方案,请随时添加评论并告诉我们。
Fix Cannot Access or See Shared Folder from a Windows 10 PC
Before Microsoft removed the HomeGroup feature on Windows 10, you could easily share resources across a small network with others in your homegroup.
Today, you’ll need to use different methods to share folders or files and printers, such as using OneDrive, Share and Nearby sharing.
If you’re having trouble trying to access or see shared folders on your PC, try some of the fixes in this guide.
How to Fix Windows 10 Cannot Access Shared Folder
Before trying the fixes below to troubleshoot issues with seeing or accessing shared folders on Windows 10, make sure the devices are on the same network.
Also, check whether you logged in with the same account you entered when you shared the folder with different users.
Update Windows 10
To make sure folder sharing is working properly, update Windows 10.
- Select Start > Settings > Update & Security.
- Next, select Windows Update and install the pending updates.
- You can also select Check for Windows Updates to manage your options and see available updates.
Set Your WiFi Network to Private
You can set a WiFi network to private or public when you first connect to it.
The private network option is suitable for networks you trust like your home or workplace network. When you set your WiFi network to private, other devices can discover your PC on the network and you can use it to share files or printers. This isn’t available on a public network.
Note: To set your WiFi network to Private, your PC should be running Windows 10 version 1709 or later. See our guide on how to tell which version of Windows you have installed.
- Select the WiFi network icon on the right side of the taskbar.
- Next, select the network you want to connect to and then select the Connect option.
- Enter the network password and select Next.
- If you’re asked whether you want to set your PC to be discoverable to other devices on the same network, select Yes next to Private network.
- If your WiFi network is set to Public, you can change it to Private. Select the WiFi network icon and then select Properties under the name of the network you’re connected to.
- Select Private under Network Profile.
With the network set to Private, check whether you’re now able to see or access the shared folders on your PC.
Enable Network Discovery and Disable Password Protected Sharing
If Network Discovery is disabled on your PC, you may not be able to see or access shared folders in Windows 10. To resolve the issue, turn on Network Discovery and disable password-protected sharing.
Network Discovery is a setting in Windows 10 that affects whether your PC can see and connect with other devices on the network and whether other devices can see and access your PC. The setting is enabled when you turn on network sharing, but if it’s not working you can enable it manually.
However, it’s not recommended to enable Network Discovery when connected to a public network, for security reasons.
- Select Start > Settings > Network & Internet.
- Select WiFi > Change Advanced Sharing options under Related Settings.
- Select Turn on network discovery under Private to enable network discovery and then select Save Changes.
- Next, select Turn off password protected sharing under All Networks > Password Sharing. Select Save Changes and then check if you can see or access the shared folders on your PC.
Make Sharing Services Start Automatically
Your PC’s networking and sharing services could also affect how you view or access shared folders.
Such services include SSDP Discovery, Function Discovery Provider Host, UPnP Device Host, and Function Discovery Resource Publication. Make sure these services start automatically and are currently running on your PC.
- Select Windows logo key + R to open the Run dialog box.
- Type services.msc in the Run dialog box and then select OK or press Enter.
- Right-click each of these services, select Properties and select Start:
- SSDP Discovery
- UPnP Device Host
- Function Discovery Resource Publication
- Function Discovery Provider Host
- Next, select Automatic under Startup type and then select OK.
Allow File and Printer Sharing in Windows Defender Firewall
If you still can’t see or access shared folders on your PC and you use Windows Defender Firewall, allow File and Printer Sharing in the firewall app.
- Go to Windows Defender and open the Firewall and network protection.
- Select Allow an app through the firewall.
- Allow File and Printer sharing and check whether you can see or access shared folders.
Check Your Windows Credentials
Still can’t see or access shared folders? Try checking the Windows credentials in the computer you’re trying to access the folders from.
- Open Control Panel > User Accounts.
- Select Credential Manager.
- Next, select Windows Credentials.
- Select Add a Windows credential.
- Add the IP address of the computer that hosts the file and enter the admin username and password of the computer. Select OK to save the credentials and check whether you can see or access the shared folders on your PC.
Note: You can enter the network address in File Explorer to see or access the shared folders.
Use the Shared Folders Troubleshooter
The Shared Folders troubleshooter can help identify and resolve any issues that may be preventing you from being able to see or access shared folders on your PC.
- Select Start > Settings > Update & Security.
- Next, select Troubleshoot > Additional Troubleshooters.
- Select Shared Folders under Find and fix other problems.
- Select Run the Troubleshooter, enter the network location you want to access and follow the on-screen instructions to complete the process. Once it’s done, restart your PC and then check if you can see or access the shared folders.
Use Command Prompt to Access the Shared Folder
If you can’t see or access the shared folder through File Explorer, you can do that via Command Prompt.
- Type CMD in the search box and select Command Prompt from the search results.
- Type this command and press Enter: net use <DeviceName>: \\<ServerName>\<ShareName>
Next, enable the SMB 1.0 support feature. The SMB (Server Message Block) protocol is used to share files, printer services and communication between PCs on a network.
- Open Control Panel > Programs.
- Select Programs and Features.
- Next, select Turn Windows features on or off > SMB 1.0/CIFS File Sharing Support.
- Check the SMB 1.0/CIFS Client box and press Enter.
See and Access Shared Folders on Your PC
There’s so much you can do with a local area network in terms of sharing files and folders across the devices in your home or workplace. While it may look easy in principle, it can be a pain trying to get everything running properly.
With the solutions in this guide, you should be able to see and access your shared folders once again from any PC on your network.
We have more guides on how to create and manage shared folders including how to share folders between host and guest OS in VirtualBox and how to connect to shared folders on Windows 10 from Mac OS X.
Leave a comment and let us know which solution worked for you, if any. If you have a solution not mentioned here, feel free to add a comment and let us know.