In Active Directory, when users log in to their environment and open KNIME, I want everyone to have their own workspace address automatically. Currently, when a user opens KNIME, they see the previous user’s Workspace address.
And the next thing is that I want all users’ temp addresses to be automatically set as well.
Hi @ideamanshow , can you describe your use case in slightly more detail. Is it that you have multiple people logging on to the same machine and executing KNIME? e.g. you have a shared PC, or is KNIME AP maybe running on a VM?
My thoughts are that a “launcher” app could be written (e.g. a cmd/shell script) that switches out the specific KNIME config file where the workspace foldername is held
(The file in question appears to be the configuration.settings\org.eclipse.ui.ide.prefs folder under your KNIME installation)
It would also have to store that away again in a file dedicated to the current user after KNIME exits, in case any manual adjustments were made while KNIME was executing.
Obviously this wouldn’t be an official way of achieving what you require, and no guarantee it will continue to work in a future version should the mechanism change.
Unfortunately the config settings are stored at the KNIME application level, rather than in the user’s profile, which makes this more tricky. There may also be problems if KNIME is installed in “program files” if the user doesn’t have rights to modify the files directly. (I always install elsewhere using the zip downloads, to avoid any such issues.)
For Windows, I can possibly assist with building a .cmd script to act as a launcher that the users would execute instead of the .exe file directly, if you need some pointers. But it depends whether my thoughts on your use case are correct.
Just thinking out loud, maybe an alternative to the launcher is to have the required config file copied in/out of the KNIME settings folder at windows logon/logoff.
In all of the above, I’m assuming that there is only one user at a time logging in and using KNIME ? My idea wouldn’t support concurrent users, as there is only one settings file and it has to be replaced for the current user.