惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
D
Docker
S
SegmentFault 最新的问题
博客园 - 聂微东
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
L
LangChain Blog
Vercel News
Vercel News
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
T
Threatpost
Scott Helme
Scott Helme
T
Tailwind CSS Blog
Latest news
Latest news
Stack Overflow Blog
Stack Overflow Blog
Blog — PlanetScale
Blog — PlanetScale
The Register - Security
The Register - Security
罗磊的独立博客
P
Proofpoint News Feed
腾讯CDC
S
Schneier on Security
雷峰网
雷峰网
A
About on SuperTechFans
T
Tenable Blog
F
Full Disclosure
Cyberwarzone
Cyberwarzone
博客园_首页
有赞技术团队
有赞技术团队
K
Kaspersky official blog

Comments for Tech Journey

Comment on How to Allow Local Network When Using WireGuard VPN Tunnel in Windows 10 by Moohamat Thoiruddin Chrome / Edge Disables .CRX Installed Extensions (Workarounds to Turn On) Remove Disable Developer Mode Extensions Warning Popup in Chrome / Edge How to Convert SRT to Create 3D Subtitles (ASS or SUB/IDX) Unrecognised Disk Label When Creating Partition How to Decrypt an Enrypted SSL RSA Private Key (PEM / KEY) Install Microsoft .NET Framework 1.1 on Windows 10 / 8 / 7 / Vista (Fix RegSvcs.exe Error) Fix Windows Not Remember & Save Folder Types or Folder Views Setting (Increase BagMRU Size Cache Memory Size) How to Change the Logo of vBulletin Forum to Custom Image
Cannot Connect to CIFS / SMB / Samba Network Shares & Shared Folders in Windows 10
LK · 2015-02-02 · via Comments for Tech Journey
Skip to content
Cannot Connect to CIFS / SMB / Samba Network Shares & Shared Folders in Windows 10
In Windows 10, especially after upgrading to Windows 10 build 9926 released on January 2015 or later, you may encounter the following error when attempting to access remote shared folders or network locations on a file server or NAS through CIFS, SMB or Samba protocol. The remote network locations or shared folders have been working all along, and continue to work and accessible for workstations running Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP and older Windows versions.

\\Remote-Server\Path is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The account is not authorized to log in from this station.

The Account Is Not Authorized to Log In from This Station Windows 10

Note: The error message may change as Microsoft finalized Windows 10, but the symptom is the same.

Cause

The issue happens because Microsoft decided to “help” you to be more secure, by disabled guest access to remote file access without an account (i.e. user name and password). Microsoft explained:

The security change is intended to address a weakness when using guest access. While the server may be fine not distinguishing among clients for files (and, you can imagine in the home scenario that it doesn’t matter to you which of your family members is looking at the shared folder of pictures from your last vacation), this can actually put you at risk elsewhere. Without an account and password, the client doesn’t end up with a secure connection to the server. A malicious server can put itself in the middle (also known as the Man-In-The-Middle attack), and trick the client into sending files or accepting malicious data. This is not necessarily a big concern in your home, but can be an issue when you take your laptop to your local coffee shop and someone there is lurking, ready to compromise your automatic connections to a server that you can’t verify. Or when your child goes back to the dorm at the university. The change we made removes the ability to connect to NAS devices with guest access, but the error message which is shown in build 9926 does not clearly explain what happened. We are working on a better experience for the final product which will help people who are in this situation.

Resolution

Microsoft recommended to add an explicit user account and password on your NAS device or remote server which hosts the shared folders or remote file access, and use that account for the connections. Or you can use HomeGroup if everything is running Windows 7 or newer. As Windows 10 can remember the user name and password credentials, so it’s a one-time inconvenience to help secure your data and connections.

But thanks Microsoft. Remote file access has always included a way of authenticating with user name and password before the access is granted to connect to a file server. The fact that users are still setting up the file sharing with guest access, where everyone can connect without a user accounts shows there is a need for accessing remote files and folders without worrying about user accounts authenticating.

To re-enable the guest access to remote shared folders and network locations in Windows 10:

  1. Run Registry Editor (REGEDIT).
  2. Navigate to the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters

  3. Right click on the Parameters key name, and select New -> DWORD (32-bit) Value.

    New DWORD (32-bit) Value

  4. Name the new value as AllowInsecureGuestAuth and set its value data to 1.

    AllowInsecureGuestAuth

  5. You should be able to access CIFS / SMB / Samba network shares instantly without login.

Update: If you’re using a Microsoft Account (MSA) to sign into Windows 10, you may also need to create a domain user account with proper access permissions configured in Samba or Windows Shared Folders on the remote server for authentication purpose, as Windows 10 may assume those logging in with MSA as domain users and requires higher trust level for security.

The solution is to create a local user that had the same username with Microsoft Account (the [email protected] or [email protected] email address) used to sign onto Windows 10. In Windows, you can use Control Panel or PC Settings app to create a new local user account, while in Linux, uses useradd, passwd, and usermod to create the local user account, set its password and add it to the user groups which has the access rights in Samba.

Once you added the user account in remote server to connect to, time to add the user credentials for the network share to your system. To do so:

  1. Open Power Users Quick Access menu and select Control Panel.
  2. Go to User Accounts.
  3. Click or tap on Manage Windows Credentials. Or, go to Credentials Manager then Windows Credentials tab.
  4. Click or tap on Add a Windows credential.

    Add a Windows Credential

  5. Enter the remote server computer name as the Internet or network address, and then enter the user name and password similar to MSA created on the remote server.

    Add Windows Credential

  6. Hit OK when done.

You can now try to connect to network shared folders.

Go to Top