Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Editer l'article Suivre ce blog Administration + Créer mon blog
MENU

Create A WinPE 3.0 Boot Disk for LANDesk Provisioning

Publié le par damcuvelier

 

Overview

This document describes the steps used to create the WinPE 3.0 image that works with LANDesk 9.0 SP2 and ADSI.

Requirements

  1. A Windows 7 PC to work on (XP will work but sometimes has issues using ImageX)
  2. Windows Automated Installation Kit (WAIK) for Windows 7
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=696dd665-9f76-4177-a811-39c26d3b3b34&displaylang=en
  3. ADSI for Windows PE 3.0 (optional)
    http://www.deployvista.com/Home/tabid/36/EntryID/127/language/en-US/Default.aspx
  4. Boot.wim file from an original LANDesk 9.0 SP2 WindowsPE boot disk

Configuring the Windows 7 Computer

  1. Install WAIK onto computer.
  2. Create two folders in the root of C:
    • \MountOld
    • \MountNew
  3. Open a command prompt
  4. Enter: CD \Program Files\Windows AIK\Tools\PETools\
  5. Execute command: CopyPE.cmd x86 C:\wpe
    This will create a folder called wpe and copy the needed files. Most importantly, the winpe.wim file (modified date of 7/13/2009), which is the new WinPE 3.0 image. This command will fail if the wpe folder exists already
  6. Copy the original Boot.wim file from the LANDesk 9.0 boot disk to the C:\Wpe folder\
  7. For ease-of-use, copy the Tools folder from C:\Program Files\Windows AIK\ to C:\wpe\

Modifying the WinPE 3.0

  1. Open a command prompt using “Run As Administrator”
  2. Navigate to C:\wpe\Tools\x86
  3. Execute: Imagex.exe /mount C:\wpe\boot.wim 1 C:\MountOld
  4. Execute: Imagex.exe /mount C:\wpe\winpe.wim 1 C:\MountNew
  5. Copy the following folders from C:\MountOld to C:\MountNew (these folders contain the LANDesk files necessary for provisioning)
    • Cba8
    • InstalledDrivers
    • Ldclient
  6. Copy the following files from C:\mountOld\Windows\System32 to C:\MountNew\Windows\system32
    • ALL.REG
    • Winpe.bmp
    • WinPE20ProvBootOpt.REG
  7. Execute: Imagex.exe /unmount C:\MountOld
  8. Execute: REG.EXE load HKLM\SysNew C:\MountNew\Windows\System32\Config\SYSTEM
  9. Import the following registry keys. This adds the LANDesk remote control service, and adds the LANDesk Folders to the PATH. (you can cut & paste this text into a .reg file for easy import)

    BootDisk.reg

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SysNew\ControlSet001\Services\ISSUSER]
    "Type"=dword:00000110
    "Start"=dword:00000002
    "ErrorControl"=dword:00000001
    "ImagePath"=hex(7):78,00,3a,00,5c,00,63,00,62,00,61,00,38,00,5c,00,69,00,73,00,\
    73,00,75,00,73,00,65,00,72,00,2e,00,65,00,78,00,65,00,20,00,2f,00,53,00,45,\
    00,52,00,56,00,49,00,43,00,45,00,00,00,00,00
    "DisplayName"="LANDesk Remote Control Service"
    "ObjectName"="LocalSystem"
    "Description"="Allows Remote Control from the internal help desk or IT organization."

    [HKEY_LOCAL_MACHINE\SysNew\ControlSet001\Control\Session Manager\Environment]
    "Path"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
    00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,3b,00,25,00,\
    53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,3b,00,25,\
    00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,\
    53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,62,00,65,00,6d,\
    00,3b,00,58,00,3a,00,5c,00,43,00,42,00,41,00,38,00,3b,00,58,00,3a,00,5c,00,\
    6c,00,64,00,63,00,6c,00,69,00,65,00,6e,00,74,00,00,00

  10. Execute: REG.EXE unload HKLM\SysNew
  11. Optional: Modify the screen resolution of Windows PE by following the syntax in this article. (change the file named C:\MountNew\Windows\System32\Unattend.xml) http://community.landesk.com/support/ideas/1858
  12. Navigate to C:\wpe\Tools\x86\Servicing
  13. Execute the following commands:
    • Dism /Image:C:\MountNew /Add-Package /PackagePath:C:\wpe\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab
    • Dism /Image:C:\MountNew /Add-Package /PackagePath:C:\wpe\Tools\PETools\x86\WinPE_FPs\winpe-mdac.cab
    • Dism /Image:C:\MountNew /Add-Package /PackagePath:C:\wpe\Tools\PETools\x86\WinPE_FPs\winpe-scripting.cab
    • Dism /Image:C:\MountNew /Add-Package /PackagePath:C:\wpe\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab
    • Dism /Image:C:\MountNew /Add-Package /PackagePath:C:\wpe\Tools\PETools\x86\WinPE_FPs\en-us\winpe-hta_en-us.cab
    • Dism /Image:C:\MountNew /Add-Package /PackagePath:C:\wpe\Tools\PETools\x86\WinPE_FPs\en-us\winpe-mdac_en-us.cab
    • Dism /Image:C:\MountNew /Add-Package /PackagePath:C:\wpe\Tools\PETools\x86\WinPE_FPs\en-us\winpe-scripting_en-us.cab
    • Dism /Image:C:\MountNew /Add-Package /PackagePath:C:\wpe\Tools\PETools\x86\WinPE_FPs\en-us\winpe-wmi_en-us.cab
    • Dism /Image:C:\MountNew /Add-Driver /Driver:D:\ADSIPlug\ADSIx86\ADSIx86.inf /forceunsigned (optional, you must download and extract the ADSI plugin to this folder manually)
    • Dism /Image:C:\MountNew /Add-Driver /Driver:C:\wpe\VMWareDrivers\ /forceunsigned (optional, this is where i put all my drivers for VMWare so that I can use the boot disk in VMware, downloadable here)
  14. Execute: Imagex.exe /commit C:\MountNew
  15. Execute: Imagex.exe /unmount C:\MountNew
  16. Copy C:\wpe\WinPe.wim to the boot folder of a USB boot disk and rename to boom.wim (replacing the existing file)

 

