PSM Send RDP message to users

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PSM Send RDP message to users

L1 Bithead

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.

 

1 accepted solution

Accepted Solutions

L6 Presenter

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.

View solution in original post

1 REPLY 1

L6 Presenter

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.

  • 1 accepted solution
  • 308 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!