Windows 10: Around 12-15 gb decrease in C drive after unsuccessful system restore

Page 3 of 4 FirstFirst 1234 LastLast
  1.    11 Sep 2017 #21

    This is what your system volume information folder should look like with no restore points:

    Click image for larger version. 

Name:	Capture.PNG 
Views:	4 
Size:	90.1 KB 
ID:	152773

    I think you can go ahead and delete SystemRestore/AppxStaging. You can do this however you like - boot from external OS, recovery environment, install USB, Linux as you wish - any will give you authority. You could try even taking authority but this would be more complicated.

    There might be some table containing links and system restore might break but if you don't want to clean install yet then try it. Then turn on system protection, create a restore point and restore to it. That will prove if it works or not.

    I think your problem is due to this System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 - Windows 10 Forums which is fixed now apparently.

    There might be some table containing links and system restore might break but if you don't want to clean install yet then try it - you have nothing to lose. Then turn on system protection, create a restore point and restore to it. That will prove if it works or not.

    If it doesn't work you don't lose anything - Windows will keep on working - just not system restore.
      My ComputerSystem Spec

  2.    11 Sep 2017 #22

    lx07 said: View Post
    This is what your system volume information folder should look like with no restore points:

    Click image for larger version. 

Name:	Capture.PNG 
Views:	4 
Size:	90.1 KB 
ID:	152773

    I think you can go ahead and delete SystemRestore/AppxStaging. You can do this however you like - boot from external OS, recovery environment, install USB, Linux as you wish - any will give you authority. You could try even taking authority but this would be more complicated.

    There might be some table containing links and system restore might break but if you don't want to clean install yet then try it. Then turn on system protection, create a restore point and restore to it. That will prove if it works or not.

    I think your problem is due to this System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 - Windows 10 Forums which is fixed now apparently.

    There might be some table containing links and system restore might break but if you don't want to clean install yet then try it - you have nothing to lose. Then turn on system protection, create a restore point and restore to it. That will prove if it works or not.

    If it doesn't work you don't lose anything - Windows will keep on working - just not system restore.
    Thank you for your reply and time

    I understood that i can delete the SystemRestore/AppxStaging files. the problem is that i don't know how to do it

    The thing is i am not a computer expert or IT guy. I am biology researcher who has learn few things about computer from google.

    The suggestion you are giving as to " boot from external OS, recovery environment, install USB, Linux as you wish" i dont know anything about it. I have never done booting. I can learn but i am scared that i may mess up.

    The link you have given shows taking ownership of "C:\Program Files\WindowsApps" but i need a way to gain access to C:\system volume. Delete the app folder and than again restore the ownership.

    Is there any easy way to do it without booting?
      My ComputerSystem Spec

  3.    11 Sep 2017 #23

    jakkaas said: View Post
    i need a way to gain access to C:\system volume.
    Don't do that!

    If you take ownership of the whole C volume it will end in tears. You only want to delete the one directory "C:\System Volume Information\SystemRestore\AppxStaging"

    Try these commands from an administrator powershell prompt - you can literally copy paste the whole contents of the box below
    Code:
    $folder="C:\System Volume Information\SystemRestore\AppxStaging"
    
    # take ownership
    takeown /f "$folder" /r /d Y
    	
    # Grant full rights to current user
    icacls "$folder" --% /grant "%USERDOMAIN%\%USERNAME%":(F) /t
    
    #delete it
    Remove-Item -recurse -force $folder
    This is the results I get for the above - it fails as I don't have the AppxStaging directory. There is lots of red and error messages.

    Click image for larger version. 

Name:	Capture1.PNG 
Views:	2 
Size:	33.2 KB 
ID:	152782

    and here is what is should look like for you (I deleted a different folder in the same directory by making $folder equal to something else) - nothing red and things saying success.

    Click image for larger version. 

