Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image for Dism /online /Cleanup-Image /RestoreHealth #50

Closed
pgardy opened this issue Dec 11, 2022 · 1 comment
Closed

Image for Dism /online /Cleanup-Image /RestoreHealth #50

pgardy opened this issue Dec 11, 2022 · 1 comment

Comments

@pgardy
Copy link

pgardy commented Dec 11, 2022

Hi . Thanks for the great project.

I wonder about adding functionality, which would allow to download iso/files of the system, with same os version. architecture, language etc., to be used to repair components corruption.
Quite often a existing system has problems with getting proper files from Windows Update and mounting iso is the only option.
So, to save bandwidth/cost I'm thinking about downloading a full Windows image locally and using it to repair the system.

Sample, usage scenario:

  1. import OSD module
  2. download and prepare files to mount wim/iso matching the local system
  3. try to repair the system with dism.

(https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image)

@gwblok
Copy link
Collaborator

gwblok commented Mar 18, 2024

You could probably write your own script stealing a lot of the code in the Invoke-OSDCloudIPU function.
That function will detect what is currently running on the device, and also builds the install media from the ESD file.

I've so rarely found /RestoreHealth to actually do anything useful.

If others would find this functionality useful, go ahead and reopen with additional business justifications.
Thanks

@gwblok gwblok closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants