vbscript login script issue

I keep getting error 0x80005000 code 80005000 source null for my login.vbs script.

It bump out at Set CurrentUser = GetObject("LDAP://ip_address_of DC:389/DC=xxx,DC=xxx,DC=xxx" & ADSysInfo.UserName) 

Any advice will be greatly appreciated!!!

September 4th, 2015 12:38pm

The error is 0x80005000 ("The specified directory service attribute or value does not exist"). 

Can you post the whole script or more of it?  Sure the attribute exists that is being called since it is username it should be.  Why the domain specification (DC=xxx)?

Maybe just:

Set ADSysInfo = CreateObject("ADSystemInfo") 
Set CurrentUser = GetObject("LDAP://" & ADSysInfo.UserName) 


Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 1:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics