none
CWDIllegalInDllSearch registry entry RRS feed

  • Question

  • Hi!

    Does anyone knows if the CWDIllegalInDllSearch registry setting described at https://support.microsoft.com/en-sg/help/2264107/a-new-cwdillegalindllsearch-registry-entry-is-available-to-control-the Works correctly on Windows 8.1 and Windows 10? That page isn't clear about it, and I wonder if after Windows 7 the OS was upgraded to behave differently. I also don't know how to properly test. Maybe with an app that loads plug-ins?

    Thanks in advance!

    Tuesday, May 7, 2019 6:27 AM

Answers

  • Hi,

    Thank you for posting in Microsoft TechNet Forum.

    As the notes summarized in this article mentioned: The CWDIllegalInDllSearch registry setting is available in Windows Server 2012, Windows 8.1, and later operating systems without having to install an additional package. You do not have to install update 2264107 to use this registry setting.

    The key is not exist by default,you need to create it manually.

    Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager, right-click Session Manager, point to New, and then click Dword ValueType CWDIllegalInDllSearch, and then click ModifyIn the Value data box, type the value you want, and then click OK.

    Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\<application binary name>, if a key with the application binary name does not exist, then you will have to create one, right-click <application binary name>, point to New, and then click Dword Value, type CWDIllegalInDllSearch,and then click ModifyIn the Value data box, type the value you want, and then click OK.

    Best regards,

    Hurry


    Please remember to mark the reply as an answer if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com



    Wednesday, May 8, 2019 5:48 AM

All replies

  • Hi,

    Thank you for posting in Microsoft TechNet Forum.

    As the notes summarized in this article mentioned: The CWDIllegalInDllSearch registry setting is available in Windows Server 2012, Windows 8.1, and later operating systems without having to install an additional package. You do not have to install update 2264107 to use this registry setting.

    The key is not exist by default,you need to create it manually.

    Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager, right-click Session Manager, point to New, and then click Dword ValueType CWDIllegalInDllSearch, and then click ModifyIn the Value data box, type the value you want, and then click OK.

    Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\<application binary name>, if a key with the application binary name does not exist, then you will have to create one, right-click <application binary name>, point to New, and then click Dword Value, type CWDIllegalInDllSearch,and then click ModifyIn the Value data box, type the value you want, and then click OK.

    Best regards,

    Hurry


    Please remember to mark the reply as an answer if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com



    Wednesday, May 8, 2019 5:48 AM
  • Oh, thank you! I was focused on the "Applies to" section under the article's title.
    Wednesday, May 8, 2019 6:29 PM