Share via

Folder sharing issue in server

Kaeyana 1 Reputation point
2022-06-24T11:14:56.14+00:00

So, Lately, I'm having an issue with sharing a folder in the server from drive D: and other drives but the sharing is accessible from Drive C.Whenever I try to access the shared folders on Drive D it shows you don't have permission to access sharing. Contact your administrator error.
The folders were previously shared from drive D and other drives and there was no issue whatsoever but after there was a hardware issue in the server given by the second CPU in the server(which was recently added). The issue suddenly arose.
I've checked everything in the firewall which may be blocking the access but nothing is there.

Windows for business | Windows Server | User experience | Other

1 answer

Sort by: Most helpful
  1. MotoX80 37,696 Reputation points
    2022-07-03T14:56:40.333+00:00

    Have you reviewed both the share permissions and the folder permissions?

    This Powershell script will report on user shares.

    Get-SmbShare | Where-Object -Property Name -NotLike '*$' | foreach {        # exclude hidden and administrative shares  
        "----------------------------------------------------------------"  
        "Share permissions for {0}." -f $_.Name  
        $_ | Get-SmbShareAccess | Format-Table -Property AccountName, AccessControlType, AccessRight  
        ""  
        "NTFS folder permissions on {0}." -f $_.Path  
        (Get-Acl -Path $_.Path ).Access | Format-Table -Property IdentityReference, AccessControlType, FileSystemRights -AutoSize  
    }   
      
    

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.