Doing software dev, I also rely heavily on env variables. I'll clear them and run some tests on two of our laptops - we have one with Win-7 and the other with Win-10, both with the same model/configuration, so the comparison should be on-par.

We do use the "SetM()" function to set the variables permanently using a config process. If I were to run it during logon, I'd track a version in the registry and exit the config script if the version was at or above, and perform the updates if it were below.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D