Read time 3 minutes

There are some useful methods in Exchange Server to save the content of a mailbox of a user account. The user can export an overall mailbox to an Offline PST file as a backup. There are several businesses where they have to keep a constant backup of their data due to government set guidelines.

In Exchange Management Shell, there is a cmdlet to Export Mailbox directly to a PST file in an accessible folder. Sometimes, the user gets an error related to the access path mentioned in the cmdlet.

[PS] C :\> New-MailboxExportRequest “user” -FilePath “\\servername\sharename\user.pst”

Note: This export command is available only in Exchange on-premises. And to use it, you need to add the account to Mailbox Import Export role group.

Though it is an easy command to execute, sometimes an error can pop up. The error that gets displayed is –

Unable to open PST file ‘\\servername\sharename\user.pst’. Error details: Access to the path ‘\\servername\sharename\output.pst’ is denied.
+ CategoryInfo : NotSpecified: (0:Int32) [New-MailboxExportRequest], RemotePermanentException
+ FullyQualifiedErrorId : D7BD75A8,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest

Reasons for ‘New-MailboxExportRequest Access to Path is Denied’ error

While executing the cmdlet, the PST file location parameter should be a UNC path. And, the location should be a shared network with Read & Write permissions for Exchange Trusted Subsystem. Also, the user account performing the actions should have Mailbox Import Export permissions assigned to it. . Unfulfillment of these requirements while executing the New-MailboxExportRequest command might lead to the aforesaid “Access to Path Denied” error.

Causes of the error

Incorrect UNC path

Export-Import role not assigned

No permissions (Read & Write) to Exchange Trusted Subsystem


We have 3 solutions to fix this error which can really work for you.

3 solutions to fix New-MailboxExportRequest access denied error

Let us consider manual solutions first for fixing the ‘Access path is denied’ error.

Solution No. 1 – Assigning Read & Write Permissions

One of the reasons for the access path denied error is that the Exchange Trusted Subsystem does not have enough rights over the folder. You should grant the Exchange Server access to the shared drive (read and write permissions to the Exchange trusted subsystem group).

To assign Read/Write permissions to the Exchange trusted subsystem group, right-click on the shared folder and click on the Properties option. Then switch to the Security tab, select the Exchange Trusted Subsystem permission and under Permissions for Exchange Trusted Subsystem section, select the Read & Execute and Write permissions checkboxes and click on OK. The permissions are now assigned.

Solution No. 2 – Adding The User Account To A Role Group With Mailbox Import-Export Permissions

Users can create a new role group with Mailbox Import Export permissions and add the user to it.
To create a new role group, execute the following command in Exchange Management Shell as the administrator:

New-RoleGroup -Name “Exchange Mailbox Import Export” -Roles “Mailbox Import Export”
-Members“Domain\exadmin”-Display Name”Exchange Mailbox Import Export”

Assigning Mailbox Export Import permissions to the account in this way will help you perform the export operation without errors.

Solution No. 3 – Using Third Party EDB File Converter Software [Best of the solutions]

Rather than trying manual ways to export Exchange mailbox data to PST, you can do it simply by using Kernel EDB to PST Converter software. The solution swiftly exports Exchange database mailboxes to Outlook PST files without any disturbing errors. It also repairs any corruption in EDB file and offers to Office 365 migration as well.


If you are constantly getting ‘NewMailboxExportRequest (Access path is denied)’ error while exporting the mailbox in PST file, then you can create a new role group using Exchange cmdlets and recreate a new request. To overcome such errors, you should use Kernel for EDB to PST Converter and export complete EDB file data to a PST file directly. It will ensure that a new PST file created while keeping all a complete mailbox in it.

Kernel for Exchange Server