Solved: Windows Server 2019 connection to NAS

Windows Access Rights Management
Post Reply
guitarfish
New here
Posts: 3
Joined: Tue Apr 09, 2013 1:46 am

Solved: Windows Server 2019 connection to NAS

Post by guitarfish » Fri Mar 01, 2019 12:59 am

For a week I have been trying everything to be able to connect from Windows Server 2019 to my QNAP NAS devices. The vast majority of suggestions I found online were to enable SMB 1.0/CIFS on Windows Server. This did not work. In fact, having this enabled actually prevented the connection from working.

(Sidenote: SMB 1.0 is very insecure and is disabled out of the box in Windows Server 2019, and newer versions of Windows 10. I have configured my NAS to use SMB 2.0-3.0).

On a freshly installed Windows Server 2019 system, you need to enable insecure guest logons. This can be done with this command which will update the registry:
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation\ /v AllowInsecureGuestAuth /d 1 /f

This should be all that is needed to connect to the NAS, but I observed that on at least one server, the connection would fail with "80070035 Network path not found."

This can be solved with these steps:
- Open Windows Credential Manager
- Click on the Windows Credentials section
- Click Add a Windows credential
- Enter the name of your device, for example, MYNAS
- Specify the username as MYNAS\<username>
- You can enter a password, or if you leave it blank, you will get popup box when you connect, and you can enter it there.

I hope this helps some people. I had a Microsoft case open for 3 days, and even they didn't figure it out.

zero269
New here
Posts: 2
Joined: Sun Jan 01, 2017 10:22 am

Re: Solved: Windows Server 2019 connection to NAS

Post by zero269 » Wed Mar 27, 2019 10:41 am

Thanks guitarfish for posting this.

I just setup a Server 2019 Datacenter for a lab wired to my Router/Bridge and was experiencing several issues with it... accessing my QNAP NAS was the third major issue.
1. Public Network Profile to Private and Network Discovery issues... resolved after several hours of experiments. Transferring my Logitech wireless USB receiver between computers for keyboard/mouse use is a pain for sure...
2. Using Remote Desktop from Win10 v1809 to the Server results in severe performance issues... unresolved so far. No issues with remoting into any other system. I'll continue this later...
3. QNAP NAS access issues. Kept getting the IP Address banned over and over with each attempt.

QNAP Solution:

I was able to follow your recommendations and had some success by enabling SMB 3 in QNAP.
Control Panel > Network & File Services > Win/Mac/NFS
Verified "Enable file service for Microsoft networking" was checked followed by Advanced Options > Highest SMB version: SMB3 > Lowest SMB version: SMB 1 > Apply wait and test > OK.

I pre-added my "Admin" credentials to Windows Server 2019 Credential Manager > Windows Credentials

Based on your Post, I searched and found a QNAP article "How to use SMB 3.0 in QTS 4.2" that helped me make the necessary changes you recommended:
https://www.qnap.com/en/how-to/tutorial ... n-qts-4-2/

Note: I didn't see the registry entry you referenced above... I didn't need it for it to work. Just the SMB 3.

clangren
First post
Posts: 1
Joined: Sun Nov 29, 2015 6:02 am

Re: Solved: Windows Server 2019 connection to NAS

Post by clangren » Mon Oct 28, 2019 11:02 am

Thank VERY much guitarfish for posting this. I spent about an hour looking for a solution to this issue for Windows Server 2016 rather than searching WS2019. Your solution worked perfectly for me.

THANKS!

guitarfish
New here
Posts: 3
Joined: Tue Apr 09, 2013 1:46 am

Re: Solved: Windows Server 2019 connection to NAS

Post by guitarfish » Mon Oct 28, 2019 10:52 pm

Glad to help!

Post Reply

Return to “Windows”