Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automated update of the license file
#1
Hi,


I'm still having issues updating the license file using automation tool:
[2026-11-06 10:14:03] [INFO] Starting Rocket license import using environments.xml directly. 
[2026-11-06 10:14:03] [INFO] License file: C:\Temp\UpdateRocketRemote\LicenseFile_aeven_as.xml 
[2026-11-06 10:14:03] [INFO] Rocket executable: C:\Program Files\Rocket Remote Desktop 2026\RDConsole.exe 
[2026-11-06 10:14:03] [INFO] Environment configuration: C:\ProgramData\Rocket Remote Desktop\19.0\environments.xml 
[2026-11-06 10:14:03] [INFO] Environment: Visionapp [2026-11-06 10:14:03] [INFO] Starting Rocket license import command. 
[2026-11-06 10:14:05] [INFO] Rocket license import exit code: -22 
[2026-11-06 10:14:05] [ERROR] RDConsole returned -22: Login failed. 
[2026-11-06 10:14:05] [ERROR] Rocket license import failed.


If I run the same script in my user context, it works
[2026-11-06 12:07:40] [INFO] Starting Rocket license import using environments.xml directly.
[2026-11-06 12:07:41] [INFO] License file: C:\Temp\UpdateRocketRemote\LicenseFile_aeven_as.xml
[2026-11-06 12:07:41] [INFO] Rocket executable: C:\Program Files\Rocket Remote Desktop 2026\RDConsole.exe
[2026-11-06 12:07:41] [INFO] Environment configuration: C:\ProgramData\Rocket Remote Desktop\19.0\environments.xml
[2026-11-06 12:07:41] [INFO] Environment: Visionapp
[2026-11-06 12:07:41] [INFO] Starting Rocket license import command.
[2026-11-06 12:07:47] [INFO] Rocket license import exit code: 1
[2026-11-06 12:07:47] [OK] Rocket license import completed. Exit code 1 is accepted for /importlicense.
[2026-11-06 12:07:47] [OK] Rocket license import step completed.

I'm using 2026 Patch5

In my prevoius thread, I was told it was fixed 

I'm using these parameters:
    $arguments = @(
        "/configfile:`"$($environmentFile.FullName)`""
        "/instance:$selectedEnvironment"
        '/loginintegrated:true'
        '/loginsubmit'
        "/importlicense:`"$licenseFile`""


My automation tool is running the script as Local System

I hope you can help me


Jan
Reply


Messages In This Thread
automated update of the license file - by jbymark - 06-11-2026, 01:13 PM



Users browsing this thread: 1 Guest(s)