Binding ADSystemInfo to LDAP of the Domain WINPE
HI I am currently testing a script which connects fine to AD and populates all AD Sites from cn=Sites cn=Configuration,dc=domain,dc=com via LDAP to an array. I was using this code to do a compare for the local computers site name to populate the location portion of my %OSDComputerName% variable. I have updated my PE boot wim to include ADSI, HTA, etc using this post http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/6c5173bf-5b30-4bce-86a3-eb5c876c98a5/ I have tried unsuccessfully to connect to the Domain using the following code to get the current AD Site name to do my filtering of the above array on. Set objADSysInfo = CreateObject("ADSystemInfo") objADSite = objADSysInfo.SiteName I am aware this needs to be on the AD domain for it to work, does anyone have any Ideas how to get this to authenticate / pass the domain to work in vbscript or another vbscript that can interigate AD via passing AD Authentication David
May 25th, 2011 12:23am

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

Other recent topics Other recent topics