Policy
Customize warning messages
Microsoft Windows
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.
| Scope | Registry location | Type | Enabled value | Disabled value | Copy |
|---|---|---|---|---|---|
| Computer | Path Software\policies\Microsoft\Windows NT\Terminal Services Value name UseCustomMessages | REG_DWORD | HKLM 1 | HKLM 0 |
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| Computer | Display warning message before sharing control: ID RA_Options_Share_Control_Message | text | Path Software\policies\Microsoft\Windows NT\Terminal Services Value name ShareControlMessage Type REG_SZ | None | |
| Computer | Display warning message before connecting: ID RA_Options_Connect_Message | text | Path Software\policies\Microsoft\Windows NT\Terminal Services Value name ViewMessage Type REG_SZ | None |