- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-10-2023 05:21 AM
When trying to send message to RDP user "PSMConnect" either using "msg.exe" or through task manager I get the following group policy error as shown below. I believe this is a cause of the hardening script. How can we allow broadcast messages to RDP sesssions from Administrator user? A usecase for this is to broadcast message to all connected users during maintenance of PSM server.
C:\Windows\system32>msg RDP-Tcp#27 test
Error sending message to session RDP-Tcp#27 : Error 1260
Error [1260]:This program is blocked by group policy. For more information, contact your system administrator.
08-10-2023 09:00 AM
Hello Mike,
I suspect this is related to the AppLocker configuration on the PSM server. You could edit the AppLocker configuration to allow msg.exe to run during PSM sessions.
Edit PSMConfigureAppLocker.xml > Add the following line to <AllowedApplications> section:
<Application Name="MSG" Type="Exe" SessionType="*" Path="c:\windows\system32\msg.exe" Method="Publisher" />
Then run PSMConfigureAppLocker.ps1 on each PSM server you made the change to.
08-10-2023 09:00 AM
Hello Mike,
I suspect this is related to the AppLocker configuration on the PSM server. You could edit the AppLocker configuration to allow msg.exe to run during PSM sessions.
Edit PSMConfigureAppLocker.xml > Add the following line to <AllowedApplications> section:
<Application Name="MSG" Type="Exe" SessionType="*" Path="c:\windows\system32\msg.exe" Method="Publisher" />
Then run PSMConfigureAppLocker.ps1 on each PSM server you made the change to.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

