Skip to main content
10-Marble
April 25, 2013
Question

Cache corruption due to multiple WC login

  • April 25, 2013
  • 2 replies
  • 3484 views

Current last line in proe1.psf is

ENV=PTC_WF_ROOT=C:\PTC\%USERNAME%\PDM_WF_Client

What would the %USERNAME% be to reflect the Windchill user login?

As a WC admin it is a problem when sometimes you need to login to WC within Pro/E as orgadmin and other times as your actual user account. Would like a way to setup the .psf file so it creates the cache folder based on WC login and NOT the Windows login name.

2 replies

19-Tanzanite
April 25, 2013

I don't think you can do it from the Windchill login since the Windchill login doesn't pop up until after Pro/E is started.

You should think about running a batch file and point to the directory that you want PTC_WF_ROOT to be and then point to the ".bat" file that starts Pro/E.

The other idea would be to have different .psf files and edit the last line to point to where you want the directory to be and use that one when you want to be admin.

SAP01010110-MarbleAuthor
10-Marble
April 26, 2013

Brian, appreciate the reply however I was looking for something more fool proof. The problem with that approach is you could still easily login to WC using the wrong login by accident.

19-Tanzanite
April 26, 2013

I don't know what versions you are using, but I do know that with CREO 2 and Windchill 10.1 if I try to login as a different user it throws a warning that says:

Warning: Active user changed

The server cache is registered to orgadmin.

Continuing as <user name> is not recommended.

Abort Ignore

Hopefully you can find your answer. I'll just keep on using my two shortcuts.

1-Visitor
June 24, 2013

Here is a short desciption on how to solve your problem:


Modify the startup configuration
so you have a <user> startup and a <admin> start up

Then modify the <user>.psf by adding this line at the bottom:
ENV=PTC_WF_ROOT=C:\PTC\Cache\.user

and do the same for <admin>.psf file:
ENV=PTC_WF_ROOT=C:\PTC\Cache\.adm

Note: the path to the cache file you can set to whatever you whant.

1-Visitor
April 2, 2019

Where can I find the .pst file for the adm and user?