Hi Superbee — welcome. I didn’t receive any attachments with your post (if you tried to upload something, please try again).
Short answer: Windows 11 is asking for credentials because it’s blocking “guest/insecure” SMB access by default and/or is expecting a valid Samba user/password from your Q‑Box. I’ll give quick checks and fixes (safe → simple → more advanced), plus undo notes.
Before you start
- Make sure your PC’s network profile is set to Private (Settings > Network & internet > Properties > Private).
- Make sure the Q‑Box is on the same IP subnet and you can ping it from the PC: open Command Prompt and run:
netsh interface ipv4 show addresses
ping <Q-Box-IP>
If ping fails, stop here and tell me the IP and ping output.
Step 1 — quick attempt to connect and add credentials
- In File Explorer address bar type:
\<Q-Box-IP>\
(example: \192.168.1.55)
- If a Windows Security box appears, note whether it offers username/password fields or a message about “network credentials”.
- If it asks for credentials, click “More choices” → “Use a different account” and try:
- If your Q‑Box uses a username: enter username and password used on the Q‑Box Samba share.
- If the share is supposed to be anonymous/guest: try “Guest” or just leave the username blank (some configs need username guest and blank password).
- If that fails, add a saved credential:
- Open Control Panel > Credential Manager > Windows Credentials > Add a Windows credential
- Internet or network address: <Q-Box-IP>
- Username: <samba-username> (or guest)
- Password: <password>
- Then retry \<Q-Box-IP>\ in File Explorer.
Step 2 — map the share (shows if Windows accepts credentials)
Open an elevated Command Prompt and run:
- To map a share with username/password:
net use Z: \<Q-Box-IP>\<share> /user:<username> <password> /persistent:yes
- If mapping succeeds you’ll see Z: in File Explorer.
Step 3 — Windows 11 blocks “insecure guest” by default (if your box is guest-only)
If your Q‑Box’s Samba share allows only guest access (no username/password), Windows 11 usually blocks this. Two options:
A — Enable insecure guest auth (Windows side) — less secure, quick test
- Recommended only for home/lab networks, not on public networks.
PowerShell (run as Administrator):
- Enable guest auth:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name "AllowInsecureGuestAuth" -Value 1 -Type DWord -Force
- Restart the PC (or stop/start the Workstation service).
To undo:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name "AllowInsecureGuestAuth" -Value 0 -Type DWord -Force
B — Better option: configure Samba on the Q‑Box to require a username/password
- On the Q‑Box edit /etc/samba/smb.conf for the share and ensure the share has a valid user and password, or enable map to guest only if you must. Example share stanza for a password-protected share:
[shared]
path = /path/to/share
valid users = youruser
read only = no
- Add a samba user/password with:
sudo smbpasswd -a youruser
- After that, use that username/password from Windows credentials.
Step 4 — SMB protocol version (only if Q‑Box uses very old SMBv1)
If your Q‑Box or its Samba install requires SMBv1 (rare but possible on old devices), you can temporarily enable SMBv1 on Windows 11 — this is a security risk and should be avoided unless necessary.
PowerShell (Admin) to enable SMB1:
Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -All
To disable again:
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol
Step 5 — If you want me to check the Q‑Box Samba config
Tell me:
- The model/name of the Q‑Box and OS version (or paste the relevant smb.conf share stanza).
- The exact text of the Windows Security box or any error message.
- Whether you used to connect with a username or you connected as anonymous/guest on Windows 10.
Common things that cause the Windows Security prompt and failure
- Samba requires credentials but you’re trying to connect as guest.
- Windows 11 blocks insecure/guest SMB by default.
- Wrong domain/workgroup prefix — try entering credentials as WORKGROUP\username or <Q-Box-Hostname>\username.
- Authentication protocol mismatch (SMB1 vs SMB2/3).
If you want, try these and tell me the exact message shown in the Windows Security box (and whether it has options like “More choices”), plus the Q‑Box IP and share name — I’ll give exact commands and the safest fix for your setup.