diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 47c02c0..ab6c8ab 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -14492,7 +14492,7 @@ HRESULT EntryPoint(DWORD dwMethod) if (bIsThisExplorer) { #ifdef _WIN64 - if (IsUserOOBEOrCredentialReset()) + if (GetSystemMetrics(SM_CLEANBOOT) != 0 || IsUserOOBEOrCredentialReset()) { IncrementDLLReferenceCount(hModule); bInstanced = TRUE;