Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
I have upgraded the application to Rocket Remote Desktop 2027 and completed the environment configuration.
However, when another user tries to log in, they receive an error stating that they are unable to log in.
I tried modifying the user's environment settings and saving the changes, but the following error message appeared.
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
Then you try to save your environment config for all users - in that case you need to run As Adminstrator - or you uncheck "Save for all users" in Environment Wizard
Regards/Gruss
Oliver
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
Perhaps it's the internal migration of xml file to json - if there is a settings.xml file referenced - it is automatically saved now as JSON and the environments.json file is also updated with new file name
Regards/Gruss
Oliver
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
(02-11-2026, 12:50 PM)DevOma Wrote: Then you try to save your environment config for all users - in that case you need to run As Adminstrator - or you uncheck "Save for all users" in Environment Wizard
I have run the application as Administrator and saved the passwords again.
All users have left for the day, so I will test it again tomorrow.
Thank you for your assistance.
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
(02-11-2026, 12:50 PM)DevOma Wrote: Then you try to save your environment config for all users - in that case you need to run As Adminstrator - or you uncheck "Save for all users" in Environment Wizard
We have tested it again, but the issue still persists.
Even when I run Rocket Remote Desktop as Administrator, other users are still unable to use the environment configuration. They consistently receive an error stating that saving the environment has failed.
However, if users create their own environments, they can use them without any problems.
Could you explain why this is happening? We cannot provide database connection information to individual users, as this would defeat the purpose of centralized management and control.
We have more than 20 servers and over 100 users in our environment. It is simply not feasible to ask every user to manually configure an environment on more than 20 servers. This would create a significant administrative burden and make centralized management impractical.
Is there a way to configure or modify this behavior so that administrators can centrally manage the database environment while allowing all users to access it without having to create their own environments?
Thank you for your assistance.
Posts: 9
Threads: 1
Joined: Jan 2024
Reputation:
0
I had a similar problem - we deploy rocket trough a centralized Software Management (in our case baramundi) - is there any chance you're putting the old environments.xml in C:\ProgramData\Rocket Remote Desktop\20.0 ?
with Rocket 2027 they switch from xml to json for that. - what solved this problem for me was deleting the environments.xml from that folder and only copy the environments.json there (had to modify our install script for that since we always copied the xml to every PC with it)
Viele Grüße/Best regards,
Jan
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
(03-11-2026, 08:35 AM)JanS Wrote: I had a similar problem - we deploy rocket trough a centralized Software Management (in our case baramundi) - is there any chance you're putting the old environments.xml in C:\ProgramData\Rocket Remote Desktop\20.0 ?
with Rocket 2027 they switch from xml to json for that. - what solved this problem for me was deleting the environments.xml from that folder and only copy the environments.json there (had to modify our install script for that since we always copied the xml to every PC with it)
Thank you for sharing your experience and suggesting a possible solution.
The new Rocket Remote Desktop 2027 is installed in a separate directory.
We did not copy or migrate any files from the old installation directory (`C:\Program Files\Rocket Remote Desktop 2025 (X64)`) to the new Rocket Remote Desktop 2027 directory.
Additionally, I cannot find either `environments.xml` or `environments.json` in either of these installation directories.
Thank you again for your help!
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
environment files are stored in ProgramData\Rocket Remote Desktop\version for all users - and personal entries in AppData\Rocket Remote Desktop\version
Regards/Gruss
Oliver
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
Do you use username / password for your database connection? Or Integrated?
Regards/Gruss
Oliver
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
(03-11-2026, 10:41 AM)DevOma Wrote: Do you use username / password for your database connection? Or Integrated?
The database connection information is shown in the attached screenshot.
I have also located both environments.xml and environments.json.
What would you recommend as the next steps to resolve this issue?
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
Problem is that we use Windows DPAPI for encryption of the connection string - if your case Username/Password - the old ConnectionString can be read but the program is trying to save it with new encryption - and that is failing
I would like to add Powershell-CmdLet's to manage environments - or perhaps also to push it via CommandLine - so you can use Software Deployment with an additional call to setup the environment for the user - please give us some hours to prepare a solution
Regards/Gruss
Oliver
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
Or what also should work - if you deploy the environments.json file into the AppFolder directoty - write permission should be only a problem if you store it in ProgramData
Regards/Gruss
Oliver
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
04-11-2026, 03:22 AM
(This post was last modified: 04-11-2026, 03:32 AM by 99016.)
(03-11-2026, 11:41 AM)DevOma Wrote: Or what also should work - if you deploy the environments.json file into the AppFolder directoty - write permission should be only a problem if you store it in ProgramData
I found both environments.json and environments.xml in:
C:\ProgramData\Rocket Remote Desktop\20.0
However, in the following directory:
C:\Users\username\AppData\Roaming\Rocket Remote Desktop\20.0
I only found profile.json and profile.xml, as shown in the attached screenshot.
How should I deploy environments.json to the AppFolder as you suggested?
These two directories appear to contain different files. Am I looking in the wrong location, or is there another directory that I should use?
Thank you for your clarification.
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
(04-11-2026, 03:22 AM)99016 Wrote: (03-11-2026, 11:41 AM)DevOma Wrote: Or what also should work - if you deploy the environments.json file into the AppFolder directoty - write permission should be only a problem if you store it in ProgramData
I found the cause. Since I was the one who created the environment, the environments.xml and environments.json files were not present in my AppData\Roaming\Rocket Remote Desktop\20.0 folder.
However, when I checked other users' profiles, I found that both files were present.
However, when I copied both files from C:\ProgramData\Rocket Remote Desktop\20.0 to the user's AppData\Roaming\Rocket Remote Desktop\20.0 folder, the same error still occurred.
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
Check the error log - the details should tell us which save operation is failing (full path)
Regards/Gruss
Oliver
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
(04-11-2026, 08:50 AM)DevOma Wrote: Check the error log - the details should tell us which save operation is failing (full path)
I only have the error message generated when the application runs, as shown in the attached screenshot.
Could you please let me know where I can find the Error Log?
Thank you for your help.
There are no error messages displayed here.
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
Yes there should be some details - Administration=>Logs=>Error Log
I see the details - but that is not be the error with "Save environment failed"
Regards/Gruss
Oliver
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
(04-11-2026, 08:50 AM)DevOma Wrote: Check the error log - the details should tell us which save operation is failing (full path)
I checked the Windows Event Log and found the following two error messages.
Posts: 12,350
Threads: 128
Joined: Aug 2006
Reputation:
242
So it's trying to save to ProgramData - and that is denied - you can delete the file in ProgramData and just use it in AppData\Roaming\ - then it should be ok
Regards/Gruss
Oliver
Posts: 149
Threads: 28
Joined: Jun 2024
Reputation:
0
(04-11-2026, 10:36 AM)DevOma Wrote: Yes there should be some details - Administration=>Logs=>Error Log
I see the details - but that is not be the error with "Save environment failed"
The "Save environment failed" error occurred because I asked the user to log in and then try modifying the environment settings. The error only appeared during that process.
The main issue we need to resolve is the following error:
"Login failed for user 'RocketRDUser'"
|