Users

All Posts (5)

avatar

koderer

RDP or alternative session

avatar
avatar
avatar

is done. i do now directly in powershell because RDM doesn't give it away or i'm too stupid

RDP or alternative session

avatar
avatar
avatar

Hello everyone,

I noticed the entry "Event" in the RDM which might help me to solve my task.

On some customer systems we are not allowed to log in via RDP anymore or with restrictions.

Therefore I display a message in the "before connection" and point this out. Now I would only have to react to the events

i.) the user enters the correct passcode and we connect via RDP

ii.) he does something else and I use an alternative PowerShell script

iii.) he ends the session and we do nothing.

From the logic there are the events "Before Open", "After Open", "Before Close", "After Close".

Maybe other event handlers would be useful.

Since there is no documentation about this, at least I did not find any, I ask myself what I can do with the mode "variable".

Another idea is to intercept the user interaction with PowerShell and then either start the session with Open-RDMSession or use the alternative PowerShell script.

Thanks for your feedback.

With best regards koderer

Datei Attachment in Ordner

avatar
avatar
avatar

Hallo Min,

ich konnte das Problem lösen.

Ich hatte zusätzlich LibreOffice installiert. Office und LibreOffice streiten sich um die Office-Extensions. Jetzt habe ich alles per "Standardprogramm" auf Office 2016 festgezurrt und nun klappt es.

Trotzdem vielen Dank für deine Rückmeldung.

Datei Attachment in Ordner

avatar
avatar
avatar

RDM 2019.1.41.0 64 Bit Enterprise

.Net RT v4.0.30319

.Net Version 4.7.2 oder höher

Datenquelle: SQLExpress

Es tritt bei allen gängigen Office Anwendungen auf (getestet .docx, .xlsx)

Datei Attachment in Ordner

avatar
avatar
avatar

Hallo Forum,

ich fand es ziemlich schick das man in Ordner auf Dateien hinzufügen kann. Das funktioniert super mit Text Dateien. Bei Office Dateien kommt allerdings ein .NET Fehler wenn ich mir die Dateien anzeigen lassen will: (siehe png).

Gibt's dafür eine Lösung?

Vielen Dank

Koderer

Informationen über das Aufrufen von JIT-Debuggen

anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************

System.Runtime.InteropServices.COMException (0x80041103): The associated COM server does not support ActiveX Document embedding.

bei OfficeCtrl._FramerControl.Open(Object Document, Object ReadOnly, Object ProgId, Object WebUsername, Object WebPassword)

1 - 5 of 5 items