Inject PNP Drivers in Windows 7 post deployment

 If you need a process to find and install drivers post process (after Windows or later as an update)

  1. Populate this key with a path to your drivers
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UnattendSettings\PnPUnattend\DriverPaths\1
    Path = “d:\Drivers”
    <- String
  2. From a script, batch, MDT, setupcomplete.cmd, whatever, Run pnpunattend.exe
    (built into Windows 7 and also there for Vista )

Example: Pnpunattend.exe auditsystem

You can use /s to just search the drivers but not install.  Also, use the /L to output to command so you can pipe into a file if needed.

USAGE:

   PnPUnattend.exe [auditSystem | /help /? /h] [/s] [/L]

       auditSystem   Online driver install.

       /help /? /h    This help.

       /s             Search without installing.

       /L             Print Logging information to the command line.

A “Set Network Location” dialog box appears when you first log on to a domain-joined Windows 7-based client computer

If you get a prompt to Set Network Location (See Figure 1) in Windows 7 on a domain-joined computer, there is a hotfix from MS to resolve this issue.

http://support.microsoft.com/kb/2028749/en-us

Package the hotfix and deploy as a Task in the OSD or MDT Task Sequence as part of the Windows 7 deployment.

Figure 1