Use Events "Before opening" as same User as Command-Line run
Hello Samuel,
sorry for the late response.
Sure, we can do that.
Use Events "Before opening" as same User as Command-Line run
Hello Samuel,
I don't think a screen recording would really show much, and I would need to redact a lot of sensitive information.
Let me explain in more detail what I am trying to achieve:
I want to launch the SCCM Console embedded within RDM, including the loaded Recast Right Click Tools add-in.
The add-in requires certain settings that can be configured by copying files into the user profile:
C:\Settings\SCCM\runConsole.cmd
xcopy "C:\Settings\SCCM\84562933-54eb-412b-91f4-c1df2a7d0668.license2" "%AppData%\Recast Software\Licenses\84562933-54eb-412b-91f4-c1df2a7d0668.license2*" /Y
xcopy "C:\Settings\SCCM\configuration.xml" "%AppData%\RecastRCT\configuration.xml*" /Y
reg add HKCU\Software\Sysinternals\PsExec /v EulaAccepted /t REG_DWORD /d 1 /f
RDM itself is started as a non-administrative user. The entry, however, is configured to run as a different user (an administrator account).
As a result, the files copied by runConsole.cmd are being copied to the profile of the non-admin user, because %AppData% resolves to that user's profile. However, the files need to be copied to the profile of the administrator account that is actually used to run the SCCM Console.
Use Events "Before opening" as same User as Command-Line run
Hello Samuel,
I start the SCCM console via a command prompt. After opening, the console is embedded and works without any issues.
I use several consoles that normally work in embedded mode, but at the moment they are running on as external display because some adjustments need to be made before they are launched.
So far, I have not found a solution to perform these adjustments under a different user account via CMD or PowerShell and then open a management console in embedded mode.
Maybe you have an idea.
Thank you.
Use Events "Before opening" as same User as Command-Line run
Hello Samuel,
Sure, I can.
I want to open the SCCM Console with an add-in. To configure the add-in, I need to copy some files before the console starts, so I am using the "Before opening" event for that purpose.
I have already configured the credentials in the Run as section and set them to the same credentials used by the entry.
If I copy the files and then launch the console using a CMD command, the SCCM Console is not embedded in RDM.



Use Events "Before opening" as same User as Command-Line run
Hello Samuel,
I am using Version 2026.2.12.0.
The setting is configured as "Find by Name (User Vault)".
Use Events "Before opening" as same User as Command-Line run
Hello,
I am using a Command-Line (External Application) entry that is configured to launch an application under a different user account.
Before the application starts, I need to execute a script that performs some user-specific modifications.
I configured the script in the "Before opening" event, but it appears to run in the security context of the user who launched Remote Desktop Manager, rather than the user account configured for the external application.
Is it possible to execute the "Before opening" event script in the security context of the external application's configured user account?
Connect to Devolution Server via Application identities
Hello Patrick,
thanks for your reply. Now it is working fine.
Connect to Devolution Server via Application identities
Hello Patrick,
thank you for your response.
Do you mean I can connect to my 2025.1.4.0 Devolution Server with a Devolutions Powershell Version 2024.3?
Can you please write to this Ticket, if there are any new informations or the problem was fixed?
Connect to Devolution Server via Application identities
Hello,
I updated to Devolution Server 2025.1.4.0 from 2024.3.x and the Devolutions.Powershell Update to 2025.1.2.
Since the update I can't connect to my Devolution Server via Powershell.
This is my script to connect:
$key=(Get-Content -Path D:\PS_API\appkey.txt | ConvertTo-SecureString -Key (Get-Content -Path D:\PS_API\appkeyEncryptedPass.reg))
$appkeytmp = new-object -typename System.Management.Automation.PSCredential -argumentlist "Username",$key
$appkey=$appkeytmp.GetNetworkCredential().password
$secret=(Get-Content -Path D:\PS_API\appsecret.txt | ConvertTo-SecureString -Key (Get-Content -Path D:\PS_API\appsecretEncryptedPass.reg))
$appsecrettmp = new-object -typename System.Management.Automation.PSCredential -argumentlist "Username",$secret
$appsecret=$appsecrettmp.GetNetworkCredential().password
$dsname = "XXX"
$dsurl = "https://XXX/dvls"
$ds= New-RDMDataSource -DVLS -Name $dsname -Server $dsurl -ScriptingTenantID $appkey -ScriptingApplicationPassword $appsecret -SetDatasource
Set-RDMDataSource $ds
The command Get-RDMDataSource XXX return IsConnected False
What I am doing wrong or what has changed after the update?
Remotedesktopmanager Powershell Module Fehler beim Verbinden
Hello,
thanks for your answer.
My Problem was solved by setting this option.
Remotedesktopmanager Powershell Module Fehler beim Verbinden
Hallo,
ich versuche seit längerer Zeit vergeblich mich mit dem Powershell Modul mit meiner DPS Datasource zu verbinden. Ich bekomme immer die Fehhlermeldung "InvalidUserNameOrPasswordPleaseVerifyYourCredentials".
Ich versuche über folgenden Befehl eine Verbindung herzustellen.

Nach der Ausführung kommt allerdings folgende Meldung. Die Registrierung funktioniert. Beim Ausführen von Get-RDMVault kommt die Meldung "WARNING: Your connection is not ready".