AND ADD DRIVERS and you can do this to:  

Use WinPE3.0 for OSD with all include (HTA/WMI/MDAC/Scripting/ADSI)

 

 

Pre required :

  • Windows 7 OS DVD
  • WAIK 2010
  • 3 files (a batch, a reg, an inf)

Instructions

  • Create this tree on your C:

C:\ -> ldpe30_OSD\ -> ADSIx86\ -> ADSIx86.inf

-> ADSIx86\ -> adsldp.dll

-> ADSIx86\ -> adsmsext.dll

-> ADSIx86\ -> adsnt.dll

-> ADSIx86\ -> mscoree.dll

-> ADSIx86\ -> mscorier.dll

-> ADSIx86\ -> mscories.dll

-> register.reg

-> MakeMyWimLD30.cmd

  • Copy the dll’s files from Windows7 DVD – Install.wim (from c:\windows\system32\) (adsldp.dll,adsmsext.dll,adsnt.dll,mscoree.dll,mscorier.dll,mscories.dll) on “C:\ldpe30_OSD\ADSI_x86\”
  • Create “register.reg” :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\LD9\ControlSet001\Services\ISSUSER]
“Type”=dword:00000110
“Start”=dword:00000002
“ErrorControl”=dword:00000001
“ImagePath”=hex(7):78,00,3a,00,5c,00,63,00,62,00,61,00,38,00,5c,00,69,00,73,00,\
73,00,75,00,73,00,65,00,72,00,2e,00,65,00,78,00,65,00,20,00,2f,00,53,00,45,\
00,52,00,56,00,49,00,43,00,45,00,00,00,00,00
“DisplayName”=”LANDesk Remote Control Service”
“ObjectName”=”LocalSystem”
“Description”=”Allows Remote Control from the internal help desk or IT organization.”
[HKEY_LOCAL_MACHINE\LD9\ControlSet001\Control\Session Manager\Environment]
“Path”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,3b,00,25,00,\
53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,3b,00,25,\
00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,\
53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,62,00,65,00,6d,\
00,3b,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\
65,00,25,00,5c,00,43,00,42,00,41,00,38,00,3b,00,25,00,53,00,79,00,73,00,74,\
00,65,00,6d,00,44,00,72,00,69,00,76,00,65,00,25,00,5c,00,4c,00,44,00,43,00,\
6c,00,69,00,65,00,6e,00,74,00,00,00

  • Create “MakeMyWimLD30.cmd” and change “ld9corename”

