Translate

Sunday, September 27, 2026

How to fix corrupted Microsoft login on a EntraID joined device

 Run the command below in an administrative PowerShell window and have the user login again

dsregcmd /forcerecovery

Sunday, September 20, 2026

How to Repair Microsoft Windows 10 & 11 with DISM and a Mounted ISO file

  1. Download ISO from Microsoft
  2. Mount ISO with this command in Powershell
    powershell -command “Mount-DiskImage -ImagePath 'C:\path\to\file.iso'”
  3. Run this command in PowerShell to get the Number for correct OS type needed in step 4
    DISM /Get-WimInfo /WimFile:X:\sources\install.wim

  4. Run this command in PowerShell replacing X with the drive letter of mounted ISO and # with number from step 3
    DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:X:\sources\install.wim:# /LimitAccess

  5. After previous command has completed run this command in Powershell
    powershell -command "Dismount-DiskImage -ImagePath 'C:\path\to\file.iso'