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:
Run the command: pnputil /enum-drivers > out.txt
Open out.txt and locate all entries with Original Name:
hpsvcsscancomp.inf
Note the corresponding Published Name (for example: oem##.inf)
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
To disable HP Services Scan from launching:
1. Open Command Prompt as an administrator.
2. Run the following command:reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\HP\HP Services Scan" /v ServicesScanControl /t REG_DWORD /d 1 /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 [email protected].