UNSOLVED

Stewie1

updated

13 years ago

S

Stewie1

1 Rookie

12 Posts

0

229730

June 18th, 2013 07:00

how to use cctk in preboot environment

Hello. We just purchased about 200 Optiplex 9010's. We use a PXE server to apply an image, but there are a dozen or so bios settings that need to be set first. I used CCTK to create the .exe file for the configuration, but I can't find a way to boot the computer to usb and execute the file. My Hiren boot cd doesn't seem to load mini XP on this workstation, and the dos boot options don't want to run the exe. Does anyone have a solution for this? I'd rather not have to go through the Win 8 setup screens for each workstation just to run an exe file and then reimage.

  • DELL-Warren B

    1 Rookie

    1124 Posts

    11154

    0

    Posted June 18th, 2013 11:00

    You can use CCTK with the Windows Preinstallation Environment (WinPE) to configure your hardware before installing the OS.

  • Stewie1

    1 Rookie

    12 Posts

    11154

    0

    Posted June 19th, 2013 07:00

    Thank you Warren. I created a WinPE boot UFD. I added the settings.exe file that I need ( the one that sets the bios settings) to a folder placed inside the WinPEx86\ISO folder before copying the folder to the flash drive. I can boot the workstation to WinPE which gives me a X:> prompt, but cannot find a drive letter for the flash drive to access and run the settings.exe. Am I using Win PE correctly?

  • Dustin Hedges

    1 Rookie

    96 Posts

    11154

    0

    Posted June 19th, 2013 07:00

    Check out this guide from Niall Brady.  He shows you how you can use CCTK during WinPE but without actually having to copy the CCTK binaries into your Boot.wim.  That way, when a new version of CCTK comes out, you can simply swap out the package it references!

    www.windows-noob.com/.../index.php

  • Dustin Hedges

    1 Rookie

    96 Posts

    11193

    0

    Posted June 19th, 2013 08:00

    If you install CCTK on a system and browse to where it gets installed (C:\Program Files (x86)\Dell\CCTK) you'll find the batch files you need.

    If you look in the X86 or X86_64 folders underneath the above directory you'll find 3 batch files that will install CCTK to a WinPE boot image offline using DISM.  Use the appropriate install files based on the architecture of your WinPE.wim.  (X86_64 is for x64)

  • Stewie1

    1 Rookie

    12 Posts

    11154

    0

    Posted June 19th, 2013 08:00

    Hi Dustin.

    I read the article, but it seems to be using SCCM. It's just telling SCCM to laod CCTK to get access to the TPM to enable bit locker during SCCM deployment. I am not uisng any kind of image deployment at this step. In fact, my goal is to bypass the running OS altogether and run an exe file from a bootable cd or usb. It does have the following information:

    ...what if you want to enable the TPM in WinPE ? to do that you've got the option of using batch files provided in the CCTK, these batch files require the Windows AIK installed and they create an ISO and new boot WIM for you to import into SCCM.

    which indicates that there is a way to access the BIOS settings from WinPE, but I cannot find any information about any CCTK batch files.

  • Stewie1

    1 Rookie

    12 Posts

    11193

    0

    Posted June 19th, 2013 09:00

    I was able to find the batch files (thank you). executing cctk_x86_winpe did nothing, so I opened a command window, went to the same location and ran it which prompted told me to add 2 variables. I did this, but the second variable (program files (x86)) did not work so I copied the cctk folder to the root level. This left me with a command of 'cctk_x86_WinPE c:\winpex86 c:\cctk' which executed all of the steps in the bat file (but with an error saying that PETools\peimg failed). When the script was finished unmounting, I copied the c:\winpex86\iso folder to a flash drive (freshly reformatted) and booted the workstation from it. I am back to the x:\ prompt that I had before and do not see how to execeute the settings.exe file. Was adding cctk into the wim supposed to provide support for navigating to the flash drive? or should I be able to run cctk now somehow and then execeute the settings file from there?

  • Stewie1

    1 Rookie

    12 Posts

    11193

    0

    Posted June 19th, 2013 10:00

    FYI - I also tried writing the settings.exe file to a cd, but booting from WinPE would not access the cd drive saying the disk structure was unreadable

  • Dustin Hedges

    1 Rookie

    96 Posts

    11193

    0

    Posted June 19th, 2013 14:00

    The batch files should inject the cctk.exe executable and necessary binaries into your WinPE.wim file.  It should also install the HAPI drivers which are necessary.  The CCTK files have nothing to do with your ability to read drives though, that's all based on storage/chipset drivers which may, or may not be needed depending on the version of WinPE you are using and the model of system you are executing it on.

    Once you have the WinPE.wim file mounted, you should be able to copy your settings.exe file into the mount directory.  After committing your changes to the WIM file, you should be able to boot into it and find it in X:\ (whatever directory you saved it to).

  • 11193

    0

    Posted June 20th, 2013 06:00

    Hi Stewie,

     

    Let me clarify few things.

    1. It is not possible to run the SCE in Windows PE environment
    2. As you are aware, sample scripts have been provided that will create CCTK CLI injected WinPE image; they can be found in folders
      1. C:\Program Files\Dell\CCTK\X86 &
      2. C:\Program Files\Dell\CCTK\X86_64
    3. Instructions to use the sample script to generate ‘CCTK CLI injected WinPE’ are available in CCTK guide, (http://www.dell.com/support/Manuals/us/en/04/Product/dell-clnt-config-toolkit-v2.2) page 11.
    4. Documentation for CCTK is available at http://www.dell.com/support/Manuals/us/en/04/Product/dell-clnt-config-toolkit-v2.2

    Please let us know if you need any more help.

  • Stewie1

    1 Rookie

    12 Posts

    1627

    0

    Posted June 20th, 2013 08:00

    Shrinidhi -

    by SCE were you referring to the exe that I had originally created? I saw on page 20 of the user guide how to create an ini file instead, should I be using that?