hp-support-head-portlet

Actions
Loading...

Welcome to HP Customer Support

hp-contact-secondary-navigation-portlet

Actions
Loading...

hp-share-print-widget-portlet

Actions
Loading...
  • Information
    Welcome Samsung Printer Customers

    Need support for your Samsung Printer?  HP is here to help!  Learn More

hp-concentra-wrapper-portlet

Actions
Loading...

HP Web Jetadmin 10.x - HPWSProAdapter Service Will Not Start

Environment
Web Jetadmin 10.2
Web Jteadmin 10.3
Web Jetadmin 10.4
Questions/Symptoms
By default, the HPWSProAdapter service is set to start automatically but in some cases, the service will not start. When attempting to manually start the service, the following error is generated.



The Windows Event Viewer will also post the following event under Windows Logs > Application which points to a .NET error with the COR_PROFILER environment setting.


Cause
The issue is caused by missing data in the following Windows Registry key.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HPWSProAdapter\Environment
Answer/Solution
Solution 1:
On the Web Jetadmin server, using a Registry editor, go to the following key.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HPWSProAdapter\Environment

Directly under the first line in the data value, add the following line.

COR_PROFILER={03191964-0505-1966-BD0E-E92B0C04964F}

The following images show the Environment key before and after the change.



After making the modification to the Registry, the HP Web Jetadmin server may need to be shut down and restarted.
  note:
In some instances, the registry entries are removed after a server reboot. In order to find out which application is changing/removing the registry settings, use the following steps:
  1. Edit the Registry and add the missing entries again. Do not reboot the server.
  2. Download the Microsoft Process Monitor from https://technet.microsoft.com/en-us/sysinternals/bb795533 to a temporary folder on the HP Web Jetadmin server.
  3. Run the Process Monitor (Procmon.exe) as Administrator.
  4. When the utility is run, it will automatically start capturing data. Click on the magnifying glass icon to stop the running capture.
  5. Go to the Options menu item, click on the Enable Boot Logging option and then click the OK button to enable the logging.
  6. Close the Process Monitor utility.
  7. Reboot the HP Web Jetadmin server.
  8. After the server has rebooted, run the Process Monitor utility as Administrator.
  9. In the menu, go to Filter > Filter…. and add the following two filters.
  10. Click the Apply button.
  11. Analyze the results. If the issue is tied to Microsoft’s Monitoring Host, you will see an entry in Process Monitor with the following column data:
    Column
    Value
    Process Name
    MonitoringHost.exe
    Process Name
    RegSetValue
    Path
    HKLM\System\CurrentControlSet\Services\HPWSProAdapter….
    Detail
    Type: REG_MULTI_SZ, Length: 94, Data: COR_ENABLE_PROFILING=1, SystemRoot=…
    In that case, the issue is caused by Application Performance Monitoring (APM) which is a component of the COM agent. The workaround is to install the SCOM Agent without the APM by using the “NOAPM=1” option during the Command Line installation as per the following Microsoft document:
      note:
    For assistance with the Microsoft Process Monitor or with the SCOM agent installation, please contact Microsoft support.
Solution 2:
By default, the HPWSProAdapter COR_PROFILER values are placed in the Windows Registry but they can also be added as system variables through the following steps on the HP Web Jetadmin server.
  1. Open the Windows System Properties (for example, by executing “sysdm.cpl” from a Command Prompt or from Start > Run)
  2. Go to Advanced > Environment Variables.
  3. In the Environment Variables window, there will be two sections. One for User variables and one for System variables. Click the New button under the System variables section.
  4. Create three new system variables as shown below.
    COR_ENABLE_PROFILING = 1
    COR_PROFILER = {03191964-0505-1966-BD0E-E92B0C04964F}
    SystemRoot = C:\Windows
  5. Click the OK button to close the Environment Variables window.
  6. Click the OK button to close the System Properties window.
  7. Reboot the HP Web Jetadmin server.

hp-feedback-input-portlet

Actions
Loading...

hp-online-communities-portlet

Actions
Loading...

Ask the community!


Support Forum

Support Forum

Join the conversation! Find Solutions, ask questions, and share advice with other HP product owners. Visit now


hp-feedback-banner-portlet

Actions
Loading...

hp-country-locator-portlet

Actions
Loading...
Country: Flag Slovenia

hp-detect-load-my-device-portlet

Actions
Loading...