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.

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.

14 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!

Leave a Reply

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