Policy
Customize warning messages
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
This policy setting lets you customize warning messages. The "Display warning message before sharing control" policy setting allows you to specify a custom message to display before a user shares control of his or her computer. The "Display warning message before connecting" policy setting allows you to specify a custom message to display before a user allows a connection to his or her computer. If you enable this policy setting, the warning message you specify overrides the default message that is seen by the novice. If you disable this policy setting, the user sees the default warning message. If you do not configure this policy setting, the user sees the default warning message.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\policies\Microsoft\Windows NT\Terminal Services\UseCustomMessages | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Display warning message before sharing control: ID RA_Options_Share_Control_Message | text | HKLM\Software\policies\Microsoft\Windows NT\Terminal Services\ShareControlMessage Type REG_SZ | None |
Display warning message before connecting: ID RA_Options_Connect_Message | text | HKLM\Software\policies\Microsoft\Windows NT\Terminal Services\ViewMessage Type REG_SZ | None |
Other policies in this category
Explore related policies at the same level.
- ComputerAllow only Windows Vista or later connectionsAt least Windows Vista
- ComputerConfigure Offer Remote AssistanceAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerConfigure Solicited Remote AssistanceAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerTurn on bandwidth optimizationAt least Windows Vista
- ComputerTurn on session loggingAt least Windows Vista