Black Screen comes up after the desktop has been launched.
Remove the full path from the AppInit_DLLs key.
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
Key Location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
Entry Name: AppInit_DLLs
Entry Type: String
New Entry Value: mfaphook64.dll
Old Entry Value: C:\Program Files\Citrix\System32\mfaphook64.dll
Key Location: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows
Entry Name: AppInit_DLLs
Entry Type: String
New Entry Value: mfaphook.dll
Old Entry Value: C:\Program Files (x86)\Citrix\System32\mfaphook64.dll
Appinit_DLLs keys using the full location path.