Can you verify if the user running the logon script (logon scripts run
as the user logging in) has permissions to pull that attribute from AD?
You could verify this by actually trying to get this information logged
in as that user (or a copy of that user) and using Active Directory User
and Computers. 

Also, to verify, check to see if this behavior is always consistent with
that user no matter what machine they use.

 

From: Myung Bang [mailto:[email protected]] 
Sent: Friday, June 26, 2009 2:32 PM
To: NT System Admin Issues
Subject: Windows Script Host Error

 

Hello, I need some help. I just converted our logon batch file to a vbs
script and some systems are displaying Windows Script Host error. The
message is:

Script: \\adserver\NETLOGON\script_name.vbs
Line: 15
Char: 1
Error: The directory property cannot be found in the cache.
Code: 8000500D
Source: Active Directory

The line 15 is:
arrMemberOf = objUser.GetEx("memberOf")

This script works without an error for many hundreds of systems. Only
happening on couple of dozen of computers. Another confusing thing is on
the same system, some people get the message and some people don't.

Any idea?
Thanks,
Myung

 

 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to