Wiki Home Boot image Update Windows on image

Update Windows on image

For a smooth update of windows follow the steps below to avoid problems.

  1. Start by disabling the auto driver updates
  • Press Win + Pause/Break to open the System Properties window.
  • Click on "Advanced system settings" on the left-hand side.
  • In the System Properties window, go to the "Hardware" tab.
  • Click on the "Device Installation Settings" button.
  • Choose the option "No (Your device might not work as expected)”
  • Click Save Changes.( Figure 1)

Figure 1

  1. Using Group Policy (for Windows Pro, Enterprise, or Education editions):
  • Press Win + R to open the Run dialog.
  • Type gpedit.msc and press Enter to open the Local Group Policy Editor.
  • Navigate to Computer Configuration -> Administrative Templates -> System -> Device Installation.
  • Look for a policy named "Prevent installation of devices not described by other policy settings" and double-click it.
  • Select the "Enabled" option to prevent device installations.
  • Click Apply and then OK.
  1. Using Registry Editor:
  • Press Win + R to open the Run dialog.
  • Type regedit and press Enter to open the Registry Editor.
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Settings.
  • If the "Settings" key doesn't exist, you may need to create it.
  • Create a new DWORD value named "PreventDeviceMetadataFromNetwork" and set its value to 1.
  • Create another DWORD value named "PreventDeviceMetadataFromInternet" and set its value to 1.
  1. Now you can start windows updates
  • Press Win + I to open the Settings.
  • Go to "Update & Security."
  • Click on "Windows Update" in the left sidebar.
  • Click on "Check for updates" to see if there are any available updates.
  • If updates are available, click "Install now" to begin the update process.
  1. Once updates are finished Reboot the PC and let it run for few minutes.
  2. Next pause windows updates so they dont auto start in working hours.
  3. Shutdown the client and save the changes.