PhilMEFL1
1 Copper

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: (Smiley Happy [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.

0 Kudos
17 Replies

RE: Provider installation

Hi PHILMEFLINK,

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

Thanks, 

Karthik.C

0 Kudos
PhilMEFL1
1 Copper

RE: Provider installation

Thank you, it works OK now.

0 Kudos

RE: Provider installation

Hi PhilMEFL, ,

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

Thanks, 

Karthik.C 

0 Kudos
dpitroda
1 Copper

RE: Provider installation

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

0 Kudos
Highlighted

RE: Provider installation

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

0 Kudos
dpitroda
1 Copper

RE: Provider installation

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

0 Kudos

RE: Provider installation

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

 

dpitroda
1 Copper

RE: Provider installation

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'.

0 Kudos
dpitroda
1 Copper

RE: Provider installation

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-refer...

0 Kudos