Start a Conversation

Unsolved

H

12 Posts

5232

April 7th, 2021 08:00

DPP module fails to load for several devices

I am trying to figure out why the DPP module fails to load for several of my devices. They have VC++ 2013 but I tried installing 2010 and 2012 as well with no success. I also read somewhere that mentioned copying some of the VC++ DLL's to the module folder but that also did not help. I also tried to copy the DPP module folder from a working PC to a non-working PC, also with no success. It seems to me that there is some sort of dependency missing. I've been going through the support page here: https://www.dell.com/support/kbdoc/en-us/000151982/dell-command-powershell-provider-is-not-working-properly-or-can-t-be-imported-into-powershell-correctly . But so far I can't find anything that I am missing, any help would be appreciated.

Hoobie7_0-1617807454960.png

Hoobie7_1-1617808835198.png

 

12 Posts

April 7th, 2021 11:00

For a minute I thought it could be a .Net issue but we are running Win 10 1909 so they should all have .Net 4.8.

12 Posts

April 7th, 2021 12:00

I also updated the BIOS thinking maybe it was failing to create the PSDrive with an old BIOS.

Unfortunately, that also did not fix it.

12 Posts

April 7th, 2021 12:00

I also tried deleting the module folder then re-installed via Install-module cmdlet. I was using the manual download before and deploying with SCCM. However this did not work either; it gives the same error.

Moderator

 • 

8.5K Posts

April 7th, 2021 12:00

Hi,

So, you went through the steps and it still isn’t working? Did any of the steps in the article show any errors when you ran them? Not our site, but this post seems to say to try VC++2015 https://dell.to/3fNjRRC

Moderator

 • 

8.5K Posts

April 7th, 2021 13:00

Can you try one of the previous versions and see if it works? https://dell.to/3tbUJHS

12 Posts

April 7th, 2021 13:00

I have installed VC++ 2015 on one of the failing devices, but it still does not work:

Hoobie7_0-1617826211287.png

On top of that one of the functioning computers does not have VC++ 2015 and it works fine:

Hoobie7_1-1617826289459.png

 

12 Posts

April 9th, 2021 06:00

I tried v2.2.0 and got a slightly different error:

Import-Module : Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\dellbiosprovider\DellBIOSProvider.dll' or one of 
its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
At line:1 char:1
+ Import-Module dellbiosprovider -verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadException
    + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand

 

Similarly with v2.3.1:

Import-Module : Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\dellbiosprovider\DellBIOSProvider.dll' or one of 
its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
At line:1 char:1
+ Import-Module dellbiosprovider -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadException
    + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand

Moderator

 • 

8.5K Posts

April 9th, 2021 09:00

Try manually installing just the bios provider. Install-Module -Name DellBIOSProvider

 

12 Posts

April 12th, 2021 06:00

I had to run with -force but it installed.

 

PS C:\WINDOWS\system32> Install-Module -Name DellBIOSProvider
WARNING: Version '2.3.1' of module 'DellBIOSProvider' is already installed at 'C:\Program Files\WindowsPowerShell\Modules\DellBIOSProvider'. To instal
l version '2.4.0', run Install-Module and add the -Force parameter, this command will install version '2.4.0' in side-by-side with version '2.3.1'.

PS C:\WINDOWS\system32> Install-Module -Name DellBIOSProvider -force

 

 

However it still failed.

 

PS C:\WINDOWS\system32> Import-Module dellbiosprovider -verbose
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\dellbiosprovider\2.4.0\dellbiosprovider.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module dellbiosprovider.
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\dellbiosprovider\2.4.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\2.4.0\DellBIOSProvider.dll'.
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. The specified module could not be found.
At line:1 char:1
+ Import-Module dellbiosprovider -verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : NewDriveProviderException,Microsoft.PowerShell.Commands.ImportModuleCommand

 

 

There must be a dependency or something missing.

Moderator

 • 

3.4K Posts

April 12th, 2021 07:00

Can you try to uninstall all DellBIOSProvider versions and install only 2.4.0 version?

Thanks

Marco

12 Posts

April 13th, 2021 07:00

I deleted the C:\Program Files\WindowsPowerShell\Modules\DellBIOSProvider folder.  I also tried uninstalling it via Uninstall-Module cmdlet.  I then reinstalled it via the Install-Module cmdlet all with the same outcome, it still fails.

12 Posts

April 13th, 2021 07:00

I have started to use ProcMon to try and get some insight into what is going on. So far I have not discovered anything, but I am still looking.

Moderator

 • 

3.4K Posts

April 13th, 2021 08:00

Hi,

I escalate internally to see if there is other troubleshooting step to solve your problem.

We will let you know as soon as possible.

Thanks

Marco

Moderator

 • 

8.5K Posts

April 15th, 2021 08:00

Can you private message me the service tag of the system?

12 Posts

April 15th, 2021 13:00

PM sent.

No Events found!

Top