06-11-2026, 01:13 PM
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
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

