Grab our RSS feeds Follow us on Twitter Join our Facebook Group Connect with us on LinkedIn
myITforum.com, Powered by You.
you are not logged in

Articles

Newslinks

Links

Downloads

Site Services

Community Forums

Discussion Lists

Article Search

Newsletter

Web Blogs

FAQs

Live Support

myITforum TV

Take a Poll

Monthly Drawing

myITforum Network

User Group Directory

Our Partners

About Us

Register

Login

BRONZE PARTNER:

BRONZE PARTNER:



Industry News:




  Home : Articles : Miscellaneous print | email | | Forums |   print | email | | Blogs |   print | email | | Wiki |   print | email | | FAQs |   print | email | Article Search  
How to add ADSI support to Windows PE 2005 (WinPE)


Bookmark and Share

By: Johan Arwidmark
Posted On: 9/19/2005

Download sample vbscript
10977Connect_to_dc.zip

Step-by-step instructions

1. Copy the WINPE folder from the Windows PE 2005 CDROM to C:\

2. Insert the Windows XP SP2 or Windows Server 2003 SP1 CD-ROM (F: in this example). Start a command prompt and type:

cd /d c:\winpe
mkimg.cmd F: C:\WinPE_ADSI

3. Extract the additional ADSI files from the Windows XP SP2 or Windows Server 2003 SP1 CD-ROM (F: in this example). Start a command prompt and type:

expand F:\i386\activeds.tl_ C:\WinPE_ADSI\i386\system32\activeds.tlb
expand F:\i386\adsldp.dl_ C:\WinPE_ADSI\i386\system32\adsldp.dll

4. Add support for WSH, ADO and HTA to WinPE. Start a command prompt and type:

cd /d c:\winpe
buildoptionalcomponents.vbs /S:F: /D:C:\WinPE_ADSI /Q

5. Edit C:\WinPE_ADSI\i386\system32\STARTNET.CMD and add the following line at the bottom.

oc.bat

6. Modify the sample script according to your environment and save it in C:\WinPE_ADSI\i386\system32

7. Create a Bootable CD by starting a command prompt and type this.

cd /d c:\winpe
oscdimg -h -n -betfsboot.com C:\WinPE_ADSI C:\WinPE_ADSI.iso

8. Burn the .iso to a CD using Nero or other cdr burning software

Note: When using ADSI in Windows PE you need to bind to Active Directory. The sample vbscript connects to a domain controller and displays all objects in the users contatiner.


  myITforum.com ©2010 | Legal | Privacy