Local Reinstall Windows Site
// Set custom recovery partition if needed using (RegistryKey key = Registry.LocalMachine.OpenSubKey( @"SYSTEM\Setup\Recovery", true))
key?.SetValue("LocalRecoveryPath", @"C:\Recovery\WindowsRE", RegistryValueKind.String); local reinstall windows
static async Task Main(string[] args)
MessageBox.Show("Windows has been reinstalled successfully. Your computer will restart."); resetService.RestartComputer(); // Set custom recovery partition if needed using
You can use Local Reinstall in conjunction with the "Keep my files" option. local reinstall windows
