packer-templates icon indicating copy to clipboard operation
packer-templates copied to clipboard

windows 2019 missing driver on device manager

Open andwiseb opened this issue 9 months ago • 7 comments

Hello friends! How can i update exclamation drivers in device manager with autounattend? I think it should read and update the E:/ driver. Virtio Ethernet Controller and PCI.

andwiseb avatar Sep 16 '23 21:09 andwiseb

I have no idea :-( I'm always installing the drivers to the new Windows instance. Updating the existing instance is something more complex...

ruzickap avatar Sep 17 '23 13:09 ruzickap

it's not that complicated because i figured out how to do it. just add the following to the autounattend file: <SynchronousCommand wcm:action="add"> <CommandLine>cmd.exe /c cd /d D:\ & powershell -Command "msiexec /qn /i virtio-win-gt-x64.msi"</CommandLine> <Description>Network prompt</Description> <Order>5</Order> <RequiresUserInput>true</RequiresUserInput> </SynchronousCommand>

this way there is no need to go into device manager after installation and manually update missing devices. you can add this to the repo i think

andwiseb avatar Sep 17 '23 13:09 andwiseb

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Oct 18 '23 02:10 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Nov 18 '23 02:11 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Dec 18 '23 02:12 github-actions[bot]

Thank you @andwiseb for your suggestion and please please accept my apologies for slow response.

I do not plan to do any other changes to the repository, because it will require testing / fixing old bugs / updating components / etc...

I updated the README.md with the outdated message: https://github.com/ruzickap/packer-templates/pull/524

Thank you for understanding...

ruzickap avatar Mar 17 '24 10:03 ruzickap

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar May 17 '24 09:05 github-actions[bot]