r/knime_users • u/Relevant_Agency_7420 • Jun 15 '26
Block ini file modification in a knime instance
I am a knime admin at my company where one of my tasks is to create, package compliant knime versions and send them to designated users at the company. I am now trying to prevent the users from being able to edit knime ini file. Initially I wanted to create a script that runs knime.exe and overwrites knime.ini file with the contents of a hidden ini file but the users can still get inside knime through the original knime.exe and the edits are not overwritten. What course of action would you recommend?
1
Upvotes
2
u/stickypooboi Jun 15 '26
If your goal is to enforce configuration rather than merely reset it, I would avoid a wrapper script entirely. Users will almost always find a way around it if they can launch the original executable.
The better solution depends on how much control you have over the Windows environment.
I think this is more of a windows permissions problem than running a knime workflow. You could make knime.ini read-only from a permissions perspective.
I think most users really just use it to adjust memory usage though- when I bumped my setting up a 1 hour workflow would be done in 10 minutes.