@Echo OFF
Echo ====================================
Echo Copy the WIM of LANDesk
Echo ====================================
MD C:\WinPE_LD
copy \\ld9corename\ldmain\landesk\vboot\boot.wim C:\WinPE_LD\boot.wim

Echo.
Echo ====================================
Echo Mount LD Wim
Echo ====================================
MD C:\WinPE_LD\mount
imagex /mountrw C:\WinPE_LD\boot.wim 1 C:\WinPE_LD\Mount

Echo.
Echo ====================================
Echo Creating a x86 WinPE in C:\WinPE_x86
Echo ====================================
call copype x86 C:\WinPE_x86

Echo.
Echo ====================================
Echo Mounting the winpe.wim 7 file
Echo ====================================
imagex /mountrw C:\WinPE_x86\winpe.wim 1 C:\WinPE_x86\Mount

Echo.
Echo ====================================
Echo Add the necessary WinPE Packages
Echo ====================================
Dism /Image:C:\WinPE_x86\Mount /Add-Package /PackagePath:”c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab”
Dism /Image:C:\WinPE_x86\Mount /Add-Package /PackagePath:”c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-mdac.cab”
Dism /Image:C:\WinPE_x86\Mount /Add-Package /PackagePath:”c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-scripting.cab”
Dism /Image:C:\WinPE_x86\Mount /Add-Package /PackagePath:”c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab”
Dism /Image:C:\WinPE_x86\Mount /Add-Package /PackagePath:”c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\fr-fr\winpe-hta_fr-fr.cab”
Dism /Image:C:\WinPE_x86\Mount /Add-Package /PackagePath:”c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\fr-fr\winpe-mdac_fr-fr.cab”
Dism /Image:C:\WinPE_x86\Mount /Add-Package /PackagePath:”c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\fr-fr\winpe-scripting_fr-fr.cab”
Dism /Image:C:\WinPE_x86\Mount /Add-Package /PackagePath:”c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\fr-fr\winpe-wmi_fr-fr.cab”

Echo.
Echo ====================================
Echo Add the x86 ADSI Plugin to WinPE 3.0
Echo ====================================
Dism /Image:C:\WinPE_x86\Mount /Add-Driver /Driver:C:\ldpe30_OSD\ADSIx86\ADSIx86.inf /forceunsigned

Echo.
Echo ====================================
Echo Copy LD Components from LD WIM
Echo ====================================
xcopy C:\WinPE_LD\Mount\cba8\*.* C:\WinPE_x86\Mount\cba8\*.* /S /I /Y
xcopy C:\WinPE_LD\Mount\ldclient\*.* C:\WinPE_x86\Mount\ldclient\*.* /S /I /Y
xcopy C:\WinPE_LD\Mount\temp\*.* C:\WinPE_x86\Mount\temp\*.* /S /I /Y
xcopy C:\WinPE_LD\Mount\InstalledDrivers\*.* C:\WinPE_x86\Mount\InstalledDrivers\*.* /S /I /Y
copy C:\WinPE_LD\Mount\Windows\System32\PEShell.exe C:\WinPE_x86\Mount\Windows\System32\PEShell.exe
copy C:\WinPE_LD\Mount\Windows\System32\winpe.bmp C:\WinPE_x86\Mount\Windows\System32\winpe.bmp
copy C:\WinPE_LD\Mount\Windows\System32\ALL.REG C:\WinPE_x86\Mount\Windows\System32\ALL.REG
copy C:\WinPE_LD\Mount\Windows\System32\WINPESHL.INI C:\WinPE_x86\Mount\Windows\System32\WINPESHL.INI
copy C:\WinPE_LD\Mount\Windows\System32\startnet.cmd C:\WinPE_x86\Mount\Windows\System32\startnet.cmd

