UNSOLVED

PhilMEFL1

updated

10 days ago

P

PhilMEFL1

2 Posts

0

99092

July 31st, 2015 08:00

Provider installation

When I try to install the DellBIOSProvider on new computers, I cannot import the module DellBIOSProvider.dll.  I always receive the error:

VERBOSE: Performing InitializeDefaultDrives operation on the 'DellSmbiosprov'provider.

import-module : Could not load file or assembly 'DSMBLibWrapper.dll' or one of its dependencies. The specified module could not be

found.

At C:\Program Files\Dell\PowerShell\Modules\DellBIOSProvider\DellBIOSProvider-installer.ps1:65 char:2

+ import-module .\DellBIOSProvider.psd1 -Verbose

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileNotFoundException

+ FullyQualifiedErrorId : NewDriveProviderException,Microsoft.PowerShell.Commands.ImportModuleCommand

Can you tell me what's wrong? I successfully installed it on already configured computers running Windows 7 and Windows 8.1 but it always failed on out-of-the-box computers.

On the one I am working on, I installed both VC2010 C++ runtimes (x64 then x6) but it don't help.

Any clue will be appreciated.

  • karthikchandran89

    1 Rookie

    49 Posts

    7994

    0

    Posted August 3rd, 2015 03:00

    Hi PHILMEFLINK,

    Please install VC2012 C++ also and restart the machine before you try to import the module.

    Thanks, 

    Karthik.C

  • PhilMEFL1

    2 Posts

    7994

    0

    Posted August 10th, 2015 03:00

    Thank you, it works OK now.

  • karthikchandran89

    1 Rookie

    49 Posts

    7994

    0

    Posted August 11th, 2015 20:00

    Hi PhilMEFL, ,

    Thanks for letting us know that it worked . Please write to us for any queries. 

    Thanks, 

    Karthik.C 

  • dpitroda

    5 Posts

    7994

    0

    Posted March 21st, 2016 00:00

    Hi Karthik,

    I am trying with latest version and observing same issue, I want to use this cmdlet for test environment. Installing VC++ in all machine is tedious job. Can you please tell minimal workaround for this error or give us new release which not having this issue ?

    thanks,

    Dharmesh

  • 7992

    0

    Posted March 21st, 2016 00:00

    VC++ 2010 and VC ++ 2012 both runtime are required on target machines for DellBIOSProvider v1.0 execution. There is no work-around.

    We will consider the issue  in next release which is work in progress.

    Thanks

    Vibha

  • dpitroda

    5 Posts

    7992

    0

    Posted March 21st, 2016 01:00

    Thanks for update !

    After installing VC++ runtime for 2010 and 2012 we rebooted target, once after reboot Installed DellBIOSProvider from Microsoft Gallery using below command -

    Install-Module DellBIOSProvider 

    After this when we tried to import module we are hitting below error -

    PS C:\Program Files\Dell\Powershell\Modules\DellBIOSProvider> Import-Module DellBIOSProvider
    WARNING: Couldn't get ACPI Buffer Size!!
    Import-Module : PS drive DellSmbios could not be created.
    At line:1 char:1
    + Import-Module DellBIOSProvider
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OpenError: (DellSmbios:PSDriveInfo) [Import-Module], InvalidOperationException
    + FullyQualifiedErrorId : DefaultDriveInitFailed,Microsoft.PowerShell.Commands.ImportModuleCommand

    Target Detail:

    Target System: 

    System Model PowerEdge R520

    OS : WS2016

    BIOS version : Dell Inc. 2.4.2, 1/29/2015

    Thanks,

    Dharmesh

    BIOS Version/Date Dell Inc. 2.4.2, 1/29/2015

  • 7994

    1

    Posted March 21st, 2016 01:00

    Hello Dharmesh, 

    Instead of installing VC++ runtime separately , you can copy msvcp100.dll, msvcr100.dll from VC2010

    and msvcp110.dll, msvcr110.dll, vccorlib110.dll from VC2012 in the same folder as provider module.

    -Vibha

     

  • 2363

    0

    Posted March 21st, 2016 03:00

    Presently only Dell Client Enterprise systems (  OptiPlex, Latitude, Venue etc.) are supported.

    Thanks

    Vibha

  • dpitroda

    5 Posts

    8011

    0

    Posted March 21st, 2016 03:00

    Opps ! from your another thread found that Poweredge 520 is not in supported list, any plan to add Poweredge series servers also in support list ?

    http://en.community.dell.com/techcenter/enterprise-client/w/wiki/11653.supported-platformsbios-reference-list-for-dell-command-powershell-provider

  • dpitroda

    5 Posts

    8011

    0

    Posted March 21st, 2016 03:00

    after installing VC10 and VC12 runtime, while importing module getting below error, DellSMBIOS: not created -

    PS C:\Users\Administrator.WINEIT> Import-Module DellBIOSProvider -Verbose
    VERBOSE: Loading module from path 'C:\Program
    Files\WindowsPowerShell\Modules\DellBIOSProvider\1.0\DellBIOSProvider.psd1'.
    VERBOSE: Populating RepositorySourceLocation property for module DellBIOSProvider.
    VERBOSE: Loading module from path 'C:\Program
    Files\WindowsPowerShell\Modules\DellBIOSProvider\1.0\DellBIOSProvider.psm1'.
    VERBOSE: Exporting function 'Set-Dell1stBootdevice'.
    VERBOSE: Exporting function 'Get-DellBiosSettings'.
    VERBOSE: Exporting function 'Clear-DellAdminPassword'.
    VERBOSE: Exporting function 'Set-DellAutoOnForSelectDays'.
    VERBOSE: Exporting function 'Get-DellBIOSPasswordPath'.
    VERBOSE: Exporting function 'Write-DellBIOSPassword'.
    VERBOSE: Exporting function 'Read-DellBIOSPassword'.
    VERBOSE: Importing function 'Clear-DellAdminPassword'.
    VERBOSE: Importing function 'Get-DellBIOSPasswordPath'.
    VERBOSE: Importing function 'Get-DellBiosSettings'.
    VERBOSE: Importing function 'Read-DellBIOSPassword'.
    VERBOSE: Importing function 'Set-Dell1stBootdevice'.
    VERBOSE: Importing function 'Set-DellAutoOnForSelectDays'.
    VERBOSE: Importing function 'Write-DellBIOSPassword'.
    VERBOSE: Loading module from path 'C:\Program
    Files\WindowsPowerShell\Modules\DellBIOSProvider\1.0\DellBIOSProvider.dll'.
    VERBOSE: Starting PS provider DellSmbiosProv
    VERBOSE: .NET Version: 4.0.30319.42000
    VERBOSE: Performing InitializeDefaultDrives operation on the 'DellSmbiosProv'provider.
    VERBOSE: Performing operation New-PSDrive for the provider DellSmbiosProv.
    WARNING: Couldn't get ACPI Buffer Size!!
    Import-Module : PS drive DellSmbios could not be created.
    At line:1 char:1
    + Import-Module DellBIOSProvider -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OpenError: (DellSmbios:PSDriveInfo) [Import-Module], InvalidOperationException
    + FullyQualifiedErrorId : DefaultDriveInitFailed,Microsoft.PowerShell.Commands.ImportModuleCommand
    VERBOSE: Exporting function 'Clear-DellAdminPassword'.
    VERBOSE: Exporting function 'Get-DellBIOSPasswordPath'.
    VERBOSE: Exporting function 'Get-DellBiosSettings'.
    VERBOSE: Exporting function 'Read-DellBIOSPassword'.
    VERBOSE: Exporting function 'Set-Dell1stBootdevice'.
    VERBOSE: Exporting function 'Set-DellAutoOnForSelectDays'.
    VERBOSE: Exporting function 'Write-DellBIOSPassword'.
    VERBOSE: Importing function 'Clear-DellAdminPassword'.
    VERBOSE: Importing function 'Get-DellBIOSPasswordPath'.
    VERBOSE: Importing function 'Get-DellBiosSettings'.
    VERBOSE: Importing function 'Read-DellBIOSPassword'.
    VERBOSE: Importing function 'Set-Dell1stBootdevice'.
    VERBOSE: Importing function 'Set-DellAutoOnForSelectDays'.
    VERBOSE: Importing function 'Write-DellBIOSPassword'.