NASutils Knowledge BaseUnofficialPolski

Why does Windows reject the user name or password for a NAS folder?

Windows usually tries to enter as a guest or with an old password, and newer Windows does not allow guest access over SMB2 and SMB3 by default (depending on the edition). Create a NAS account with a password, give it rights to the folder, remove what Windows remembers, and connect with that account.

Topic: Shares and volumes

  1. On the NAS open Control Panel → Privilege → Users and create an account with a password for the person who should open the folder.
  2. Under Shared Folders give that account read-only or read/write access.
  3. On Windows open a command prompt and remove only the connections to this NAS. net use lists them, and the second command removes one:
    net use
    net use \\NAS-address\folder /delete
  4. In Windows Control Panel → Credential Manager → Windows Credentials remove this NAS's entry if there is one.
  5. Connect and name the NAS account. The name before the backslash tells Windows that the account is on the NAS:
    net use \\NAS-address\folder /user:NAS-NAME\account
  6. SMB
    The file sharing protocol of Windows, used by macOS and Linux as well.
    Windows 11 24H2 Pro, Enterprise and Education require SMB signing by default (Home does not). If the NAS does not offer it, open this on the NAS: Control Panel → Network & File Services → Win/Mac/NFS/WebDAV → Microsoft Networking, then Manage SMB Service Settings. The advanced settings have Server signing:. Sign if client agrees is enough.

Check that it worked

Propose a change

Enter \\NAS-address\folder in File Explorer. You see the files and, with write access, can create and delete a test file. net use shows the status OK.

What not to do

Propose a change

  • Do not turn on insecure guest logons in the Windows registry. Microsoft advises against it, because a fake server could pose as your NAS.
  • ransomware
    Malware that blocks access to files and demands a ransom. DeadBolt, Qlocker and eCh0raix attacked QNAP NAS units. A snapshot or an offline backup made before the attack brings the files back, if the attack did not delete it.
    Do not turn on SMB 1 on the NAS or in Windows. That version has no encryption and no modern signing, and QNAP warns about ransomware.
  • Do not use net use * /delete if you have other mapped drives. It removes them all.

All questions