Policy

Customize message for Access Denied errors

This policy setting specifies the message that users see when they are denied access to a file or folder. You can customize the Access Denied message to include additional text and links. You can also provide users with the ability to send an email to request access to the file or folder to which they were denied access. If you enable this policy setting, users receive a customized Access Denied message from the file servers on which this policy setting is applied. If you disable this policy setting, users see a standard Access Denied message that doesn't provide any of the functionality controlled by this policy setting, regardless of the file server configuration. If you do not configure this policy setting, users see a standard Access Denied message unless the file server is configured to display the customized Access Denied message. By default, users see the standard Access Denied message.

Policy
Pack Microsoft Windows
Category System / Access-Denied Assistance
Policy ID 04a6789b2165
Internal name AccessDeniedConfiguration

Registry

Copy registry mappings

HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\Enabled (enabled) = 1
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\Enabled (disabled) = 0
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\AdditonalEmailTo
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\ErrorMessage
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\EmailMessage
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\AllowEmailRequests
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\PutDataOwnerOnTo
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\PutAdminOnTo
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\IncludeDeviceClaims
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\IncludeUserClaims
HKLM\SOFTWARE\Policies\Microsoft\Windows\ADR\AccessDenied\GenerateLog

Policy notes

This policy setting specifies the message that users see when they are denied access to a file or folder. You can customize the Access Denied message to include additional text and links. You can also provide users with the ability to send an email to request access to the file or folder to which they were denied access. If you enable this policy setting, users receive a customized Access Denied message from the file servers on which this policy setting is applied. If you disable this policy setting, users see a standard Access Denied message that doesn't provide any of the functionality controlled by this policy setting, regardless of the file server configuration. If you do not configure this policy setting, users see a standard Access Denied message unless the file server is configured to display the customized Access Denied message. By default, users see the standard Access Denied message.

Related policies