I use a command line tools under windows 10. The path to the tool is set in the system PATH variable so that it can be started from the command line.
Whenever a new version of the tool comes out, I store it to a new directory and update the system PATH to point to the new location. Restart the command window and everything is fine, the new version of the tool is used.
After a ahutdown and start however, the PATH reverts back to the old value and the old version of the tool gets used. Opening the envoronment variable editor and clicking OK, without making any changes, solves the problem … until the next shutdown. I have searched the whole registry, the old PATH value is nowhere found. It must be stored somewhere else.
After some time, (I guess after a windows update gets installed, but I am not sure about this) the problem goes away and the new PATH value is remembered.
In previous windows versions this worked without problems, I see this behaviour only after upgrade to Windows 10.
How can this be fixed? Is there some way to make the effective PATH permanent?