We have had the same issue
so we tried
dism /online /export-driver /destination:C:\Drivers
This exported the drivers to the c:\drivers folder, then we successfully imported to SCCM as a driver package.
I hope this helps a little
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Dear experts,
I've run following command to export windows drivers for backup purpose, it works just perfect on Win 10 but it failed on Win 11? I can still use command line with DISM to export drivers but just wondering if there is any solution about using powershell for the same purpose?
PS C:\Windows\system32> Export-WindowsDriver -Online -Destination "C:\Drivers\"
Export-WindowsDriver : 值不能为 null。
参数名: SafeHandle 不能为 null。
所在位置 行:1 字符: 1
+ Export-WindowsDriver -Online -Destination "C:\Drivers\"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Export-WindowsDriver], ArgumentNullException
+ FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.Dism.Commands.ExportWindowsDriverCommand
We have had the same issue
so we tried
dism /online /export-driver /destination:C:\Drivers
This exported the drivers to the c:\drivers folder, then we successfully imported to SCCM as a driver package.
I hope this helps a little
This link may be useful:
https://www.elevenforum.com/t/backup-and-restore-device-drivers-in-windows-11.8678/
.
.
.
.
.
Please remember to vote and to mark the replies as answers if they help.
On the bottom of each post there is:
Propose as answer = answered the question
On the left side of each post there is /\ with a number: click = a helpful post
.
.
.
.
.