question

JohnBrel-9349 avatar image
0 Votes"
JohnBrel-9349 asked JohnBrel-9349 answered

System Restore points deleted at boot

Fresh Windows installation (Windows 10 20H2),  with a partition C: of about 140 GB, and partition D: with the remaining space (2 TB total). My problem is that restore points get deleted every time I boot. So far I found out that this coincides with an error in the Volume Shadow Service. When I look at the Logs > System I see a 'volsnap' error with the following message: "The shadow copies of volume C: were deleted because the shadow copy storage could not grow in time.  Consider reducing the IO load on the system or choose a shadow copy storage volume that is not being shadow copied." The event Id is 25. The thing is, my C partition has around 55 GB of data and 85 GB of empty space. And system restore points cannot be located to another drive AFAIK. Please advise - what can I do to restore uhm... system restore? Does anyone have any ideas?

windows-10-generalwindows-10-security
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JohnBrel-9349 avatar image
0 Votes"
JohnBrel-9349 answered

It seems I have found the culprit. I read something about someone having the same problem –restore points deleted at boot time - with a dual boot of Windows 7 and Windows 10. So I checked MSCONFIG and indeed I found out that I had somehow 2 Windows 10 boot options, like in the picture:
73461-msconfig-3.png


I will record here the steps I took to remedy this as it might hopefully help someone running into this problem. The volsnap error could have been clearer, even though it pointed me to the right direction.

The only tricky bit was to remove the redundant versions. If you choose 'delete' in MSCONFIG, this will not permanently remove them. As soon as you select ‘Normal’ at the General tab page, the boot options will return. That’s why we need BCDEDIT in an elevated Command Prompt. (Elevated = run as administrator).
The first thing I did was to make a back-up of the BCD store:

 bcdedit /export filepath\filename

(Restoring would be easy with: bcdedit /import filepath\filename)
Then I listed all boot entries of the BCD store with bcdedit /enum.
I then noted the identifier of the entry I wanted removed and issued the following command:

 bcdedit /delete {identifier}

It will look like this:

 bcdedit /delete {b1ab1ab1a7564-11eb-b3ee-cc3794145ee2}

And it indeed, so far my restore points are intact after several reboots!



msconfig-3.png (170.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Reza-Ameri avatar image
0 Votes"
Reza-Ameri answered JohnBrel-9349 commented

Are you using HDD hard disk?
If yes, try run system file check:

chkdsk /r

In case problem persist, open start and search for feedback and open the Feedback Hub app and report this issue.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks, Reza-Ameri. Chkdsk indicates no errors.

0 Votes 0 ·
JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered JohnBrel-9349 commented

Hi,
You could check the settings if there is a limitation set.
You could change it to unlimited.
73234-image.png
73253-image.png
The following command on the host in order to place the shadow copy on another disk; drive letters need to be changed accordingly:

vssadmin add shadowstorage /For=D: /On=E: /MaxSize=UNBOUNDED
vssadmin resize shadowstorage /For=D: /On=E: /MaxSize=UNBOUNDED

Or you can modify the System Performance by Adjusting the Page File to 1.5 times the amount of RAM:

Open System in Control Panel.
On the Advanced tab, under Performance, click Settings.
On the Advanced tab, under Virtual memory, click Change.
Under Drive [Volume Label], click the drive that contains the paging file you want to change.
Under Paging file size for selected drive, click Custom size, and type a new paging file size in megabytes in the Initial size (MB) or Maximum size (MB) box, and then click Set.

This will have only an effect after a reboot.
Hope above information can help you.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (27.2 KiB)
image.png (15.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi JennyFeng,

I have got 7% of the size reserved for System Restore, which is about 10 GB. As the restore points are a few 100 MB's each, the size doesn't seem to be the culprit, although that is what the error message suggests.

Your suggestion to place the shadow copy on another disk sounds interesting! Forgive me for being obtuse, but does that mean new restore points will automatically be stored in the new place? (I know and understand very little of the shadow copy feature).

Cheers,
John

0 Votes 0 ·