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

Provide a "ServiceTool" for Windchill to create Windows services, like exists in PDMEssentials

Provide a "ServiceTool" for Windchill to create Windows services, like exists in PDMEssentials

Why does PDMEssentials have a "ServiceTool" script to create Windchill, Apache and Directory Service services, but Windchill does not?  Anything that saves a bit of time when doing Windchill installs/configuration is appreciated.

2 Comments
Alexandrite

From the PDMEssentials documentation:

17. After validating the target system, use the ServiceTool utility to recreate
Windows services for Apache, Windchill Directory Server, and Windchill:
a. Stop Apache, Windchill Directory Server, and Windchill servers.
b. In a Windows command prompt, navigate to the following location, where
<Installation> is the Windchill PDM Essentials installer folder:
<Installation>\Scripts
c. Execute the following command, where <Windchill> is the location of
your new target Windchill PDM Essentials installation: ServiceTool
<Windchill>\Windchill

Emerald I

Not saying a tool wouldn't be nice, but it's actually pretty easy to do now from a Windchill shell:

 

Install Windchill Directory Server as a service:
- Use the DS control panel
(Service name = PTC Windchill Directory Server")

 

Install Webserver (Apache) as a service:
cd E:\ptc\Windchill_11.0\HTTPServer\bin
httpd -k install -n "PTC Windchill Web Server"

 

Install Windchill Method Server as a service:
cd E:\ptc\Windchill_11.0\Windchill
ant -buildfile opt\ntservice\WindchillService.xml install -DserviceName="PTC Windchill Method Server"

 

Add startup dependencies to method server service:
sc config "PTC Windchill Method Server" depend= "PTCWindchillWebServer"/"PTC Windchill Directory Server"

 

Note:  Adjust the files paths for the version of Windchill being used and installation location.