Name:	Capture2.PNG 
Views:	3 
Size:	32.4 KB 
ID:	152781
    Last edited by lx07; 11 Sep 2017 at 10:05. Reason: example
      My ComputerSystem Spec

  4.    11 Sep 2017 #24

    lx07 said: View Post
    Don't do that!

    If you take ownership of the whole C volume it will end in tears. You only want to delete the one directory "C:\System Volume Information\SystemRestore\AppxStaging"

    Try these commands from an administrator powershell prompt - you can literally copy paste the whole contents of the box below
    Code:
    $folder="C:\System Volume Information\SystemRestore\AppxStaging"
    
    # take ownership
    takeown /f "$folder" /r /d Y
    	
    # Grant full rights to current user
    icacls "$folder" --% /grant "%USERDOMAIN%\%USERNAME%":(F) /t
    
    #delete it
    Remove-Item -recurse -force $folder
    This is the results I get for the above - it fails as I don't have the AppxStaging directory. There is lots of red and error messages.

    Click image for larger version. 

Name:	Capture1.PNG 
Views:	2 
Size:	33.2 KB 
ID:	152782

    and here is what is should look like for you (I deleted a different folder in the same directory by making $folder equal to something else) - nothing red and things saying success.

    Click image for larger version. 

Name:	Capture2.PNG 
Views:	3 
Size:	32.4 KB 
ID:	152781
    I am taking a system backup now. Will try and let you know.

    Thank you for reply
      My ComputerSystem Spec

  5.    11 Sep 2017 #25

    System restore does not always work very well, as you are now finding out. I've had mine completely turned off for a long time. I only use Macrium Reflect and only make complete image backups to a 2nd drive. Thats all you really need to do. Keep Windows restore off would be my suggestion for the future.
      My ComputersSystem Spec

  6.    11 Sep 2017 #26

    lx07 said: View Post
    Don't do that!

    If you take ownership of the whole C volume it will end in tears. You only want to delete the one directory "C:\System Volume Information\SystemRestore\AppxStaging"

    Try these commands from an administrator powershell prompt - you can literally copy paste the whole contents of the box below
    Code:
    $folder="C:\System Volume Information\SystemRestore\AppxStaging"
    
    # take ownership
    takeown /f "$folder" /r /d Y
    	
    # Grant full rights to current user
    icacls "$folder" --% /grant "%USERDOMAIN%\%USERNAME%":(F) /t
    
    #delete it
    Remove-Item -recurse -force $folder
    This is the results I get for the above - it fails as I don't have the AppxStaging directory. There is lots of red and error messages.

    Click image for larger version. 

Name:	Capture1.PNG 
Views:	2 
Size:	33.2 KB 
ID:	152782

    and here is what is should look like for you (I deleted a different folder in the same directory by making $folder equal to something else) - nothing red and things saying success.

    Click image for larger version. 

