MSEndpointMgr / ModernDriverManagement

Official repo of Modern Driver Management from MSEndpointMgr.com
https://www.msendpointmgr.com
MIT License
133 stars 80 forks source link

PowerShell Error. You cannot call a method on a null-valued expression. At line:17154 char:5 #220

Closed Get-SomeCofee closed 8 months ago

Get-SomeCofee commented 1 year ago

Trying to get started using the tool. I'm getting this error when running DriverAutomationTool.exe Any idea how I can get past this? I could not find the PS1 file to look at the PowerShell code to troubleshoot this further. Also Microsoft is checked and grayed out and can't be unchecked.

[Start Up]
- Initialising Driver Automation Tool
- Loading required PowerShell modules
- Checking for preinstalled PS modules
- Importing module BitsTransfer
[Launching GUI]
[Azure Registy Settings Detected]
- Obtaining all Azure values from registry path HKLM:\SOFTWARE\MSEndpointMgr\DriverAutomationTool
- Setting values in the UI
You cannot call a method on a null-valued expression.
At line:17154 char:5
+ ...             $OSBuild = ($WindowsBuildHashTable.Item("$OSBuild")).Spli ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

image

civy-IC commented 1 year ago

Hey, we recently ran into this same issue. Currently fallen back to our old method of driver deployment.... I have not been able to resolve this issue yet.

slundy commented 1 year ago

Same issue, but it's a new install. My other install (same version) works but just downloads drivers and then hangs.