Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

86860

March 6th, 2015 07:00

cctk.exe / hapi errors - winpe 3.0

Working with a dell 9020 desktop with the a09 bios.  Install dell command 3.0.0 on a desktop and configure settings.  Export them to a ini file and save the file and the program files folder to a usb key with windows 7 pe ( 3.0).

Boot into pe with the usb stick.  Install the hapi driver with the switches

hapint64.exe -I -k C-C-T-K -p "hapint64.exe"

Insall completes with no errors.

try to run cctk.exe with any switches and received a memory reference error.

The Instruction at 0x3f3bd940 referenced memeory at 0x0000f20.  The memory count not be read.

I get this error message with any switch I try to run cctk.

Tried several times and adjusted the hapi install to install all drivers

X:\dell\HAPI>hapint64.exe -i -v=d -fi=y -fb=y -fo=y -ft=y -fs=y -k C-C-T-K -p "h apint64.exe"

        WARNING: -ft command-line option is only applicable on 32-bit Windows.                  Ignoring and continuing anyway.

Installing Components *********************

HAPI version being installed: 7.40 HAPI version being installed: 7.40 Removing current HAPI base driver, if installed. Installing HAPI base driver and all HAPI libraries. Installing driver: dcdbas         WARNING: Source file does not exist: .\dcdbas64.pdb                  Ignoring and continuing.         WARNING: Source file does not exist: .\dcdbas64.pdb                  Ignoring and continuing. Installing library: ipm         ERROR: (CopyFile()) Could not copy to (X:\windows\system32\dcwipm64.dll)

 

Install Summary *************** Install Complete: Encountered errors -         * During HAPI component install.

Copied cctk into the hapi folder and tried again.  Same error message

The command runs this then I get the error

 

X:\dell\HAPI>cctk.exe /?
The system cannot find the path specified.
CoCreateInstance() failed for locatorGetWMISMBIOSTable: NULL pointer to SMBIOS E
ntry specified.GetWMISMBIOSVersion: null pointer passed as pSmbios.
getSmbiosTable(): GetWMISMBIOSData returned 0 for buffer size.CoCreateInstance()
 failed for locatorGetWMISMBIOSTable: NULL pointer to SMBIOS Entry specified.Get
WMISMBIOSVersion: null pointer passed as pSmbios.
getSmbiosTable(): GetWMISMBIOSData returned 0 for buffer size.

 

Already working with dell and waiting on dell developers to provide an answer.  Has anyone see this error before?

 

5 Practitioner

 • 

274.2K Posts

March 11th, 2015 07:00

I tried installing  hapi drivr the recommended way using the bat file, and also by trying to mount the bootdisk.  I believe I found the issue today.  I did some additional test and it seems that version 3.0.0 and 3.0.0.1 of dell command produces the error in specific version of Win PE.

My test boot key was using WinPe 6.1.7601 ( windows 7 sp1  waik - PE 3.1)

Test

Copy X86_64 dir from windows machine to PE bootdisk

Run HapiInstall.bat

Cd.. to get to higher folder level

Run cctk –version

Error

Recreated boot key with WinPE version 6.2.9200 ( Windows 8 waik - PE 4 )

Running the same steps

I am able to set Bios settings no error

March 7th, 2015 22:00

Hi CPUPROFESSIONAL, 

i doubt that CCTK.exe file may not be present directly under the HAPI folder ("X:\dell\HAPI>cctk.exe /? ")  . i would suggest you to try the latest DCC version. 3.0.0.1 from here . And also, DCC already has few pre-written batch scripts for creating WinPE ISO images. you can find more information and steps in Install Guides of DCC here. please let us know you still face any issues. 

Thanks.

Karthik

5 Practitioner

 • 

274.2K Posts

March 7th, 2015 23:00

5 Practitioner

 • 

274.2K Posts

March 7th, 2015 23:00

I worked with warren on and i am waiting on developer input to the error.  I did not mount or update the pe image,  rather installed the hapi, driver from inside pe.  During testing i also copied the cctk file and xml file to the hapi folder and tried again.  Below is an export of what was run from cmd line in pe. F drive is the usb stick containing pe,  this was also tried by xcopying to the x deive and running from there also.

Dell 9020  bio a09,   alsol tried additional hapi switches

F:\x86_64\HAPI\hapint64.exe -> X:\dell\HAPI\hapint64.exe

F:\x86_64\HAPI\HAPIUninstall.bat -> X:\dell\HAPI\HAPIUninstall.bat