Echo.
Echo ====================================
Echo Apply ISSUSER as service and modify Path
Echo ====================================
reg load HKLM\LD9 C:\WinPE_x86\Mount\Windows\System32\config\SYSTEM
regedit /s C:\ldpe30_OSD\register.reg
reg unload HKLM\LD9

Echo.
Echo ====================================
Echo Create boot.wim LD_WinPE3.0
Echo ====================================
imagex.exe /boot /compress maximum /capture C:\winpe_x86\Mount c:\boot.wim “WinPE 3.0″
Echo.
Echo ====================================
Echo Unmount Wim’s
Echo ====================================
imagex /unmount /commit C:\WinPE_x86\Mount
imagex /unmount C:\winPE_LD\mount

  • Create “ADSIx86_inf”

;——————————————————————————
; WinPE 2.x/3x Optional Component Installation INF
;
; Johan Arwidmark
;——————————————————————————

[Version]
Signature=”$WINDOWS NT$”
Class=System
ClassGuid={4D36E97d-E325-11CE-BFC1-08002BE10318}
Provider=%TS%
DriverVer=09/18/2006,6.0.0.0

[Manufacturer]
%TS%=TS

[SourceDisksNames]
1=%DISK_DESC%

[SourceDisksFiles]
adsldp.dll=1
adsmsext.dll=1
adsnt.dll=1
mscoree.dll=1
mscorier.dll=1
mscories.dll=1

[DestinationDirs]
DefaultDestDir=11

[TS]
%PLUGINNAME%=OC_Inst,DUMMY\ADSI

[OC_inst]
CopyFiles=root

[OC_inst.HW]
AddReg=root_reg

[root]
adsldp.dll
adsmsext.dll
adsnt.dll
mscoree.dll
mscorier.dll
mscories.dll

[root_reg]

;
; Registry Settings
;

HKLM,SOFTWARE\Classes\CLSID\{233664b0-0367-11cf-abc4-02608c9e7553},,,”ADs Namespaces Object”
HKLM,SOFTWARE\Classes\CLSID\{233664b0-0367-11cf-abc4-02608c9e7553}\InprocServer32,,,”activeds.dll”
HKLM,SOFTWARE\Classes\CLSID\{233664b0-0367-11cf-abc4-02608c9e7553}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{233664b0-0367-11cf-abc4-02608c9e7553}\ProgID,,,”ADsNamespaces”
HKLM,SOFTWARE\Classes\CLSID\{233664b0-0367-11cf-abc4-02608c9e7553}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{233664b0-0367-11cf-abc4-02608c9e7553}\Version,,,”1.0″

HKLM,SOFTWARE\Classes\CLSID\{4753da60-5b71-11cf-b035-00aa006e0975},,,”ADs Provider Object”
HKLM,SOFTWARE\Classes\CLSID\{4753da60-5b71-11cf-b035-00aa006e0975}\InprocServer32,,,”activeds.dll”
HKLM,SOFTWARE\Classes\CLSID\{4753da60-5b71-11cf-b035-00aa006e0975}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{4753da60-5b71-11cf-b035-00aa006e0975}\ProgID,,,”ADs”
HKLM,SOFTWARE\Classes\CLSID\{4753da60-5b71-11cf-b035-00aa006e0975}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{4753da60-5b71-11cf-b035-00aa006e0975}\Version,,,”1.0″