Name:	Capture2.PNG 
Views:	3 
Size:	32.4 KB 
ID:	152781
    I tried this command and all was going successful. I could see that i was granted permission for all the files. Then deletion started and it was going well until all command started becoming red. [see the screenshot]
    Attachment 152797


    Using treesize i can see that 2 gb of space has been decreased.

    Attachment 152798


    Any idea what went wrong?

    In between my edge history got deleted.

    Also now using treesize i directly opened the AppxStaging folder and tried deleting it. It showing deleting but still folder and subfolders are not deleted. Folder are not seen in recycle bin.

    so now i have the access. the question is how to delete it?
    Edit :
    It seems that i still don't have full access to the remaining folder. I can just read and write over it.
    Last edited by jakkaas; 11 Sep 2017 at 12:08. Reason: Futher detail
      My ComputerSystem Spec

  7.    11 Sep 2017 #27

    jakkaas said: View Post
    [see the screenshot]
    Attachment 152797
    I can't see your picture for some reason.

    jakkaas said: View Post
    Also now using treesize i directly opened the AppxStaging folder and tried deleting it. It showing deleting but still folder and subfolders are not deleted. Folder are not seen in recycle bin.
    That is normal - deleting from the command line (or treesize) immediately deletes things - it doesn't put them in recycle bin.

    jakkaas said: View Post
    It seems that i still don't have full access to the remaining folder. I can just read and write over it.
    You mean you can't delete it?

    Try the command icacls "C:\System Volume Information\SystemRestore\whatever" to see the permissions. Here are mine for the root directory but post your for the directory you can't delete.
    Code:
    c:\>icacls "C:\System Volume Information\SystemRestore"
    C:\System Volume Information\SystemRestore X201\Hali:(F)
                                               BUILTIN\Administrators:(OI)(CI)(F)
                                               NT AUTHORITY\SYSTEM:(OI)(CI)(F)
    
    Successfully processed 1 files; Failed processing 0 files
    Please also post the owner with the "dir /a /q "Whatever directory" command like this:
    Code:
    c:\>dir /a /q "C:\System Volume Information\SystemRestore"
     Volume in drive C has no label.
     Volume Serial Number is 63D0-2EE0
    
     Directory of C:\System Volume Information\SystemRestore
    
    11-Sep-17  16:34    <DIR>          X201\Hali              .
    11-Sep-17  16:34    <DIR>          BUILTIN\Administrators ..
                   0 File(s)              0 bytes
                   2 Dir(s)  19,505,348,608 bytes free
    Last edited by lx07; 11 Sep 2017 at 13:52. Reason: please post the owner as well
      My ComputerSystem Spec

  8.    11 Sep 2017 #28

    After reading this entire thread I have to wonder if anyone thought about the windows.old folder? Could it be the culprit?

    Just a thought.
      My ComputersSystem Spec

  9.    11 Sep 2017 #29

    sygnus21 said: View Post
    After reading this entire thread I have to wonder if anyone thought about the windows.old folder? Could it be the culprit?

    Just a thought.
    Not unless there are hard links from Windows.old to "System Volume Information". I don't know if that is even possible. Even if it was it would be a terrible bug as restore points are supposed to contain the information to revert - not contain information to run.

    In any case disk clean-up gets rid of Windows.old - @OldMike (and perhaps someone else) suggested that some time ago.

    The problem here is how to delete rubbish from "C:\System Volume Information" that should (but hasn't) been deleted by turning off system protection.

    I did see a couple of threads on MS website where they just gave up and clean installed - this is an option of course.

    Ideally if it is possible to take ownership and delete this junk it would be better for the OP. If not then perhaps someone else can explain booting from a PE environment as my communication skills aren't great.
      My ComputerSystem Spec

  10.    11 Sep 2017 #30

    I tried even booting from linux (gave my time in learning it and trying) and then when i started to delete these folder, it is saying that i dont have permision to delete it. So basically i couldn't delete it from linux too. now i am goint to sleep. Wasted my day in not doing my work and learning thing which i might not use.

    Anyways Here is the screen shot you asked

    Click image for larger version. 

Name:	Screenshot (45).png 
Views:	1 
Size:	59.8 KB 
ID:	152821
      My ComputerSystem Spec


 
Page 3 of 4 FirstFirst 1234 LastLast

Related Threads
Hello everyone and thanks in advance for anyone that helps. I am really troubled as I have been googling the hell out of this and trying many solutions with none of them working. 1) My pc first entered a loop when I tried to remove mcafee with...
Since upgrading system restore is not creating restore points automatically. I have to create them manually and then they are being deleted automatically every 3 - 7 days. I tried allocating more disk space to restore but that has done no good. I...
How can one decrease the duration of display to 2 seconds of the (system) messages Win 10 shows: http://i.imgur.com/b7cMcWM.png
Suppose I use Macrum Reflex and create an image on a removable hard drive of Windows 10 and all settings that are on my C hard drive. If the computer is in such a state that it will not boot up, How do I restore what I have on the removable hard...
So why did Microsoft change this? If I remember correctly all previous versions would create a system restore point before doing Microsoft updates. Since 10 installed all updates that come in for me are downloaded and installed without a restore...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 22:36.
Find Us