F:\x86_64\HAPI\install.bat -> X:\dell\HAPI\install.bat

F:\x86_64\HAPI\mxml1.dll -> X:\dell\HAPI\mxml1.dll

F:\x86_64\HAPI\omsacntl.exe -> X:\dell\HAPI\omsacntl.exe

F:\x86_64\HAPI\pci.ids -> X:\dell\HAPI\pci.ids

41 File(s) copied

X:\>cd dell

X:\dell>dir

Volume in drive X is Boot

Volume Serial Number is D60A-0DC2

Directory of X:\dell

03/05/2015  06:05 PM    

         .

03/05/2015  06:05 PM    

         ..

10/30/2014  10:02 PM           771,432 cctk.exe

05/05/2014  04:09 PM             6,421 cctk_x86_64_winpe.bat

05/05/2014  04:09 PM             7,061 cctk_x86_64_WinPE_3.bat

05/05/2014  04:09 PM             8,036 cctk_x86_64_winpe_4.bat

05/05/2014  04:09 PM             8,050 cctk_x86_64_winpe_5.bat

10/30/2014  10:02 PM           116,072 mxml1.dll

06/12/2014  10:35 AM           911,894 pci.ids

03/05/2015  06:01 PM    

         HAPI

              7 File(s)      1,828,966 bytes

              3 Dir(s)      24,776,704 bytes free

X:\dell>cd hapi

X:\dell\HAPI>dir

Volume in drive X is Boot

Volume Serial Number is D60A-0DC2

Directory of X:\dell\HAPI

03/05/2015  06:01 PM    

         .

03/05/2015  06:01 PM    

         ..

10/30/2014  10:02 PM           771,432 cctk.exe

05/05/2014  04:09 PM             8,399 dcdbas32.cat

05/05/2014  04:09 PM             1,760 dcdbas32.inf

05/05/2014  04:09 PM            33,312 dcdbas32.sys

05/05/2014  04:09 PM             8,580 dcdbas64.cat

05/05/2014  04:09 PM             1,816 dcdbas64.inf

05/05/2014  04:09 PM            39,480 dcdbas64.sys

05/05/2014  04:09 PM                17 dcdipm64.sys

05/05/2014  04:09 PM           272,416 dchapi32.dll

05/05/2014  04:09 PM           325,152 dchapi64.dll

05/05/2014  04:09 PM           385,056 dchbas32.dll

05/05/2014  04:09 PM           462,880 dchbas64.dll

05/05/2014  04:09 PM           282,144 dchcfg32.exe

05/05/2014  04:09 PM           338,464 dchcfg64.exe

05/05/2014  04:09 PM           231,456 dchcfl32.dll

05/05/2014  04:09 PM           268,320 dchcfl64.dll

05/05/2014  04:09 PM           278,560 dchesm32.dll

05/05/2014  04:09 PM           364,576 dchipm32.dll

05/05/2014  04:09 PM           474,144 dchipm64.dll

05/05/2014  04:09 PM           503,840 dchtst32.exe

05/05/2014  04:09 PM           598,560 dchtst64.exe

05/05/2014  04:09 PM           316,448 dchtvm32.dll

05/05/2014  04:09 PM           117,280 dciwds32.exe

05/05/2014  04:09 PM            80,928 dcmdev32.exe

05/05/2014  04:09 PM            93,728 dcmdev64.exe

05/05/2014  04:09 PM           168,480 dcwipm32.dll

05/05/2014  04:09 PM               100 HAPIInstall.bat

05/05/2014  04:09 PM           387,616 hapint.exe

05/05/2014  04:09 PM           387,616 hapint64.exe

05/05/2014  04:09 PM                78 HAPIUninstall.bat

03/05/2015  06:00 PM                79 install.bat

10/30/2014  10:02 PM           116,072 mxml1.dll

05/05/2014  04:09 PM         2,727,456 omsacntl.exe

06/12/2014  10:35 AM           911,894 pci.ids

             34 File(s)     10,958,139 bytes

              2 Dir(s)      24,776,704 bytes free

X:\dell\HAPI>hapint64.exe -i -v=d -fi=y -fb=y -fo=y -ft=y -fs=y -k C-C-T-K -p "h

apint64.exe"

       WARNING: -ft command-line option is only applicable on 32-bit Windows.

                Ignoring and continuing anyway.

Installing Components

*********************

HAPI version being installed: 7.40

HAPI version being installed: 7.40

Removing current HAPI base driver, if installed.

Installing HAPI base driver and all HAPI libraries.

Installing driver: dcdbas

       WARNING: Source file does not exist: .\dcdbas64.pdb

                Ignoring and continuing.

       WARNING: Source file does not exist: .\dcdbas64.pdb

                Ignoring and continuing.

Installing library: ipm

       ERROR: (CopyFile()) Could not copy to (X:\windows\system32\dcwipm64.dll)

Install Summary

***************

Install Complete: Encountered errors -

       * During HAPI component install.

X:\dell\HAPI>cctk.exe /?

The system cannot find the path specified.

CoCreateInstance() failed for locatorGetWMISMBIOSTable: NULL pointer to SMBIOS E

ntry specified.GetWMISMBIOSVersion: null pointer passed as pSmbios.

getSmbiosTable(): GetWMISMBIOSData returned 0 for buffer size.CoCreateInstance()

failed for locatorGetWMISMBIOSTable: NULL pointer to SMBIOS Entry specified.Get

WMISMBIOSVersion: null pointer passed as pSmbios.

getSmbiosTable(): GetWMISMBIOSData returned 0 for buffer size.

X:\dell\HAPI>notpad

'notpad' is not recognized as an internal or external command,

operable program or batch file.

X:\dell\HAPI>notepad

X:\dell\HAPI>hapint64.exe -i -v=d -fi=y -fb=y -fo=y -ft=y -fs=y -k C-C-T-K -p "h

apint64.exe"

       WARNING: -ft command-line option is only applicable on 32-bit Windows.

                Ignoring and continuing anyway.

Installing Components

*********************

HAPI version being installed: 7.40

HAPI version being installed: 7.40

Removing current HAPI base driver, if installed.

ROOT\SYSTEM\0000                                            :

Installing HAPI base driver and all HAPI libraries.

Installing driver: dcdbas

       WARNING: Source file does not exist: .\dcdbas64.pdb

                Ignoring and continuing.

       WARNING: Source file does not exist: .\dcdbas64.pdb

                Ignoring and continuing.

Installing library: ipm

       ERROR: (CopyFile()) Could not copy to (X:\windows\system32\dcwipm64.dll)

Install Summary

***************

Install Complete: Encountered errors -

       * During HAPI component install.

X:\dell\HAPI>hapint64.exe -i -v=d -k C-C-T-K -p "hapint64.exe"

Installing Components

*********************

HAPI version being installed: 7.40

HAPI version being installed: 7.40

Removing current HAPI base driver, if installed.

ROOT\SYSTEM\0000                                            :

Installing HAPI base driver and all HAPI libraries.

Installing driver: dcdbas

Installing library: ipm

       ERROR: (CopyFile()) Could not copy to (X:\windows\system32\dcwipm64.dll)

Install Summary

***************

Install Complete: Encountered errors -

       * During HAPI component install.

X:\dell\HAPI>hapint.exe -i -v=d -k C-C-T-K -p "hapint64.exe"

Installing Components

*********************

HAPI version being installed: 7.40

HAPI version being installed: 7.40

Removing current HAPI base driver, if installed.

ROOT\SYSTEM\0000                                            :

Installing HAPI base driver and all HAPI libraries.

Installing driver: dcdbas

Installing library: ipm

       ERROR: (CopyFile()) Could not copy to (X:\windows\system32\dcwipm64.dll)

Install Summary

***************

Install Complete: Encountered errors -

       * During HAPI component install.

X:\dell\HAPI>f:

F:\>cd x86_64\

F:\X86_64>cd hapi

F:\X86_64\HAPI>hapint.exe -i -v=d -k C-C-T-K -p "hapint64.exe"

Installing Components

*********************

HAPI version being installed: 7.40

HAPI version being installed: 7.40

Removing current HAPI base driver, if installed.

ROOT\SYSTEM\0000                                            :

Installing HAPI base driver and all HAPI libraries.

Installing driver: dcdbas

Installing library: ipm

       ERROR: (CopyFile()) Could not copy to (X:\windows\system32\dcwipm64.dll)

Install Summary

***************

Install Complete: Encountered errors -

       * During HAPI component install.

F:\X86_64\HAPI>hapint.exe -i -v=d -k CCTK -p "hapint64.exe"

Installing Components

*********************

HAPI version being installed: 7.40

HAPI version being installed: 7.40

Removing current HAPI base driver, if installed.

ROOT\SYSTEM\0000                                            :

