WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

ADSI
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

ADSI Support on Windows PE


Question:

I am attempting to query the active directory using a machine booted to winPE. I use a dsSetCredent call to set my credentials to a domain user account, then try a DsFindPath and I get this error.

Any ideas?

FYI - The code all works if I run it from my local Windows XP workstation (but I am a local admin, have a domain account, and have all sorts of privs on the domain.)

Answer:

I think the core problem here is that WinPE doesn't support ADSI...

From Microsoft (WinPE.CHM):

"Notes: ADO access to Active Directory and Active Directory Service Interface are not supported in Windows PE. "


Article ID:   W16305
File Created: 2005:02:18:12:19:44
Last Updated: 2005:02:18:12:19:44