Tuesday, 21 April 2015

How can I Install PnP drivers without Actually installing SCCM Tasksequence

How can I Install PnP drivers without Actually installing

How can I setup SCCM to install Drivers automatically / PnP

This is completely out of box from SCCM, as this is nowhere talked about in the documents for SCCM, We actually follow windows default method of *.inf files to install Drivers by using PnpUtil.exe file.

 

For example if we have Lenovo T440p Model and we wanted to integrate it as a first step we need to copy the Driver to some folder in target system and then while rebooting we can use Pnputil.exe command to install best matching PnP Device Drive drivers from source.

Create T440P model Drivers Source PnP source

And as a next step I have created a basic task sequence and added a step called Copy Drivers to Locally to C:\Drivers Folders

 Copy all the drivers to a local driver

clip_image002

xcopy.exe ".\*.*" "c:\Drivers\" /D /E /C /I /Q /H /R /Y /S

Final step would be call a batch file with help of for command, after SCCM client installing step. See below

clip_image004

 

Below is the impdrv.cmd file

forfiles /p %1 /s /m *.inf /c "cmd /c pnputil -a @Path"

clip_image006

 

Ofcourse there are multiple ways, and this is one of the option.

No comments:

Post a Comment