Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Installing the Dell SMBIOS PowerShell Provider in Windows PE​

Summary: Information on the Dell SMBIOS PowerShell Provider in Windows PE​ installation.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms


SLN313406_en_US__1icon NOTE: The correct Windows PE with the CCTK binaries will be under the temporary directory located at ISO\sources\boot.wim
    • For Dell Command | Configure 4.4 and later or Dell Command | PowerShell Provider 2.4 and later
    • For Dell Command | Configure 4.3.1 and prior or Dell Command | PowerShell Provider 2.3.1 and prior
    • Download NuGet and DellBIOSProvider via PowerShell as Administrator
      • Find-Module DellBIOSProvider
      • Press Y
      • Install-Module DellBIOSProvider
      • Press Y
      • Set-ExecutionPolicy Unrestricted
      • Press A
      • Import-Module DellBIOSProvider -Verbose
    • Download and Install the latest Windows Automated Deployment Tookit
    • Install DCC (Dell Command | Configure) to be used in Windows PE as well (recommended)
    • Download and Install Dell Command Configure
    • Open Dell Command Configure Prompt as Administrator, from Windows Start Menu. 
    • Make a temporary directory to contain the CCTK Windows PE
      • MD c:\dcshare
        MD c:\dcshare\temp
        MD c:\dcshare\temp\mount
    • Navigate to DCC installation directory in the 'Dell Command Configure Prompt'. For example -  For 64 bit:
      CD C:\Program Files (x86)\Dell\Command Configure\X86_64
       for 32-bit:
      CD C:\Program Files (x86)\Dell\Command Configure\X86
    • Have DCC create a Windows 10 PE file with the DCC binaries using the below command. Here first parameter to .bat file represents - path to local directory for customized Windows PE 10.0 image to create and second parameter represents - path to extracted Command Configure toolkit.
      cctk_x86_64_winpe_10.bat c:\dcshare\pe344 c:\progra~2\dell\comman~1\
  • Mount the boot.wim in the Deployment and Imaging Tools Command Prompt using DISM:
    SLN313406_en_US__1icon NOTE: PowerShell in Windows PE requires additional features that are in the Automated Deployment Kit:
    SLN313406_en_US__1icon NOTE: WinPE-WMI, WinPE-NetFX, and WinPE-Scripting must be installed prior to installing WinPE-PowerShell
    DISM /Mount-WIM /wimfile:c:\dcshare\pe344\ISO\sources\boot.wim /index:1 /MountDir:c:\dcshare\temp\mount
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-NetFX.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-NetFX_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Scripting.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-Scripting_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-PowerShell.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-PowerShell_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-StorageWMI.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-StorageWMI_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-DismCmdlets.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-DismCmdlets_en-us.cab"
  • Copy the DellBIOSProvider files from Dell Command | PowerShell Provider Install directory (e.g. "C:\Program Files\WindowsPowerShell\Modules\DellBIOSProvider\2.4.0" ) to "mount\Program Files\WindowsPowerShell\Modules" directory
    SLN313406_en_US__6dellbiosproviderfile1

    Image - English ONLY

  • Copy the following (previously installed) Visual C++ DLL files from "C:\Windows\System32" to "mount\Program Files\WindowsPowerShell\Modules"
    • For Dell Command | PowerShell Provider 2.4 and later 
      msvcp140.dll
      vcruntime140.dll
      vcruntime140_1.dll
      
    • Image - English ONLY
    • For Dell Command | PowerShell Provider 2.3.1 and prior, 
      msvcp100.dll
      msvcr100.dll
      msvcp140.dll
      vccorlib140.dll
      vcruntime140.dll
    • SLN313406_en_US__7dellbiosproviderfile2

      Image - English ONLY

  • Unmount the modified Windows 10 PE CCTK WIM file:
    DISM /unmount-wim /mountdir:c:\dcshare\temp\mount /commit
  • Import the modified CCTK – Powershell boot.wim to WDS, SCCM, or USB key.

    Once booted, run the following:

    • PowerShell
    • Set-executionpolicy unrestricted
    • Import-Module DellBIOSProvider -Verbose
    • CD DellSMBIOS:
Back to Top

 

Cause

Not Applicable

Resolution

Not Applicable

Article Properties


Affected Product

Dell Command | Configure, Dell Command | Powershell Provider

Last Published Date

21 Feb 2021

Version

4

Article Type

Solution