[WINLOGON]

- Load sfc_os.dll because applications have a tendency to create remote threads in winlogon with sfc_os function pointers, assuming that it is loaded. See https://bitsum.com/aboutwfp.asp
CORE-9598 #resolve

svn path=/trunk/; revision=68615
This commit is contained in:
Thomas Faber
2015-08-07 16:28:49 +00:00
parent 86366aa0e7
commit 88ee639b06

View File

@@ -457,6 +457,8 @@ WinMain(
else
PostMessageW(WLSession->SASWindow, WLX_WM_SAS, WLX_SAS_TYPE_CTRL_ALT_DEL, 0);
(void)LoadLibraryW(L"sfc_os.dll");
/* Tell kernel that CurrentControlSet is good (needed
* to support Last good known configuration boot) */
NtInitializeRegistry(CM_BOOT_FLAG_ACCEPTED | 1);