Skip to content
86% off$349 $48.86code BF2026

Guides

"Access to your account on the server has been denied" on Mac

Finder says access to your account on the server has been denied? Fix the login for a Windows or Samba share, plus a no-SMB way to move files once.

TroubleshootingUpdated 6 min read

On this page

You tried to open a Windows share from Finder and got this:

text
Access to your account on the server ______ has been denied

The server name appears in the blank. This is a rejected login, not a network failure. Your Mac reached the server, and the server refused the credentials. The fixes below start with the most common cause.

Why Finder says access was denied

CauseTypical symptomFix
Finder sent your Mac account nameLogin box pre-filled with your Mac usernameConnect as Registered User and retype the name
Old password saved in KeychainError appears at once, no chance to typeDelete the Keychain entry
Windows PIN used as the passwordThe "password" keeps failingUse the account password, not the PIN
Account lacks share or folder permissionLogin rejected or access deniedAdd the account under share and Security permissions
Blank Windows passwordName and empty password rejectedGive the account a password
Mac or Samba host not set up for that userSame error from a Mac or Linux boxEnable SMB for the user, or set a Samba password

People who post about this error on public forums list the same checklist: SMB enabled, same subnet, matching username and password, and share permissions. Those threads don't show which item fixed any given case, so work through them in order.

Reconnect with the right account

Symptom: the login box appears, you enter something, and the error returns.

  1. In Finder, choose Go > Connect to Server (⌘K).
  2. Type smb:// plus the PC's IP address, for example smb://192.168.1.20, then click Connect.
  3. Choose Registered User, not Guest.
  4. Replace the pre-filled name with the Windows account name. Type it; don't trust autofill.
  5. Enter that account's Windows password and click Connect.

To find the PC's IP address, open Command Prompt on the Windows PC and run ipconfig. Use the IPv4 address of the active connection. Connecting by IP rules out name-resolution problems and stale entries.

Windows-side details:

  • A Windows Hello PIN is not a password. It only works on that PC. Network logins need the account password.
  • Work or school PCs: the name may need the domain first, written as DOMAIN\username. Ask your IT admin.

Clear the saved password in Keychain

Symptom: you know the password is right, and the error appears without letting you type.

If you ticked Remember this password in my keychain and later changed the password on the PC, Finder keeps sending the old one.

  1. Open Keychain Access (search with Spotlight).
  2. Search for the server's name or IP address.
  3. Delete the matching network password entry.
  4. Connect again and enter the current password.

Nothing to undo: the next successful login can save a fresh entry.

Check the account on the Windows side

Symptom: correct name and password, still denied.

A user generally needs permission at both the share level and the folder's Security tab, and the stricter one wins. Microsoft describes network sharing in its file sharing page. Check both:

  1. On the PC, right-click the shared folder and choose Properties.
  2. Open Sharing > Advanced Sharing and confirm Share this folder is ticked.
  3. Click Permissions and make sure your account, or a group it belongs to, is listed.
  4. Open the Security tab and confirm the same account has access there.

Also check:

  • File and printer sharing is on. Search Windows Settings for "advanced sharing settings" and turn on file and printer sharing for the network profile you use. Labels differ between Windows versions.
  • Password-protected sharing. If it is on, connect with a real account. If it is off, Guest may work. Turning it off lowers security on the PC, so only do it as a test on a network you trust.
  • Blank passwords. By default Windows blocks network logins for accounts with an empty password. Give the account one.

Check the network path

Symptom: the PC never appears, or login fails only on some networks.

  • Both devices must be on the same network. Guest Wi-Fi and client isolation often stop devices reaching each other.
  • A VPN on either device can interfere. Turn it off briefly to test.
  • A firewall on the PC can block sharing connections. Test with the firewall's file sharing rule enabled rather than switching the firewall off.

If the share is on a Mac or a Linux box

Another Mac: on the host Mac, turn on File Sharing, click Options, and turn on SMB sharing. Then tick the On checkbox for each user who needs Windows access and enter that user's password. A user who isn't ticked is refused. See Apple's page Set up SMB file sharing on Mac.

Linux with Samba: a Linux login password is not automatically a Samba password. Set one on the Linux machine:

bash
sudo smbpasswd -a yourusername

This adds the user to Samba's own password database and prompts for a password. To undo it, run sudo smbpasswd -x yourusername.

Connects but won't write (grey "No" symbol): the login worked but the Linux side doesn't allow writing. Check that the folder is owned by or writable for the Samba user (ls -ld /path/to/share shows the owner) and that the share isn't read-only in smb.conf. If the folder sits on a drive mounted through /etc/fstab, a typo in that entry can also leave it unwritable. One public thread reported ownership and an fstab typo as the cause.

Checklist before you try again

  • Connecting with smb:// and the IP address
  • Registered User selected, name typed by hand
  • The Windows account password, not a PIN
  • Old Keychain entry deleted
  • Account listed under both share and Security permissions
  • Both devices on the same non-guest network, VPN off
  • SMB 1.0 still off

If you only need to move files once

Fixing SMB authentication can take longer than the job. For a single transfer you can skip shares. Ferryfox, our file transfer app, sends files directly over the local network with no cloud or account, and needs macOS 14 Sonoma or later. It does not mount a share, so it can't replace SMB if you want to browse a PC's folders in Finder or keep a network drive.

For a PC with nothing installed, choose File > Share via Link… (⌘L) on the Mac, then open the URL or scan the QR code in a browser on the same network. To go the other way, use File > Receive via Link… (⇧⌘L). Links expire after 10 minutes by default and use plain HTTP, so use them on a network you trust. Guest Wi-Fi blocks this the same way it blocks SMB.

If nothing works

Contact whoever runs the server (the PC's owner, your IT admin, or the NAS vendor). If the same account works from another computer but not from your Mac, contact Apple Support. Include:

  • your macOS version
  • the server type (Windows version, Samba, NAS model)
  • the exact error text
  • what you've tried (IP address, Registered User, Keychain cleared)
text
Finder on macOS (version) shows "Access to your account on the server
(server name) has been denied" when I connect with smb://(address).
I use Registered User with the account (username), typed manually.
I cleared the Keychain entry and checked share and Security permissions.
It (does / does not) work from another computer with the same account.
Server type: (Windows version / Samba / NAS model).

Common questions

Why does it work as Guest but not as a registered user?

Guest access skips authentication. A registered user must match a real account with permission on the share, so a wrong name, password or permission fails there.

Should I turn off password-protected sharing?

Only as a short test on a trusted home network. It removes the login requirement for shares on that PC, so turn it back on afterward.

Does a Windows PIN work for the share?

No. The PIN only unlocks that PC. Use the account password.

Does this error mean SMB is turned off?

Not usually. A server with SMB off typically can't be reached at all. This message means the server was reached and refused your credentials.

Every app.
One purchase.