HKLM,SOFTWARE\Classes\CLSID\{f270c64a-ffb8-4ae4-85fe-3a75e5347966},,,”ADs Security Utility Object”
HKLM,SOFTWARE\Classes\CLSID\{f270c64a-ffb8-4ae4-85fe-3a75e5347966}\InprocServer32,,,”activeds.dll”
HKLM,SOFTWARE\Classes\CLSID\{f270c64a-ffb8-4ae4-85fe-3a75e5347966}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{f270c64a-ffb8-4ae4-85fe-3a75e5347966}\ProgID,,,”ADsSecurityUtility”
HKLM,SOFTWARE\Classes\CLSID\{f270c64a-ffb8-4ae4-85fe-3a75e5347966}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{f270c64a-ffb8-4ae4-85fe-3a75e5347966}\Version,,,”1.0″

HKLM,SOFTWARE\Classes\CLSID\{549365d0-ec26-11cf-8310-00aa00b505db},,,”ADsDSOObject”
HKLM,SOFTWARE\Classes\CLSID\{549365d0-ec26-11cf-8310-00aa00b505db}\InprocServer32,,,”activeds.dll”
HKLM,SOFTWARE\Classes\CLSID\{549365d0-ec26-11cf-8310-00aa00b505db}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{549365d0-ec26-11cf-8310-00aa00b505db}\OLE DB Provider,,,”OLE DB Provider for Microsoft Directory Services”
HKLM,SOFTWARE\Classes\CLSID\{549365d0-ec26-11cf-8310-00aa00b505db}\ProgID,,,”ADsDSOObject”

HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E},,,”AD System Info Object”
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\InprocServer32,,,”adsldp.dll”
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\ProgID,,,”ADSystemInfo”
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\Version,,,”1.0″

;
; User Extension
;

HKLM,SOFTWARE\Classes\CLSID\{4de7016c-5ef9-11d1-8c13-00c04fd8d503},,,”Microsoft User Extension”
HKLM,SOFTWARE\Classes\CLSID\{4de7016c-5ef9-11d1-8c13-00c04fd8d503}\InprocServer32,,,”adsmsext.dll”
HKLM,SOFTWARE\Classes\CLSID\{4de7016c-5ef9-11d1-8c13-00c04fd8d503}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{4de7016c-5ef9-11d1-8c13-00c04fd8d503}\ProgID,,,,”MSExtUser”
HKLM,SOFTWARE\Classes\CLSID\{4de7016c-5ef9-11d1-8c13-00c04fd8d503}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{4de7016c-5ef9-11d1-8c13-00c04fd8d503}\Version,,,”1.0″

HKLM,Software\Microsoft\ADs\Providers\LDAP\Extensions\User\{4de7016c-5ef9-11d1-8c13-00c04fd8d503},Interfaces,0×00010000,”{3e37e320-17e2-11cf-abc4-02608c9e7553}”

;
; Computer extension same as user
;

HKLM,Software\Microsoft\ADs\Providers\LDAP\Extensions\Computer\{4de7016c-5ef9-11d1-8c13-00c04fd8d503},Interfaces,0×00010000,”{3e37e320-17e2-11cf-abc4-02608c9e7553}”

;
; Group Extension
;

HKLM,SOFTWARE\Classes\CLSID\{94a909a5-6f52-11d1-8c18-00c04fd8d503},,,”Microsoft Group Extension”
HKLM,SOFTWARE\Classes\CLSID\{94a909a5-6f52-11d1-8c18-00c04fd8d503}\InprocServer32,,,”adsmsext.dll”
HKLM,SOFTWARE\Classes\CLSID\{94a909a5-6f52-11d1-8c18-00c04fd8d503}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{94a909a5-6f52-11d1-8c18-00c04fd8d503}\ProgID,,,”MSExtGroup”
HKLM,SOFTWARE\Classes\CLSID\{94a909a5-6f52-11d1-8c18-00c04fd8d503}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{94a909a5-6f52-11d1-8c18-00c04fd8d503}\Version,,,”1.0″

HKLM,Software\Microsoft\ADs\Providers\LDAP\Extensions\Group\{94a909a5-6f52-11d1-8c18-00c04fd8d503},Interfaces,0×00010000,”{27636b00-410f-11cf-b1ff-02608c9e7553}”
HKLM,Software\Microsoft\ADs\Providers\LDAP\Extensions\localGroup\{94a909a5-6f52-11d1-8c18-00c04fd8d503},Interfaces,0×00010000,”{27636b00-410f-11cf-b1ff-02608c9e7553}”

