cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

How to register automatically the server name?

ptc-4486582
4-Participant

How to register automatically the server name?

As per this thread, related issue.

Hi,

 

Do you kwon how to register automatically the server name?

 

Thx

5 REPLIES 5

Article - "Is there a way to register Windchill server automatically when a user launches Creo Parametric the first time?": https://www.ptc.com/en/support/article/CS103228 

Chris3
20-Turquoise
(To:ptc-4486582)

This is how we do it. In your startup script we have:

 

If Not Exist "%PTC_WF_ROOT%\.ssappd\ServerMgr\.srv_mgr_db3.fldx" robocopy "%SERVER_DIR%\creo7\configs" "%PTC_WF_ROOT%\.ssappd\ServerMgr" /r:0 /NDL /NJH /NJS /nc /ns /if  .srv_mgr_db3.fldx

 

If the user hasn't logged into Windchill then it copies down a .srv_mgr_db3.fldx which has a default workspace that everyone has access to and is set to "no server". Doing this makes sure that everyone is using the same Windchill server alias.

ChiragBarot
5-Regular Member
(To:Chris3)

Does this work for Windchill 11.2 ?

 

I tried and it does not seem to work.

 

Any pointers are appreciated.

 

Thx

Chris works with me. We have used this for 11.1 and Creo 4. We are now on 12.0.2 and Creo 7 and had no issues with it. We have a batch file to start Creo as a shortcut on user's desktops. This sets up a few things like copying config.pro files down and creates the server connection if missing. Yes, this does work but the batch file sets up those environment variables first.

Chris3
20-Turquoise
(To:ChiragBarot)

Key to getting it to work is to have a default workspace context that everyone has access to. Also we have ours set to no server.

 

With Creo 9 (maybe 8?) this line was added:

<is_ignore_version_check>0</is_ignore_version_check>

 

The best thing to do though is to register with a context that everyone has access to, then set to no server and then go into your wf directory and grab the file that Creo creates. Review to ensure there is only the context everyone has access to and the no server option and then use that as your baseline for the rest of the company.

Top Tags