Skip to content
English
  • There are no suggestions because the search field is empty.

Script to remove our CP_V1 from 2012R2 along with removal of the CP Filter

If you need to remove the SP WLM from 2012R2 as well as disabling the Credential Provider Filter, here is a batch file that will do that work for you.

Note that this does not remove the DLL which is fine and it leaves the CredProv settings alone and in place if they are in the registry already.

@echo off
:: ===============================================================
:: SurePassId Credential Provider V1 – Complete Removal Script
:: Run this batch file as Administrator (elevated)
:: Removes both known SurePassId GUIDs (filter + provider)
:: Works silently even if keys are already missing
:: ===============================================================

echo Removing SurePassId Credential Provider V1 entries...
:: Remove the Credential Provider Filter
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Provider Filters\{740EAB34-2864-4a61-8FF0-031B00734793}" /f >nul 2>&1

:: Remove the actual Credential Provider
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{9BBB7665-A3FB-438d-80A2-CBD0FD295563}" /f >nul 2>&1

:: Remove the CLSID registration for the provider (including InprocServer32 with the DLL)
reg delete "HKCR\CLSID\{9BBB7665-A3FB-438d-80A2-CBD0FD295563}" /f >nul 2>&1

:: (Optional) Also clean up the old filter CLSID if it ever existed
reg delete "HKCR\CLSID\{740EAB34-2864-4a61-8FF0-031B00734793}" /f >nul 2>&1
echo.
echo Done! SurePassId credential provider has been removed.
echo Please log off or restart for the change to take effect.
pause