ADSI plugin for WinPE 4.0

Back in 2005 I wrote my first ADSI for plugin WinPE (WinPE 2005 or v1.6), and per request I have since then updated it for every WinPE release… This is the release for WinPE 4.0 (part of ADK).

Update 2013-12-05: For a WinPE 5.0 version, see links further down.

Please note: I don't recommend using ADSI in WinPE. It's not supported by Microsoft, and this release is only intended to support existing solutions using it. Instead you really should use web services to interact with Active Directory from WinPE. Check out http://mdtcustomizations.codeplex.com for ready-made web services for Active Directory, SQL Server, ConfigMgr and more…

WinPE 4.0 ADSI Plugin download

Detailed installation instructions can be found in the archive Readme.txt file.

Other releases:

WinPE 5.0 ADSI Plugin
https://deploymentresearch.com/Research/tabid/62/EntryId/128/ADSI-plugin-for-WinPE-5-0.aspx

WinPE 3.0 ADSI Plugin
http://www.deployvista.com/Repository/tabid/71/EntryId/60/DMXModule/396/language/sv-SE/Default.aspx

WinPE 2.0 ADSI Plugin
http://www.deployvista.com/Repository/WindowsPE20/tabid/73/language/sv-SE/Default.aspx

WinPE 1.6 ADSI Plugin
http://www.myitforum.com/articles/2/view.asp?id=8810

The provided sample script, enumerating users in the Users Container.

/ Johan

About the author

Johan Arwidmark

0 0 votes
Article Rating
Subscribe
Notify of
guest
5 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
sully213
sully213
10 years ago

Thanks for the confirmation thurlburt. This thought had crossed my mind but I haven't had a chance to investigate it. Glad to hear it is able to work.

thurlburt
thurlburt
10 years ago

ADSI support is not in WinPE 5.0. However, I verified that the 4.0 plug-in works on that too. To make it work copy the dlls listed in the readme.txt from the 8.1 installation instead of the 8.0 installation and if using the CreateBootImage_x64.cmd script the paths will have to be updated from 8.0 to 8.1.

sully213
sully213
10 years ago

Hi Johan, I've been searching for a while and can't find anything definitive if ADSI support now exists in WinPE 5.0. I'd like to update to MDT 2013 but I currently have some things I'm doing in my task sequences that require ADSI support in WinPE. Is ADSI now natively supported in WinPE 5.0 or should I be on the lookout for an updated ADSI plugin from you in the future?

Thanks for all that you do to help out us MDT noobs!

Admin
Admin
10 years ago

Thanks for your support, I have updated the plugin.

/ Johan

schuetdm
schuetdm
10 years ago

Johan, Thank you for this usefull Plugin. It's especially nice that it's in a driver inf format which makes it easy to import into SCCM so that everytime a boot image is updated it's automatically included. I was trying to use this to get the CheckCredentialsAD function in the MDT to work in WinPE. The funtion uses GetObject("WinNT:") instead of GetObject("LDAP:") so your plugin didn't quite work, however it was very close. I might suggust adding the following additional registry entries to the ADSI.inf file, no additional .dlls are needed. I've tested this in WinPE 4.0 and the CheckCredentialsAD function… Read more »


>