;
; Locality Extension
;

HKLM,SOFTWARE\Classes\CLSID\{2dfb3a35-6071-11d1-8c13-00c04fd8d503},,,”Microsoft Locality Extension”
HKLM,SOFTWARE\Classes\CLSID\{2dfb3a35-6071-11d1-8c13-00c04fd8d503}\InprocServer32,,,”adsmsext.dll”
HKLM,SOFTWARE\Classes\CLSID\{2dfb3a35-6071-11d1-8c13-00c04fd8d503}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{2dfb3a35-6071-11d1-8c13-00c04fd8d503}\ProgID,,,”MSExtLocality”
HKLM,SOFTWARE\Classes\CLSID\{2dfb3a35-6071-11d1-8c13-00c04fd8d503}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{2dfb3a35-6071-11d1-8c13-00c04fd8d503}\Version,,,”1.0″

HKLM,Software\Microsoft\ADs\Providers\LDAP\Extensions\Locality\{2dfb3a35-6071-11d1-8c13-00c04fd8d503},Interfaces,0×00010000,”{a05e03a2-effe-11cf-8abc-00c04fd8d503}”

;
; Organization Extension
;

HKLM,SOFTWARE\Classes\CLSID\{dccc0bed-6066-11d1-8c13-00c04fd8d503},,,”Microsoft Organization Extension”
HKLM,SOFTWARE\Classes\CLSID\{dccc0bed-6066-11d1-8c13-00c04fd8d503}\InprocServer32,,,”adsmsext.dll”
HKLM,SOFTWARE\Classes\CLSID\{dccc0bed-6066-11d1-8c13-00c04fd8d503}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{dccc0bed-6066-11d1-8c13-00c04fd8d503}\ProgID,,,”MSExtOrganization”
HKLM,SOFTWARE\Classes\CLSID\{dccc0bed-6066-11d1-8c13-00c04fd8d503}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{dccc0bed-6066-11d1-8c13-00c04fd8d503}\Version,,,”1.0″

HKLM,Software\Microsoft\ADs\Providers\LDAP\Extensions\Organization\{dccc0bed-6066-11d1-8c13-00c04fd8d503},Interfaces,0×00010000,”{a1cd2dc6-effe-11cf-8abc-00c04fd8d503}”

;
; Organization Unit Extension
;

HKLM,SOFTWARE\Classes\CLSID\{fd8d3a5f-6066-11d1-8c13-00c04fd8d503},,,”Microsoft OrganizationUnit Extension”
HKLM,SOFTWARE\Classes\CLSID\{fd8d3a5f-6066-11d1-8c13-00c04fd8d503}\InprocServer32,,,”adsmsext.dll”
HKLM,SOFTWARE\Classes\CLSID\{fd8d3a5f-6066-11d1-8c13-00c04fd8d503}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{fd8d3a5f-6066-11d1-8c13-00c04fd8d503}\ProgID,”MSExtOrganizationUnit”
HKLM,SOFTWARE\Classes\CLSID\{fd8d3a5f-6066-11d1-8c13-00c04fd8d503}\TypeLib,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{fd8d3a5f-6066-11d1-8c13-00c04fd8d503}\Version,”1.0″

HKLM,Software\Microsoft\ADs\Providers\LDAP\Extensions\OrganizationalUnit\{fd8d3a5f-6066-11d1-8c13-00c04fd8d503},Interfaces,0×00010000,”{a2f733b8-effe-11cf-8abc-00c04fd8d503}”

;
; PrintQueue Extension
;

HKLM,SOFTWARE\Classes\CLSID\{9f37f39c-6f49-11d1-8c18-00c04fd8d503},,,”Microsoft PrintQueue Extension”
HKLM,SOFTWARE\Classes\CLSID\{9f37f39c-6f49-11d1-8c18-00c04fd8d503}\InprocServer32,,,”adsmsext.dll”
HKLM,SOFTWARE\Classes\CLSID\{9f37f39c-6f49-11d1-8c18-00c04fd8d503}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{9f37f39c-6f49-11d1-8c18-00c04fd8d503}\ProgID,,,”MSExtPrintQueue”
HKLM,SOFTWARE\Classes\CLSID\{9f37f39c-6f49-11d1-8c18-00c04fd8d503}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{9f37f39c-6f49-11d1-8c18-00c04fd8d503}\Version,,,”1.0″

HKLM,Software\Microsoft\ADs\Providers\LDAP\Extensions\PrintQueue\{9f37f39c-6f49-11d1-8c18-00c04fd8d503},Interfaces,0×00010000,”{b15160d0-1226-11cf-a985-00aa006bc149}”,”{124be5c0-156e-11cf-a986-00aa006bc149}”

;
; LDAP Registry Settings
;

HKLM,SOFTWARE\Classes\CLSID\{228D9A81-C302-11cf-9AA4-00AA004A5691},,,”LDAP Provider Object”
HKLM,SOFTWARE\Classes\CLSID\{228D9A81-C302-11cf-9AA4-00AA004A5691}\InprocServer32,,,”adsldp.dll”
HKLM,SOFTWARE\Classes\CLSID\{228D9A81-C302-11cf-9AA4-00AA004A5691}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{228D9A81-C302-11cf-9AA4-00AA004A5691}\ProgID,,,”LDAP”
HKLM,SOFTWARE\Classes\CLSID\{228D9A81-C302-11cf-9AA4-00AA004A5691}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{228D9A81-C302-11cf-9AA4-00AA004A5691}\Version,,,”1.0″

HKLM,SOFTWARE\Classes\CLSID\{228D9A82-C302-11cf-9AA4-00AA004A5691},,,”LDAP Namespace Object”
HKLM,SOFTWARE\Classes\CLSID\{228D9A82-C302-11cf-9AA4-00AA004A5691}\InprocServer32,,,”adsldp.dll”
HKLM,SOFTWARE\Classes\CLSID\{228D9A82-C302-11cf-9AA4-00AA004A5691}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{228D9A82-C302-11cf-9AA4-00AA004A5691}\ProgID,,,”LDAPNamespace”
HKLM,SOFTWARE\Classes\CLSID\{228D9A82-C302-11cf-9AA4-00AA004A5691}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{228D9A82-C302-11cf-9AA4-00AA004A5691}\Version,,,”1.0″

HKLM,SOFTWARE\Classes\CLSID\{274fae1f-3626-11d1-a3a4-00c04fb950dc},,,”ADs LDAP NameTranslate Object”
HKLM,SOFTWARE\Classes\CLSID\{274fae1f-3626-11d1-a3a4-00c04fb950dc}\InprocServer32,,,”adsldp.dll”
HKLM,SOFTWARE\Classes\CLSID\{274fae1f-3626-11d1-a3a4-00c04fb950dc}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{274fae1f-3626-11d1-a3a4-00c04fb950dc}\ProgID,,,”NameTranslate”
HKLM,SOFTWARE\Classes\CLSID\{274fae1f-3626-11d1-a3a4-00c04fb950dc}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{274fae1f-3626-11d1-a3a4-00c04fb950dc}\Version,,,”1.0″

HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E},,,”AD System Info Object”
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\InprocServer32,,,”adsldp.dll”
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\ProgID,,,”ADSystemInfo”
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{50B6327F-AFD1-11d2-9CB9-0000F87A369E}\Version,,,”1.0″

HKLM,SOFTWARE\Microsoft\ADs\Providers\LDAP,,,”LDAPNamespace”
HKLM,SOFTWARE\Microsoft\ADs\Providers\LDAP,Aliases,,”GC”
HKLM,SOFTWARE\Microsoft\ADs\Providers\WinNT,,,”WinNTNamespace”

HKLM,SOFTWARE\Classes\LDAP\Clsid,,,”{228D9A81-C302-11cf-9AA4-00AA004A5691}”

