It's possible that something else may be changing the environment variable during startup. Open a system window from Creo and type 'set' and then press enter. This will show all environment variables currently in use for that session of Creo. Double check that PTC_WF_ROOT is set to what you expect. If not, take a look at any .bat files or other startup scripts you may be using.
You are correct, thanks. PTC_WF_ROOT is not set per the external environment variable. But I don't know what is changing it. We don't use any scripts except the standard parametric.bat calling parametric.psf, and there's nothing in there that would affect it
I am using 4.0 M130 with Windchill 11.1 M020. I have always controlled the cache location in the server management window on the Cache tab.