Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Error message when you try to use the Active Directory Service Interfaces extension for Terminal Services to read the properties for a user on a Windows Server 2008-based computer: "The directory property cannot be found in the cache"
Article ID: 947729 - View products that this article applies to.
You try to use the Active Directory Service Interfaces (ADSI) extension for Terminal Services to read the properties for a user on a Windows Server 2008-based computer. Then, you may receive an error message that resembles the following:
This error can occur when you run Microsoft Visual Basic Scripting Edition (VBScript) code. For example, the error can occur when you run the following sample code.
Error: The directory property cannot be found in the cache.
Source: Active Directory
This problem can occur if the properties for the user have not been set.
To resolve this problem, set the properties for the user. For example, use the Active Directory Users and Computers snap-in to set the Deny this user permissions to log on to Terminal Server option in the properties for the user. To do this, follow these steps:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how to use the ADSI extension for Terminal Services user configuration, visit the following Microsoft MSDN Web site: