Skip to content

ADSI Support for Win PE 4.0

Featured Replies

I follow this guide to integrate ADSI tools to the WIN PE 4 x64 boot image. CreateBootImage_x64.cmd batch file ran successfully but when I run the "Connect_to_DC_Sample.vbs" file from the X drive I get the following error :Line: 3 Char: 1, error: invalid syntax code:800401e4 saurce:null. I am running a server 2012 domain, is there anything I need to do on the domain before I try this? please help.

did you read the readme supplied by Johan and did you configure the VBS file with the requirements it needs ?

 

' Sample script that displays all objects in the users contatiner

Set openDS = GetObject("LDAP:") 

<- it's failing here for you

 

did you configure these lines ?

 

"LDAP://dc01/cn=users,dc=corp,dc=viamonstra,dc=com", _
"administrator@corp.viamonstra.com", _
"Password01", _

  • Author

yes, I did change it to my domain details. one thing I noticed is that, if I were to run the file on a windows 8 x64 PC I get the results without any errors, but the error comes up when I try to run this from winPE.

  • Author

I got it fixed. I was copying files from the SYSWOW64 folder instead of the system 32 folder.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.