Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


Upgrade to windows 10 partition error
by admin
 at 2019-07-26 18:38:00.

When upgrading to windows 10 you may get an error like this:

"We couldn't update the system reserved partition"

Solution, make free space on your boot drive:

  1. Press win+r and type diskmgmt.msc

  2. Click on your C: drive

  3. Below the list of drives there will be a partition map, the first partition will be Data or some such, listed at 100MB, right click on it and go to change drive letters and paths -> add -> now choose Y: for the drive letter

  4. Right click the CMD.EXE start menu icon and choose 'Run as Administrator'. Or, to open an admin cmd prompt, in win8 you can press win+x and choose command prompt (admin), in win7 you have to create a shortcut for cmd.exe, then go to compatibility in the shortcut properties, and choose run as admin.

  5. Type: Y: <enter> in the cmd window

  6. Run these commands:

    takeown /f . /r /d y

    icacls . /grant administrators:F /t <see note below>

    attrib -h -s -r bootmgr

NOTE: for the icacls command you can use your username instead of administrators, to find out your username type 'whoami'

  • Now open explorer (win+e) go to the Y: drive under compuer, go into the Boot folder, and delete all languages other than en-US. Languages are in the form xx-XX. Make sure to shift+delete and not just delete so they don't go to the recycle bin. Empty the recycle bin afterwards just in case.

  • now go back to the admin command prompt, and type this command:

    chkdsk Y: /F /X /sdcleanup /L:5000

this truncates the NTFS log to 5MB, it can be very very big, not leaving enough space for the install. At the end of the output it should tell you that you have at least 50MB of free space on the partition

  • proceed with the windows 8.1 installation

  • once booted into 10 and set up, you can go back into diskmgmt.msc and remove the drive letter for the boot partition