Mac OS Can't Access Windows Server share - Only Administrator Account Can Access

MacOS unable to access shares on Windows server. 

Mac OS Can't Access Windows Server share except only by an Administrator account.

Try this fix you will never find anywhere else.  It's original. Please share so fellow Mac users and Admins can find it faster. The method I used to access a Windows server share from a stubborn Mac is further down in this post, but there are some preliminary things you may have checked already. If not, they may be related to the issue as well. 

When attempting to access shares on a Windows server from an Apple MacOS device such as a desktop, users might encounter issues that can stem from various compatibility and configuration settings. When SMB shares will only connect using administrative accounts. 

You may find: 

Windows Security Log Event ID 4625

4625: An account failed to log on

Account For Which Logon Failed:

This identifies the user that attempted to logon and failed.

  • Security ID:  The SID of the account that attempted to logon. This blank or NULL SID if a valid account was not identified - such as where the username specified does not correspond to a valid account logon name.
  • Account Name: The account logon name specified in the logon attempt.
  • Account Domain: The domain or - in the case of local accounts - computer name.


A prevalent cause is related to the Server Message Block (SMB) protocol versions, namely SMB1 and SMB2, which are essential for facilitating file sharing over a local network. MacOS and Windows use SMB for network file sharing, but discrepancies in SMB version support or configurations can lead to access problems. Specifically, if the Windows server is an older server OS version and configured to use SMB1, which is outdated and less secure, newer versions of MacOS may struggle to connect due to their preference for the more secure SMB2 or later protocols. 

To check which versions are enabled on the server open PowerShell prompt on the server and execute the following command. The output will display, among other things, SMB version enabled on the server. 

              Get-SmbServerConfiguration

If you have already addressed and established SMB1 and SMB2 are enabled on the server read on.  

This connectivity issue is further complicated when trying to access shares as a standard user versus an administrator. An administrator account might have additional privileges that can bypass certain network restrictions or have the necessary rights to change SMB protocol settings, whereas a standard user account may lack these permissions.

 Users should also verify that their accounts have the appropriate permissions to access the desired shares on the local network. 

If you have already established that the user account, you are trying to access the share with from the mac HAS access to the share then continue. You can view the permission in various ways on the server. One method is open Computer manger and view the permissions properties of the shares "Shares".

It's crucial for network administrators to ensure that both MacOS and Windows server settings are aligned, favoring SMB2 or higher for security and compatibility reasons. Adjusting these settings requires administrator-level access to both the MacOS system and the Windows server, to tweak the network configurations accordingly. 

Alternate Solution - Fix Windows Share Access from a Mac  

Here is the trick that I used just today to get two mac desktops to access windows server shares. You won't find this solution anywhere else.

After determining the administrator account accessed without an issue, it was evident the protocols, network, DNS, and several other factors for accessing the share were working properly. Plus, the standard user account was able to access other server's shares (different servers on the same network). It was this one particular windows server that the standard user, any standard user account, from the mac had an issue. 

The giveaway for this situation was that in the server's log were entries for failed logins indicating a NULL SID for the user account. The name displayed correctly however (sorry, I had to blur the name to protect the innocent).

                     



Only Administrator Account can access a Windows Share from Mac

Try this to fix Windows share access from a mac using a standard windows account particularly when only administrator can access windows share from mac.  

When only an administrator account can access a Windows share from a Mac, use the user's name that you're trying to fix  access for in the command below. This worked perfectly.  

On the server open a command prompt and run the command RUNAS like this to start notepad.exe on the server in the user's context. The same command can be used if the share is on Windows desktop (not a server). The command wouldn't require the domain portion. Type RUNAS /? to get command options and examples.







Once run, try accessing the server and shares again from the macs, it may solve your issue too.  I'm giving away a great a great trick that's I've used for other problems, testing, and now for solving the problem only administrator can access windows share from mac.


More detailed information on Event 4625:  https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4625



 Please share this post if it worked for you too. 


Add a comment if the solution to solve the problem of only administrator can access windows share from mac was useful or not or if you have a variant of the solution, or this post inspired a whole new method to fix the issue. It could help someone else with the same or similar problem accessing Windows shares from a Mac OS desktop or laptop. 


  











1 comment:

techG6 said...

Never would have thought of that command. it actually worked. thank you for the example too for using RUNAS command. I ran it for a mac user that couldn't connect to a share that everyone else could access, then right after running the command I tried again from the mac and it connected. I was able to view the share and contents. Strange thing is the mac was able to connect to the windows share before then suddenly stopped working. also strange how it was only once mac and user that had a problem connecting to the windows server share not all 5 macs on the network.

Featured Post (Selected for You)

Using Microsoft Remote Desktop on a Windows 11 PC - A Step-by-Step Guide

A Step-by-Step Guide to Using Microsoft Remote Desktop on a Windows 11 PC. How to Setup and Access Microsoft Remote Desktop on a Windows 11 ...