ruzickap / packer-templates

Scripts and Templates used for generating Vagrant images
Apache License 2.0
443 stars 113 forks source link

windows 2019 missing driver on device manager #486

Closed andwiseb closed 6 months ago

andwiseb commented 1 year ago

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.

ruzickap commented 1 year ago

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

andwiseb commented 1 year ago

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

github-actions[bot] commented 1 year ago

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] commented 1 year ago

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] commented 11 months ago

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

ruzickap commented 8 months ago

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...

github-actions[bot] commented 6 months ago

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] commented 6 months ago

This issue has not seen any activity since it was marked stale. Closing.