Installing HAPI base driver and all HAPI libraries.

Installing driver: dcdbas

Installing library: ipm

       ERROR: (CopyFile()) Could not copy to (X:\windows\system32\dcwipm64.dll)

Install Summary

***************

Install Complete: Encountered errors -

       * During HAPI component install.

F:\X86_64\HAPI>hapint64.exe -i -v=d -fi=y -fb=y -fo=y -ft=y -fs=y -k C-C-T-K -p

"hapint64.exe"

       WARNING: -ft command-line option is only applicable on 32-bit Windows.

                Ignoring and continuing anyway.

Installing Components

*********************

HAPI version being installed: 7.40

HAPI version being installed: 7.40

Removing current HAPI base driver, if installed.

ROOT\SYSTEM\0000                                            :

Installing HAPI base driver and all HAPI libraries.

Installing driver: dcdbas

       WARNING: Source file does not exist: .\dcdbas64.pdb

                Ignoring and continuing.

       WARNING: Source file does not exist: .\dcdbas64.pdb

                Ignoring and continuing.

Installing library: ipm

       ERROR: (CopyFile()) Could not copy to (X:\windows\system32\dcwipm64.dll)

Install Summary

***************

Install Complete: Encountered errors -

       * During HAPI component install.

F:\X86_64\HAPI>hapint64.exe -i -v=d -fi=y -fb=y -fo=y -ft=y -fs=y -k C-C-T-K -p

"hapint64.exe" >f:\install.txt

F:\X86_64\HAPI>cctk.exe /?

The system cannot find the path specified.

CoCreateInstance() failed for locatorGetWMISMBIOSTable: NULL pointer to SMBIOS E

ntry specified.GetWMISMBIOSVersion: null pointer passed as pSmbios.

getSmbiosTable(): GetWMISMBIOSData returned 0 for buffer size.CoCreateInstance()

failed for locatorGetWMISMBIOSTable: NULL pointer to SMBIOS Entry specified.Get

WMISMBIOSVersion: null pointer passed as pSmbios.

getSmbiosTable(): GetWMISMBIOSData returned 0 for buffer size.

5 Practitioner

 • 

274.2K Posts

March 7th, 2015 23:00

This is the error I receive in pe

Optiplex 9020

Bios version A09

WinPe 6.1.7601 ( PE 3.1) ( usb stick)

Dell Command 3.0.0 - software was installed on the same desktop and confirmed that it can change the settings in windows, error received when booting from usb pe on the same machine, attempting to make any change via command line to test., same error message is received when running cctk with no switches or with /? switch.

Ultimately this will be done in our sccm 2012 pe environment however I cannot make a change to the sccm pe environment until I get this working via the pe usb stick, that is our procedure before we make changes to pe in sccm.  sccm pe is working with several other vendors and needs to only have necessary changes for new vendors.  doing this method also allows me to test and confirm any steps / commands before I make a change to the environment. 

 

In each instance I cctk starts running then gets the error in the screenshot

CoCreateInstance() failed for locatorGetWMISMBIOSTable: NULL pointer to SMBIOS E

ntry specified.GetWMISMBIOSVersion: null pointer passed as pSmbios.

getSmbiosTable(): GetWMISMBIOSData returned 0 for buffer size.CoCreateInstance()

failed for locatorGetWMISMBIOSTable: NULL pointer to SMBIOS Entry specified.Get

WMISMBIOSVersion: null pointer passed as pSmbios.

getSmbiosTable(): GetWMISMBIOSData returned 0 for buffer size.

 

 

 

Please let me know if the only way to get this working is to mount and update the PE wim using the batch files.  I have tried running them inside the pe environment however this also did not work.

I am on ETS timezone so my responses might seem delayed.  I can test further Monday on the workstations.

5 Practitioner

 • 

274.2K Posts

March 9th, 2015 09:00

I have reproduced this issue in dell command 3.0.0 and 3.0.0.1.  this is still an open issue

5 Practitioner

 • 

274.2K Posts

March 9th, 2015 10:00

I also tried to run the workaround method, applyconfig.bat and I still received the error.

"The instruction at 0x3f83d940 referenced memory at 0x00000d20. The memory could not be read.  Click OK to terminate the program.

March 11th, 2015 06:00

Hi,

The recomended way is to use the sample script to inject the necessary drivers, components and CCTK executable.

This is because, we may not able to install the necessary driver later. So, Can you try the way as suggested in the sample script to create custom Win PE?

No Events found!

Top