HKLM,SOFTWARE\Classes\LDAPNamespace\Clsid,,,”{228D9A82-C302-11cf-9AA4-00AA004A5691}”

HKLM,SOFTWARE\Classes\WinNT\Clsid,,,”{8b20cd60-0f29-11cf-abc4-02608c9e7553}”

HKLM,SOFTWARE\Classes\WinNTNamespace\Clsid,,,”{250e91a0-0367-11cf-abc4-02608c9e7553}”

HKLM,SOFTWARE\Classes\CLSID\{250e91a0-0367-11cf-abc4-02608c9e7553},,,”WinNT Namespace Object”
HKLM,SOFTWARE\Classes\CLSID\{250e91a0-0367-11cf-abc4-02608c9e7553}\InprocServer32,,,”adsnt.dll”
HKLM,SOFTWARE\Classes\CLSID\{250e91a0-0367-11cf-abc4-02608c9e7553}\InprocServer32,ThreadingModel,,Both
HKLM,SOFTWARE\Classes\CLSID\{250e91a0-0367-11cf-abc4-02608c9e7553}\ProgID,,,”WinNTNamespace”
HKLM,SOFTWARE\Classes\CLSID\{250e91a0-0367-11cf-abc4-02608c9e7553}\TypeLib,,,”{97d25db0-0363-11cf-abc4-02608c9e7553}”
HKLM,SOFTWARE\Classes\CLSID\{250e91a0-0367-11cf-abc4-02608c9e7553}\Version,,,”1.0″

HKLM,SOFTWARE\Classes\ADs\Clsid,,,”{4753da60-5b71-11cf-b035-00aa006e0975}”

HKLM,SOFTWARE\Classes\ADsDSOObject],,,”OLE DB Provider for Microsoft Directory Services”
HKLM,SOFTWARE\Classes\ADsDSOObject\Clsid,,,”{549365d0-ec26-11cf-8310-00aa00b505db}”

HKLM,SOFTWARE\Classes\ADsNamespaces\Clsid,,,”{233664b0-0367-11cf-abc4-02608c9e7553}”

HKLM,SOFTWARE\Classes\ADsSecurityUtility,,,”ADs Security Utility Object”
HKLM,SOFTWARE\Classes\ADsSecurityUtility\Clsid,,,”{f270c64a-ffb8-4ae4-85fe-3a75e5347966}”

HKLM,SOFTWARE\Classes\ADSystemInfo\Clsid,,,”{50B6327F-AFD1-11d2-9CB9-0000F87A369E}”
;——————————————————————————
; String Definitions
;——————————————————————————

[Strings]
PLUGINNAME = “ADSI plugin”
TS=”TSLAB”
DESCRIPTION=”Integrates ADSI into Windows PE”
FRIENDLYNAME=”ADSI plugin”
DISK_DESC=”Current Directory”

  • Launch the batch and wait. (WARNING : Launch batch on cmd command of PE Util, not classic cmd)
  • You find a boot.wim on C:\
  • Replace on the core server and redeploy PXE.
  • Enjoy with ADSI on Windows PE 3.0

 

sources:

http://community.landesk.com/support/message/59163#59163
http://www.droppedpackets.org/systemmanagement/ldms/osd/use-winpe3-0-for-osd-with-all-include-htawmimdacscriptingadsi/
http://www.droppedpackets.org/category/systemmanagement/ldms/osd/

 

 

to go further:

http://technet.microsoft.com/en-us/library/dd744533(WS.10).aspx

 

 

work roll out:

landesk osd content: http://help.landesk.com/Topic/Index/FRA/LDMS/9.0/Content/Windows/osd_app.htm
Bootpe 3.0, landesk: http://community.landesk.com/support/message/75258
pxeBootpe 2.0: http://www.inference.phy.cam.ac.uk/prlw1/computing/winpe.shtml

PxeMenuStart.cmd:
http://community.landesk.com/support/thread/10960
http://help.landesk.com/Topic/Index/FRA/LDMS/9.0/Content/Windows/osd_app.htm#using_landesk_tool_windows

Commenter cet article