Jump to content

So my pc got borked a bit, and I thought no big deal, I could just use the restore point to restore it, but nope it wouldn't let me. It gave me restore error 0x80070091, which after some research, I found out that it's because it cannot overwrite the WindowsApps folder, and I just need to rename it. I did the thing to get access to WindowsApps, and am now having issues renaming it. It said at first that it was opened in another program, so I used process explorer to find out that it was opened in explorer. I closed explorer with task manager and tried to batch rename it, but the command prompt said it couldn't find the file specified. Is there another way to do this, or am I stuck with borked PC and have to do a full restore?

 

edit: on windows 10 64 bit

 

edit2: got it working, had to unhide the windowsapps folder, close explorer and batch rename it. after that the restore worked.

Link to comment
https://linustechtips.com/topic/744319-renaming-windowsapps/
Share on other sites

Link to post
Share on other sites

6 minutes ago, RandomGuy13 said:

I would be carefull with this. If the error is caused by a corrupted sector or folder, which i think it is. Run check disk. you can do this by opening a CMD with admin permissions then typing the following command:

chkdsk /f /r C:

This is assuming it is the C drive that you are having problems with. 

So I did that, and had to restart so it could check. It finished super quick, and now I'm back at my desktop. Do I attempt a restore again, or if not what must I do?

Link to comment
https://linustechtips.com/topic/744319-renaming-windowsapps/#findComment-9430518
Share on other sites

Link to post
Share on other sites

19 minutes ago, RandomGuy13 said:

takeown /f "C:\Program Files\WindowsApps" /r /d y

Open CMD as admin then run this command and then try the restore again. 

 

EDIT: You might need to boot into safe mode to do this as programs will be useing stuff in the windows apps folder.

did it in and out of safe mode, still got the same error

Link to comment
https://linustechtips.com/topic/744319-renaming-windowsapps/#findComment-9430646
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...
On 2/27/2017 at 6:03 AM, ScumSuckingLandlord said:

So my pc got borked a bit, and I thought no big deal, I could just use the restore point to restore it, but nope it wouldn't let me. It gave me restore error 0x80070091, which after some research, I found out that it's because it cannot overwrite the WindowsApps folder, and I just need to rename it. I did the thing to get access to WindowsApps, and am now having issues renaming it. It said at first that it was opened in another program, so I used process explorer to find out that it was opened in explorer. I closed explorer with task manager and tried to batch rename it, but the command prompt said it couldn't find the file specified. Is there another way to do this, or am I stuck with borked PC and have to do a full restore?

 

edit: on windows 10 64 bit

 

edit2: got it working, had to unhide the windowsapps folder, close explorer and batch rename it. after that the restore worked.

Hello sir, just searching for the net and I have the same problem as you are. Can you please detail how you renamed the windowsapps folder for the system restore to work. It has been 1 week now since I had the same problem and could not find a solution. I already did the command prompt solution but still did not work. Any response from you is greatly appreciated. Thanks.

Link to comment
https://linustechtips.com/topic/744319-renaming-windowsapps/#findComment-9517656
Share on other sites

Link to post
Share on other sites

On 3/14/2017 at 11:41 PM, xenonzed123 said:

Hello sir, just searching for the net and I have the same problem as you are. Can you please detail how you renamed the windowsapps folder for the system restore to work. It has been 1 week now since I had the same problem and could not find a solution. I already did the command prompt solution but still did not work. Any response from you is greatly appreciated. Thanks.

 

On 2/27/2017 at 7:03 AM, ScumSuckingLandlord said:

So my pc got borked a bit, and I thought no big deal, I could just use the restore point to restore it, but nope it wouldn't let me. It gave me restore error 0x80070091, which after some research, I found out that it's because it cannot overwrite the WindowsApps folder, and I just need to rename it. I did the thing to get access to WindowsApps, and am now having issues renaming it. It said at first that it was opened in another program, so I used process explorer to find out that it was opened in explorer. I closed explorer with task manager and tried to batch rename it, but the command prompt said it couldn't find the file specified. Is there another way to do this, or am I stuck with borked PC and have to do a full restore?

 

edit: on windows 10 64 bit

 

edit2: got it working, had to unhide the windowsapps folder, close explorer and batch rename it. after that the restore worked.

I'm actually having the same problem... If you don't mind, could either of you tell me how you resolved the issue?

Link to comment
https://linustechtips.com/topic/744319-renaming-windowsapps/#findComment-9555013
Share on other sites

Link to post
Share on other sites

  • 2 months later...
On 2017-03-21 at 5:17 PM, Dannondorf said:

 

I'm actually having the same problem... If you don't mind, could either of you tell me how you resolved the issue?

 

On 2017-03-14 at 3:41 PM, xenonzed123 said:

Hello sir, just searching for the net and I have the same problem as you are. Can you please detail how you renamed the windowsapps folder for the system restore to work. It has been 1 week now since I had the same problem and could not find a solution. I already did the command prompt solution but still did not work. Any response from you is greatly appreciated. Thanks.

Hi, I have no Idea if you managed to solve this or not. But this worked for me: 

1. Start in safe mode with command prompt
Then type these commands one at a time

cd C:\Program Files

takeown /f WindowsApps /r /d Y

icacls WindowsApps /grant "%USERDOMAIN%\%USERNAME%":(F) /t


attrib WindowsApps -h

rename WindowsApps WindowsApps.old

Link to comment
https://linustechtips.com/topic/744319-renaming-windowsapps/#findComment-9881088
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×