Skip to main content
1-Visitor
April 6, 2017
Solved

Creo Agent Fails to Start

  • April 6, 2017
  • 2 replies
  • 23341 views

I am attempting to use a .bat file to start Creo Parametric 4.0 on my desktop. The installation of Creo is on a virtual machine server, and I just have a shortcut on my desktop that points to the vm's installation of Creo (via the .bat file I was talking about).

 

I think this is causing the Creo Agent to malfunction, and in turn this screws up the Windchill server connection that I want to initialize.

 

I am sorry if this is a little vague, but I am new to the idea of linking an instance of Creo Parametric 4.0 to a PDM software like Windchill.

 

If anyone has any possible solutions (maybe an addition to the .bat file?) I would really appreciate it.

 

Thanks,

Kyle

Best answer by JamesAvis

Did you set the variable CREO_AGENT_EXE_PATH to the full path to creoagent.exe?

For example:  set CREO_AGENT_EXE_PATH=\\path\to\creoagent.exe

2 replies

JamesAvis14-AlexandriteAnswer
14-Alexandrite
April 7, 2017

Did you set the variable CREO_AGENT_EXE_PATH to the full path to creoagent.exe?

For example:  set CREO_AGENT_EXE_PATH=\\path\to\creoagent.exe

kkillian1-VisitorAuthor
1-Visitor
April 7, 2017

That is an environmental variable, right? I will try this solution and see if it fixes my issue. Thanks for the reply.

1-Visitor
April 7, 2017

Yes it is an environmental variable and you can set it with the "Control Panel, System, Advanced system settings, Environmennt Variables" for every user if you are only running one version of Creo.  Otherwise you will need to set it in a startup batch file to point to the right agent for the version you want to run.  In Creo 3.0 M120 the statement is CREO_AGENT_EXE_PATH=C:\Program Files (x86)\PTC\Creo\Platform\3.135\creoagent.exe.  The 3.135 is the part that changes with every version you install.

There are plenty resources telling how to write a start batch file out there and a couple are acually useful, but it stiill took me a couple days to make it work the way I wanted it to.

Good luck.

Brian

kkillian1-VisitorAuthor
1-Visitor
April 10, 2017

Okay, so reinstalled everything, set the environmental variable in the .bat file and was able to launch Creo Parametric 4.0 with no problem (creoagent.exe working and everything), but now when I use the same exact .bat file, Creo does not lauch creoagent.exe correctly.

I did not change a thing between the creoagent working and not working. Any ideas what it could be?

24-Ruby III
April 11, 2017

Hi,

I think that the only one person who can help you is sitting on your chair .

MH