Applies To | |||
Product(s): | ProjectWise | ||
Version(s): | All | ||
Environment: | N/A | ||
Area: | N/A | ||
Subarea: | N/A | ||
Original Author: | Bentley Technical Support Group | ||
This technote provides information on using Microsoft's service control utility to remove a ProjectWise service that will not uninstall.
In general, using the control panel's "Add or Remove Programs" dialog should uninstall the software provided for ProjectWise services to run. On occasion, these services get ‘stuck' in the operating system and for one reason or another, refuse to uninstall. Bentley technical support has had reports of this happening, especially when there were more than a few ProjectWise services installed.
Microsoft provides a command line utility that (in most cases) will remove the service when the add\remove programs dialog fails. This utility is known as SC.exe standing for ‘Service Control'. It is used for communicating with the service control manger and services.
A working knowledge of Microsoft services, and running DOS commands via a command (DOS) prompt.
Before running the utility you will need to find out the real name of the service. This name can be different from the display name.
1. To find the real name of the service
a. Go to control panel \ Administrative tools \ Services.
b. Locate the service you want to uninstall.
c. Right click on the service and choose properties.
d. On the General tab, find the ‘service name’.
e. For example; The ProjectWise integration server service name is ’PWAppSrv’.
2. To remove the service using the Service Control utility.
a. Open a command prompt window.
b. Type the following command:
SC delete
In the example above the command would be:
SC delete PWAppSrv
Note: If the command is successful you should get the following message
[SC] DeleteService SUCCESS
You may need to reboot the computer to refresh the list in the services manager.
To see additional switch options for the Service Control utility, simply type SC at the command prompt and hit enter.
Projectwise Server \ Service | Service name |
ProjectWise Integration Server V8 XM Edition | PWAppSrv |
ProjectWise Caching Server V8 XM Edition | PWFTSrv |
ProjectWise Gateway Service V8 XM Edition | PWConSrv |
ProjectWise Orchestration Framework Service V8 XM Edition | Bentley Orchestration Shepherd |
ProjectWise Publishing Server | ProjectwisePublishingServer |
ProjectWise Web Server Components V8 XM Edition for Web Explorer | PWWebsrv |
On occasion the software may still be listed in add\remove programs even though the service no longer exists. To resolve this problem, run a registry cleaner such as Piriform Ltd’s “CCLEANER” or Microsoft’s “Windows Installer CleanUp Utility.”
If using the SC.exe command does not solve the problem the last resort is to delete the service from the registry and then remove any files associated with the service.
1. Go to start, run and then type regedit.
2. Navigate to the following registry path.
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services
3. Find the service you wish to remove
4. Take note of any paths and files that the service may be using.
5. In the registry editor, right click on the Service folder \ Key you want to remove and choose delete.
6. You will need to reboot the computer to refresh the list in the services manager.
Note: ProjectWise services are listed under ProjectWise, except for Orchestration Framework, which is listed under Bentley Orchestration Shepherd.
Bentley Technical Support KnowledgeBase
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!