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!!!

    Friday, September 4, 2015 4:25 PM


  • 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) 

    Friday, September 4, 2015 4:59 PM

All replies