Documentation Index

Fetch the complete documentation index at: https://learn.workforceexperience.hp.com/llms.txt

Use this file to discover all available pages before exploring further.

Uninstalling HP Services Scan

Prev Next

Introduction

HP Services Scan is a virtual driver installed on HP devices via Windows Update during the initial boot process. You can remove it using either of the two methods described below. These methods help streamline driver maintenance and device management.

Option 1: Remove the Driver Using PnPUtil

Each component and extension driver must be removed separately, starting with the component drivers.

To remove the component drivers:

  1. Run the command: pnputil /enum-drivers > out.txt .

  2. Open out.txt and locate all entries with Original Name: hpsvcsscancomp.inf .

  3. Note the corresponding Published Name (for example: oem##.inf)

  4. For each identified driver, run: pnputil /delete-driver oem##.inf /uninstall .

Note: To remove the extension drivers, repeat steps 2–4 using the Original Name: hpsvcsscanext.inf.

Option 2: Use a PowerShell Script

Download the uninstallation PowerShell script or create one manually using the steps below. Once ready, run the script to automatically remove the drivers.

echo "Removing component drivers..."(pnputil /enum-drivers | Out-String) -split '\r\n\r\n' | ? { $_ -match 'hpsvcsscancomp.inf' } | % {    if ($_ -match "oem(?<oem>\d+?)\.inf") {        $oem_number = $matches["oem"]        echo "Removing oem${oem_number}.inf:"        pnputil /delete-driver "oem${oem_number}.inf" /uninstall        Start-Sleep -Seconds 5    } else {        echo "Couldn't get OEM number. Please remove manually."    }}echo "Finished removing component drivers."echo "Removing extension drivers..."(pnputil /enum-drivers | Out-String) -split '\r\n\r\n' | ? { $_ -match 'hpsvcsscanext.inf' } | % {    if ($_ -match "oem(?<oem>\d+?)\.inf") {        $oem_number = $matches["oem"]        echo "Removing oem${oem_number}.inf:"        pnputil /delete-driver "oem${oem_number}.inf" /uninstall        Start-Sleep -Seconds 5    } else {        echo "Couldn't get OEM number. Please remove manually."    }}echo "Driver removal complete."

Preventing Reinstallation via Windows Update

Removing the driver alone won't prevent Windows Update from reinstalling it. To block reinstallation:

  • Use a management tool such as WSUS, SCCM, or Intune.

  • Manually exclude the HP Services Scan driver from being deployed to managed devices.

Uninstalling the HP Services Scan Driver via Group Policy

1. On your Active Directory Domain Controller, open Group Policy Management:
  Run gpmc.msc from the command prompt.

2. Create a new Group Policy Object (GPO) or edit an existing one.

3. Link the GPO to the relevant Organizational Unit (OU) that contains the target computers.

4. Go to Computer Configuration > Policies > Administrative Templates > System > Device Installation > Device Installation Restrictions.

5. Double-click Prevent installation of devices that match any of these device IDs and set it to Enabled.

6. Enable the checkbox next to Also apply to matching devices that are already installed.

7. Click Show, and add this device ID:  SWC\HPTPSH000C.

8. Uninstall the HP Services Scan driver using one of the methods described earlier.

Disabling HP Services Scan via Registry

Disable HP Services Scan by configuring a registry value locally on a device or remotely through a mobile device management (MDM) solution, such as Microsoft Intune.

Configure the following registry value:

  • Registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\HP\HP Services Scan

  • Value name: ServicesScanControl

  • Value type: REG_DWORD

  • Value data: 1

You can configure this value by using Windows Registry Editor or by running the following command as an administrator:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\HP\HP Services Scan" /v ServicesScanControl /t REG_DWORD /d 1 /f


To configure the value remotely, deploy the registry setting or the command through your organization’s MDM solution.

This setting prevents HP Services Scan from running the next time it is triggered. To restore the default behavior, delete the ServicesScanControl registry value.

Re-enabling HP Services Scan

To restore the default behavior, delete the ServicesScanControl registry value.

Remove it locally by running the following command as an administrator:

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\HP\HP Services Scan" /v ServicesScanControl /f

This change will prevent HP Services Scan from running the next time it's triggered.

To re-enable it, delete the above registry key to restore its default behavior.

Contact Us

For any assistance, create a support case or email support@wxp.hp.com.