800A0007 Out of memory retrieving AD object

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

I have some users in AD that are in 150+ Domain groups. I also have a
login script that uses:

--
dim usr,ad, arrMemberOf

set ad = createObject ("ADSystemInfo")
set usr = getObject ("LDAP://"; & ad.username)
set arrMemberOf = usr.Groups
....
---

On the getObject line, the user is getting "Error: Out of memory,
Code: 800A0007" and then the script terminates.

It looks to me like the client VBS engine is running out of memory
retrieving the large AD user object for parsing. Is there a way to
fix this? I do not have the option of removing the users from the
many groups..

Or any other guesses/ideas?

Thanks a million!!
.