Start a Conversation

Unsolved

This post is more than 5 years old

97392

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.

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

2 Posts

August 10th, 2015 03:00

Thank you, it works OK now.

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 

5 Posts

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

38 Posts

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

5 Posts

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

38 Posts

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

 

38 Posts

March 21st, 2016 03:00

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

Thanks

Vibha

5 Posts

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

5 Posts

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

May 15th, 2016 23:00

Hello All,

Any workaround on this issue? "WARNING: Couldn't get ACPI Buffer Size!!"

Thank you.

Jack

June 2nd, 2016 23:00

Hello Jack,

Dell Command PowerShell Provider runs only on supported platforms having supported BIOS version. There is no work around for this.

Can you please check and let us know whether the platform which you are using is present in the supported platform list? If your platform is present then please verify BIOS version also. 

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

Let us know if you have any other query.

Thanks

-Tarun

June 10th, 2016 01:00

Hello Tarun,

I am running this on a Dell 3020 with BIOS version A08.

Thank you.

Jack

June 28th, 2016 04:00

Hello,

I'm running a Dell OptiPlex 9020 with latest BIOS (A15) and Windows 7 64bit.
VC++2010 x86 and VC++2012 x86 are both installed (also VC++2010 x64) and also .NET 4.6.
I installed nuget and the DellBIOSProvider and tried to import the module, but it always runs into

VERBOSE: Starting PS provider DellSmbiosProv
VERBOSE: .NET Version: 4.0.30319.42000
VERBOSE: Performing InitializeDefaultDrives operation on the 'DellSmbiosProv'provider.
Import-Module : Could not load file or assembly 'DSMBLibWrapper.dll' or one of its dependencies. Das angegebene Modul
wurde nicht gefunden.
At line:1 char:1
+ Import-Module DellBIOSProvider -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : NewDriveProviderException,Microsoft.PowerShell.Commands.ImportModuleCommand

On another machine (Dell OptiPlex 7010) with the same configuraton, I can import the module without problems.

Any ideas, what I can do?!? :emotion-7:

Thanks a lot and kind regards,
Sebastian

June 29th, 2016 02:00

Hi Sebastian, 

You must have VC++2010 x64 and VC++2012 x64 redistributables installed in your machine to run Dell Command | PowerShell Provider successfully. After installation please restart the machine before loading the module.

Note - x86 redistributables are not required if operating system is 64 bit. 

Please let me know in case you face same issue again.

Thanks

-Tarun

No Events found!

Top