Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

UseInSafeMode

DominikPretzsch edited this page Oct 15, 2014 · 1 revision

Introduction

By default, Windows does not load custom credential providers in safe mode. The reason is covered in FAQ (Appendix A of the RTM Cred Provider Sample Overview):

Q: My implementation of ICredentialProviderFilter is not loaded in SAFE mode. Is this a bug? Is there a way to run my Filter in SAFE mode?

A: This is not a bug. SAFE mode is intended to serve as a workaround in order to correct repair Operating Systems malfunctioning due to incorrectly configured components such as device drivers. By default, only the in-box Password Provider is loaded in SAFE mode. The in-box Smart Card Provider is also available if the machine is booted into SAFE mode with networking. This provides a fallback in case of a bad error. To over-ride the fallback logic and force logonUI to load Credential Provider filters in SAFE Mode, create and set the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers] “ProhibitFallbacks”=dword:1

Details

If you want to use mOTP-CP or any other CP in safe mode, you may download our use-cp-in-safe-mode.zip file from the downloads section.

Be sure what you are doing. If mOTP-CP or any other custom CP misbehaves and you are not able to login, you will experience that even safe mode can not help you!

###Download and installation

  1. Go to the [http://code.google.com/p/multi-one-time-password--credential-provider/downloads/list download section] and download use-cp-in-safe-mode.zip
  2. As an administrator run RegisterForSafeMode.reg

###Uninstall

  1. Run UnregisterForSafeMode.reg from the archive you downloaded. See "Download and installation" above.
Clone this wiki locally