Windows 10 V 1607: Fix for system restore error 0x80070091

[German]Windows 10 Anniversary Update contains a nasty bug – the system restore fails with error 0x80070091. Below I introduce a batch program to fix this issue.


Advertising

System restore seems to be broken in Windows 10 Anniversary Update, because this function fails with error 0x80070091. The root cause seems to be the Microsoft installed Get Office app. I’ve introduced several fixes for this issue and Microsoft has confirmed this bug (see links at the article’s end).

An OEM, who asked to stay anonymous, has send me a solution, they developed to fix the issue. My source wrote:

We are also became aware of the system restore bug. We developed a solution for our internal use. Feel free to publish this solution (without naming the source). Our solution doesn’t require to delete the whole WindowsApps folder. It’s sufficient, to uninstall the Get Office app and delete two folders. We’ve developed some Powershell Scripts to fix this issue for inexperienced users.

Just copy the command list into a text editor and save it to a file SysrestoreFix.bat.

powershell -Command "Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe"
takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe" /r
icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe" /grant "%USERNAME%":F /t
icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe" /inheritance:r /t
rmdir "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe" /s /q
takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /r
icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /grant "%USERNAME%":F /t
icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /inheritance:r /t
rmdir "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /s /q

The commands given above works for Microsoft.MicrosoftOfficeHub_2017.210.251.0.For version  Microsoft.MicrosoftOfficeHub_2017.311.255.0 use the following commands.

powershell -Command "Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe"
takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe" /r
icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe" /grant "%USERNAME%":F /t
icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe" /inheritance:r /t
rmdir "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe" /s /q
takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /r
icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /grant "%USERNAME%":F /t
icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /inheritance:r /t
rmdir "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /s /q

If a new version of OfficeHub app is released, the version number within the script needs to be amended.


Advertising

After creating  a file SysrestoreFix.bat, right click the file and select the context menu command Run as administrator. The script should clean the system and fix system restore.

Addendum: See my new findings here Windows 10: News about System restore error 0x80070091.

Similar articles:
Microsoft confirms System Restore error 0x80070091
Windows 10 Version 1607: System restore error 0x80070091 [Fix]
Windows 10 Update KB3213986 kills system restore


Advertising
This entry was posted in issue, Windows and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *