Windows 10: News about System restore error 0x80070091

[German]Today I have to report a few news concerning the bug in Windows 10 system restore (Windows 10 Creators Update and Anniversary Update) causing error 0x80070091.


Advertising

In Windows 10 Anniversary Update system restore fails with error code 0x80070091. I've published several blog post about that issue (see Microsoft confirms System Restore error 0x80070091). Here are a few additional remarks/observations.

Does Windows 10 Creators Update fix this bug?

I've mentioned, that Microsoft has confirmed this error (I've escalated it in Microsoft Answers forum). On April 6, 2017 I 've upgraded a test machine affected from Windows 10 Creators Update (Version 1607) to Windows Creators Update (Version 1703). A feature update removes the operating system (move all files to windows.old) and also the folder %ProgramFiles%\WindowsApps.

After finishing the feature update, I created a system restore point and let Windows 10 Version 1703 do a system restore. System restore was ready after a short time and reported a successful operation (see screenshot above).

This observation has been confirmed by a (German) user comment within my blog. Why is there still a question mark in the above header? Because the bug is caused from Office Hub app – and an app update could bring back the issue.


Advertising

Modified fix for Windows 10 Anniversary Update

I got a few weeks ago a batch program to fix this issue from an OEM who asked to stay anonymous (see also my blog post Windows 10 V 1607: Fix for system restore error 0x80070091).

Now this OEM contacted me again and informed me, that we need a modified batch file to fix the issue. The reason: after installing the last cumulative update the PBR process (see) runs further as before, but stalls also at least. But the OfficeHub files are copied in a way, that let the old fix fail. As a result, PBR won't launch during a second attempt. Here is the modified batch file to fix the system restore error:

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
rd "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
rd "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /s /q

takeown /f "C:\$SysReset\OldOS\Program Files\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /r
icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /grant "%USERNAME%":F /t
icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /inheritance:r /t
rd "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /s /q

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
rd "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
rd "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /s /q

takeown /f "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /r
icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /grant "%USERNAME%":F /t
icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /inheritance:r /t
rd "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /s /q

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

takeown /f "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /r
icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /grant "%USERNAME%":F /t
icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /inheritance:r /t
rd "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /s /q

Store the commands into a file OfficeHub.cmd and execute this file using Run as administrator. This should fix system restore in Windows 10 Version 1607.

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


Advertising

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

26 Responses to Windows 10: News about System restore error 0x80070091

  1. jon@baystatetaxi.com says:

    I have Windows 10 Version 1607. The update screwed up my system, so I tried a restore that failed with the 0x80070091 error code. I tried the above batch file, but System Restore still gives the same error.

    What should I try next? I am disabled and rely on my system, so I am a little desperate. Please help!

  2. Günter Born says:

    There are other articles linked at the end of the blog post showing how to solve the issue manually. But it's had stuff. Perhaps it would be clever to order some help from pc supporters near by.

    Update: My fault – the first edition of the batch file missed a command, was lost during copy & paste. I've amended the code.

  3. gery says:

    Fix worked perfectly for me first go

  4. gery says:

    Thank you

  5. jon@baystatetaxi.com says:

    I will try again the amended file. 2 questions:

    1) Any issue with running it again (amended one) after running the one missing a command?

    2) Does the batch file do anything "bad"/side effects? Does it do anything that I should be concerned about reversing later?

    Thanks!

    • guenni says:

      1) shut run a 2nd time

      2) I don't know about bad side effects – it removes only Get Office app

  6. Richard Tamir says:

    I don't typically run .cmd files on request. But I had been hacked by mail.ru and had to replace my system. Your program worked perfectly, my system has been restored – as well as my faith in the computer community. Thank you.

  7. Phil says:

    I have Windows 10 Version 1607. System Restore has never worked since I bought my machine on 1/31/17. I tried your batch file, but it didn't help. I want to make sure that I did it correctly.
    1. I copied everything from from word "powershell" to the last "/q" & saved it into a text file on my desktop named OfficeHub.txt.
    2. Then I renamed it to OfficeHub.cmd
    3. I right clicked it & chose "Run as administrator" (actually did this more than once).
    4. Then I created a restore point, chose it, & went thru the prompts.
    Got the same message about it failing. I don't want to start from scratch, as I've spent almost 3 months tweaking Windows 10 & installing programs & it never worked from the beginning.
    Did I run the batch file correctly?

    • guenni says:

      Add:

      echo 'check for errors'
      pause

      commands at the end of the batch file and check, if there are errors.

  8. Phil says:

    Thank you for the suggestion, guenni. I added '***' at the end of the first line & also on a new line. The batch file ran, but didn't pause, so I couldn't check for errors. I also tried doing it without the apostrophe. Did I misunderstand you?

  9. Phil says:

    I found what the Pause command was. There were several errors, but I don't know how to deal with them. The results were:

    C:\Windows\system32>powershell -Command "Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe"
    Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF1, Package was not found.
    Windows cannot remove Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe because the current user
    does not have that package installed. Use Get-AppxPackage to see the list of packages installed.
    NOTE: For additional information, look for [ActivityId] 240659c1-bacc-0002-7e73-0624ccbad201 in the Event Log or use
    the command line Get-AppxLog -ActivityID 240659c1-bacc-0002-7e73-0624ccbad201
    At line:1 char:1
    + Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutra …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Microsoft.Micro…~_8wekyb3d8bbwe:String) [Remove-AppxPackage], PSInval
    idOperationException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

    C:\Windows\system32>takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe" /r
    ERROR: The system cannot find the file specified.

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe" /grant "Phil":F /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe" /inheritance:r /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>rd "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe" /s /q
    The system cannot find the file specified.

    C:\Windows\system32>takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /r
    ERROR: The system cannot find the file specified.

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /grant "Phil":F /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /inheritance:r /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>rd "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /s
    /q
    The system cannot find the file specified.

    C:\Windows\system32>takeown /f "C:\$SysReset\OldOS\Program Files\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb
    3d8bbwe" /r
    ERROR: The system cannot find the path specified.

    C:\Windows\system32>icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64
    __8wekyb3d8bbwe" /grant "Phil":F /t
    C:\$SysReset\OldOS\Program Files\WindowsApps\*: The system cannot find the path specified.
    Successfully processed 0 files; Failed processing 1 files

    C:\Windows\system32>icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /inheritance:r /t
    C:\$SysReset\OldOS\Program Files\WindowsApps\*: The system cannot find the path specified.
    Successfully processed 0 files; Failed processing 1 files

    C:\Windows\system32>rd "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" /s /q
    The system cannot find the path specified.

    C:\Windows\system32>powershell -Command "Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe"
    Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF1, Package was not found.
    Windows cannot remove Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe because the current user
    does not have that package installed. Use Get-AppxPackage to see the list of packages installed.
    NOTE: For additional information, look for [ActivityId] 240659c1-bacc-0006-f46c-0624ccbad201 in the Event Log or use
    the command line Get-AppxLog -ActivityID 240659c1-bacc-0006-f46c-0624ccbad201
    At line:1 char:1
    + Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutra …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Microsoft.Micro…~_8wekyb3d8bbwe:String) [Remove-AppxPackage], PSInval
    idOperationException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

    C:\Windows\system32>takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe" /r
    ERROR: The system cannot find the file specified.

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe" /grant "Phil":F /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe" /inheritance:r /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>rd "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.311.255.0_neutral_~_8wekyb3d8bbwe" /s /q
    The system cannot find the file specified.

    C:\Windows\system32>takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /r
    ERROR: The system cannot find the file specified.

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /grant "Phil":F /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /inheritance:r /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>rd "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /s /q
    The system cannot find the file specified.

    C:\Windows\system32>takeown /f "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0
    _x64__8wekyb3d8bbwe" /r
    ERROR: The system cannot find the path specified.

    C:\Windows\system32>icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64
    __8wekyb3d8bbwe" /grant "Phil":F /t
    C:\$SysReset\OldOS\Program Files\WindowsApps\*: The system cannot find the path specified.
    Successfully processed 0 files; Failed processing 1 files

    C:\Windows\system32>***
    '***' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Windows\system32>icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /inheritance:r /t
    C:\$SysReset\OldOS\Program Files\WindowsApps\*: The system cannot find the path specified.
    Successfully processed 0 files; Failed processing 1 files

    C:\Windows\system32>rd "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe" /s /q
    The system cannot find the path specified.

    C:\Windows\system32>powershell -Command "Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.318.204.0_neutral_~_8wekyb3d8bbwe"
    Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF1, Package was not found.
    Windows cannot remove Microsoft.MicrosoftOfficeHub_2017.318.204.0_neutral_~_8wekyb3d8bbwe because the current user
    does not have that package installed. Use Get-AppxPackage to see the list of packages installed.
    NOTE: For additional information, look for [ActivityId] 240659c1-bacc-0002-8373-0624ccbad201 in the Event Log or use
    the command line Get-AppxLog -ActivityID 240659c1-bacc-0002-8373-0624ccbad201
    At line:1 char:1
    + Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.318.204.0_neutra …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Microsoft.Micro…~_8wekyb3d8bbwe:String) [Remove-AppxPackage], PSInval
    idOperationException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

    C:\Windows\system32>takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.318.204.0_neutral_~_8wekyb3d8bbwe" /r
    ERROR: The system cannot find the file specified.

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.318.204.0_neutral_~_8wekyb3d8bbwe" /grant "Phil":F /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.318.204.0_neutral_~_8wekyb3d8bbwe" /inheritance:r /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>rd "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_2017.318.204.0_neutral_~_8wekyb3d8bbwe" /s /q
    The system cannot find the file specified.

    C:\Windows\system32>takeown /f "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /r
    ERROR: The system cannot find the file specified.

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /grant "Phil":F /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /inheritance:r /t
    Successfully processed 0 files; Failed processing 0 files

    C:\Windows\system32>rd "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /s /q
    The system cannot find the file specified.

    C:\Windows\system32>takeown /f "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /r
    ERROR: The system cannot find the path specified.

    C:\Windows\system32>icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /grant "Phil":F /t
    C:\$SysReset\OldOS\Program Files\WindowsApps\*: The system cannot find the path specified.
    Successfully processed 0 files; Failed processing 1 files

    C:\Windows\system32>icacls "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /inheritance:r /t
    C:\$SysReset\OldOS\Program Files\WindowsApps\*: The system cannot find the path specified.
    Successfully processed 0 files; Failed processing 1 files

    C:\Windows\system32>rd "C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.8017.5925.0_x64__8wekyb3d8bbwe" /s /q
    The system cannot find the path specified.

    C:\Windows\system32>Pause
    Press any key to continue . . .

    • guenni says:

      It seems to me, that you use the wrong script. Microsoft is changing the name of the MicrosooftOfficeHub-xxxx thing. I've linked an older version, maybe some script fits.

      I've linked additional blog posts discussing, how to manually remove the folders. Pls use the instructions given within these articles to check whether the files are present.

  10. Phil says:

    Thank you for your reply. I can't find the posts discussing how to manually remove the folders. Could you please direct me to those links? Thank you very much. I really appreciate your time!

  11. Emmet says:

    So, is it possible that folks who have Microsoft Office installed are "immune" to this bug (since they don't have the OfficeHub app running?)

    • guenni says:

      Can't answer this question, because I don't know the algorithm used to install the OfficeHub app. In my understanding, most people won't install an image with Windows 10 1607 + Office 2016 integrated.

  12. Adelheid says:

    Ich habe seit 3 Tagen das Problem mit der Systemwiederherstellung (appxStaging Fehler Ox80070091). Bin fast am Verzweifeln! Selbst wenn ich den Laptop auf Werkseinstellung setze, vermute ich, dass der Fehler wieder auftaucht. Ich versuche nachher noch den Creator zu installieren. Ob dann das Problem behoben ist, ich weiß es nicht. Nur am Rande bemerkt: ich bin fast 73, aber ich habe Angst davor in irgendeiner Datei Veränderungen vorzunehmen.

    • guenni says:

      @Adelheit: Einfach lassen …

      Ich habe gerade die Version 1703 (Build 15063.296) getestet. Da klappt die Systemwiederherstellung noch.

      For my English readers: I just tested Version 1703 (Build 15063.296) worked without a flaw. I'm using a local account on this test machine so far.

  13. Marc says:

    This batch file won't work anymore because Microsoft.MicrosoftOfficeHub is now at 2017.407.2307

    Method 2 here works: https://www.repairwin.com/fix-system-restore-failed-0x80070091-in-windows-10/

    The Creators Update fixes this bug. But I wouldn't install it until it has reached Current Branch for Business.

    • Marie Ybarra says:

      Marc, so many instructions are given how am I supposed to remember them after re-starting/booting the PC?

  14. Phil says:

    Hi guenni:
    Thank you for your suggestions. I'm still having problems and have 3 additional questions.
    In running the OfficeHub.cmd, I found that the MicrosoftOfficeHub versions were:
    C:Windowssystem32>powershell -Command "Remove-AppxPackage Microsoft.MicrosoftOfficeHub_2017.210.251.0_neutral_~_8wekyb3d8bbwe"
    Note the ending number 2017.210.251.0_neutral_~_8wekyb3d8bbwe"

    When I used Administrator: Command Prompt – powershell to copy the folder to the clipboard using:
    PS C:Program FilesWindowsApps> (LS -Re -Fi * -Fo -Ea:Inquire).FullName | clip
    I discovered that all my MicrosoftOfficeHub versions were:
    (They start with MicrosoftOfficeHub_)

    17.8107.7600.0_x64__8wekyb3d8bbwe
    2017.407.2307.0_neutral_~_8wekyb3d8bbwe
    2017.407.2307.0_neutral_~_8wekyb3d8bbwe & ending with VFS
    C:Program FilesWindowsAppsMicrosoft.MicrosoftOfficeHub_2017.407.2307.0_neutral_~_8wekyb3d8bbweAppxMetadataAppxBundleManifest.xml
    etc.

    So my 3 questions are:
    1. In my OfficeHub.cmd, should I edit the numbers following, MicrosoftOfficeHub to match my numbers & run it again?
    2. If I do so, how do I know when to use
    17.8107.7600.0_x64__8wekyb3d8bbwe
    -or- 2017.407.2307.0_neutral_~_8wekyb3d8bbwe
    3. Probably a dumb question, but should I use my backup program to create a full image before doing this?
    Thanks again for your advice!

    • guenni says:

      Last question: It's always a good idea to create a full system backup before you alter the system.

      The other question: Try the 2017.407.2307.0_neutral_~_8wekyb3d8bbwe & ending with VFS – if that doesn't help, try the others. I don't have this issue on my W10 V1703 test machine anymore.

  15. Mirela says:

    I had to a system restore after I experienced issues following an uninstall of a Windows build. I entered this code per the instructions and did a system restore. The restore was working as it was. However, I got the same error message. A few hours later, however, I wanted to check my restore points and it said that I had, in fact, done a system restore. I don't know if that's a glitch to look for when people use this method to fix? The command worked like a charm despite that error message I got. I have the latest Windows 10 1607 build on a Dell 64-bit laptop.

  16. grassotto says:

    hello, i see this post is quite old, but i am experiencing the system restore error 0x80070091 still. There is no official fix for this yet?

Leave a Reply

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

Note: Please note the rules for commenting on the blog (first comments and linked posts end up in moderation, I release them every few hours, I rigorously delete SEO posts/SPAM).