What Does System Restore ACTUALLY Do?

ThioJoe
27 Aug 202211:31

Summary

TLDRThis video explores the inner workings of Windows' System Restore feature, which creates restore points to revert system changes causing issues. Despite not restoring personal data, it backs up more than expected, including the entire Windows directory and specific file types across the drive. It utilizes the Volume Shadow Copy Service for efficient backups. The video also advises enabling System Restore, which is disabled by default in recent Windows versions, and highlights its limitations and potential issues, such as interference from malware.

Takeaways

  • 🔄 System Restore in Windows is a feature that can revert the system to a previous state but is not always 100% reliable.
  • 📚 According to Microsoft, System Restore monitors system changes and saves the system state without affecting user data or documents.
  • 💾 System Restore uses the Volume Shadow Copy Service to back up more than just the listed file types, including the entire Windows directory.
  • 🚫 System Restore does not restore user data or documents, ensuring users won't lose personal files, emails, or browsing history.
  • 🛠️ System Restore is not enabled by default in Windows 10 and Windows 11, and it's recommended to manually enable it for the main system drive.
  • 🔧 System Restore points can be triggered by application installations, Windows updates, or manually created through the system settings.
  • 🔎 The feature scans for a list of file types across the entire drive, not just the Windows directory, which could affect user-created files that match these types.
  • 🛡️ System Restore is also capable of restoring drivers and programs, suggesting it interacts with the registry to manage installations and removals.
  • 📁 The Volume Shadow Copy Service creates snapshots of the entire drive, which can be explored and used to recover files outside of what System Restore typically manages.
  • ⚠️ Malware can target and delete shadow copies, which is a risk when relying on System Restore for recovery from infections.

Q & A

  • What is the primary function of the system restore feature in Windows?

    -The system restore feature in Windows monitors system changes and saves the system state as a restore point, allowing users to return the system to a previous state if a problem develops due to a system change.

  • Does system restore affect personal documents and user data?

    -No, system restore does not restore user data or documents, so it will not cause users to lose their files, email, browsing history, or favorites.

  • Why might someone need to enable system restore on their Windows computer?

    -System restore is not enabled by default in Windows 10 and Windows 11, so users may need to enable it to have the option to restore their system to a previous state in case of system issues.

  • What triggers the creation of a system restore point?

    -System restore points can be triggered by application installations, Windows updates, manual creation, or scheduling with the task scheduler. Additionally, initiating a restore using a restore point also creates a new restore point.

  • How does the system restore feature interact with the Volume Shadow Copy Service?

    -System restore uses the Volume Shadow Copy Service to create a snapshot of the entire volume, which includes a 'difference' copy of the drive. This service is also used by system restore to restore the system to a previous state.

  • What is the practical implication of the Volume Shadow Copy Service for users?

    -The Volume Shadow Copy Service allows users to explore and potentially recover files from snapshots even if they were deleted from the recycle bin, providing a way to restore files that system restore might not cover.

  • Can system restore be used to fix issues caused by malware?

    -While system restore can be used to revert system changes, it's not specifically designed for malware removal. Some advanced malware may even delete shadow copies to prevent restoration to a previous state.

  • What are the limitations of relying on system restore for file recovery?

    -System restore may not always have the most recent snapshot, and it only restores files that are part of the system state or on the list of monitored file types. It is not a substitute for a dedicated backup solution.

  • Why might system restore fail and what could be done to troubleshoot it?

    -System restore might fail due to various reasons, such as interference from antivirus programs. Disabling the antivirus temporarily could be a troubleshooting step, but caution should be taken not to disable it if the restore is due to a virus.

  • What is the recommendation for users regarding system restore and additional backup solutions?

    -It is recommended that users enable system restore and also utilize additional backup solutions like the File History feature or dedicated external hard drives for a more comprehensive data protection strategy.

Outlines

00:00

🔄 Understanding Windows System Restore

The first paragraph delves into the functionality of the system restore feature in Windows. It explains that while the feature is designed to revert system files to a previous state to resolve system issues, it does not affect user files, such as personal documents or browsing history. The system restore function is not enabled by default in Windows 10 and 11, but users are encouraged to activate it. The paragraph also discusses how system restore points are created automatically by the system or manually by the user, often triggered by events like software installations or system updates. The text highlights that the restore process is more extensive than it seems, using the Volume Shadow Copy Service to back up more than just the files listed in a restore point.

05:02

🗂️ Exploring Volume Shadow Copy Service

The second paragraph focuses on the Volume Shadow Copy Service, a feature integral to Windows' backup process. This service does not create a full copy of the drive but instead creates a 'difference' copy, storing only the changes made to files. This method is similar to incremental backups, which saves storage space by only recording differences rather than duplicating the entire drive. Users can access these shadow copies using third-party tools like ShadowCopyView to recover specific files from past snapshots, even those not included in a typical system restore. The paragraph emphasizes that while useful, relying solely on shadow copies for backup is not recommended, as malware can delete these backups. Instead, a more comprehensive backup solution, such as the File History feature, is advised.

10:05

📋 Best Practices for System Restore and Backups

The third paragraph provides practical advice on utilizing the system restore feature effectively. It reiterates that system restore backs up files based on specific file types, covering the entire Windows directory, including the registry and drivers. The paragraph stresses that while system restore can be a helpful tool for undoing changes from software installations or updates, it is not a reliable method for recovering from malware attacks. The text recommends enabling system restore for quick fixes but also using more robust backup methods, like the File History feature or dedicated backup drives, to ensure comprehensive data protection. The importance of regular backups and being prepared for potential system failures or malware infections is underscored, along with a call to action for viewers to engage with the content and subscribe for more tips.

Mindmap

Keywords

💡System Restore

System Restore is a feature in Windows operating systems that allows users to revert their system settings and files to a previous state. It's designed to help recover from system problems that may have been caused by software changes. In the video, the narrator discusses the reliability of System Restore and what exactly it restores, which is a central theme of the video. The script mentions that System Restore does not restore user data or documents, ensuring users do not lose personal files during the process.

💡Restore Point

A restore point is a snapshot of the system's state, including system settings, installed programs, and drivers, which can be used to return the system to a previous state. The video script explains that System Restore uses restore points to monitor system changes and save the system state, which users can utilize to revert to a previous state if a problem arises. The narrator also guides viewers on how to enable System Restore and create restore points.

💡Volume Shadow Copy Service

The Volume Shadow Copy Service is a feature in Windows that allows the creation of snapshots of computer files, known as shadow copies. These snapshots can be used to recover previous versions of files or to restore the system state. The video script reveals that System Restore uses this service to back up more than just the specified file types, effectively creating a more comprehensive backup than what is immediately used for restoring the system.

💡Windows Directory

The Windows directory, typically located at C:\Windows, contains the core system files required for the operation of the Windows operating system. The video script mentions that System Restore backs up the entire Windows directory, ensuring that critical system files are included in the restore process. This is important for maintaining system integrity and functionality when reverting to a previous state.

💡Registry

The Windows Registry is a database that stores configuration settings and options for the operating system and installed software. In the context of the video, the narrator suggests that System Restore backs up the registry, which is crucial for restoring system settings and installed software configurations to a previous state.

💡File Types

File types refer to the different categories of files recognized by the operating system, each with its own extension (e.g., .exe, .dll). The video script discusses that System Restore has a list of file types it scans and restores across the entire drive, which includes but is not limited to system-related files. This is significant as it indicates the breadth of files that could be affected by a system restore.

💡Malware

Malware, short for malicious software, refers to any software intentionally designed to cause harm to a computer, server, or computer network. The video script warns that advanced malware might target shadow copies to prevent users from restoring their system to a clean state, highlighting the importance of having multiple backup strategies.

💡Antivirus Interference

Antivirus software can sometimes interfere with system processes, including System Restore. The video script suggests that disabling antivirus software might be a troubleshooting step if System Restore fails, although it advises caution as this should not be done if the system is infected with a virus.

💡File History

File History is a feature in Windows that automatically backs up files to an external storage device. The video script contrasts File History with System Restore, suggesting that while System Restore is useful for system files and settings, File History is more suitable for personal files and data protection.

💡System Protection

System Protection is a setting in Windows that allows the use of System Restore. The video script instructs viewers on how to enable System Protection for their main system drive, which is necessary for creating and using restore points to revert system changes.

💡ShadowCopyView

ShadowCopyView is a utility by Nirsoft that allows users to view and manage shadow copies created by the Volume Shadow Copy Service. The video script demonstrates using ShadowCopyView to recover a file from a shadow copy, showcasing an additional use case for the Volume Shadow Copy Service beyond what System Restore directly provides.

Highlights

System Restore in Windows can be a lifesaver, but it's not always 100% reliable.

System Restore monitors system changes and saves the system state as a restore point.

It does not restore user data or documents, ensuring users won't lose personal files, emails, or browsing history.

System Restore is available in the Windows recovery environment or safe mode.

System Restore is not enabled by default in Windows 10 and Windows 11.

Enabling System Restore is recommended, especially on the main C drive.

System Restore points can be triggered by application installations, Windows updates, or manually created.

System Restore uses the Volume Shadow Copy Service to back up more than expected.

It backs up the entire Windows directory and monitors a list of file types across the entire drive.

System Restore likely involves additional logic beyond file type scanning to handle program installations and removals.

The Volume Shadow Copy Service creates a snapshot of the entire volume, storing differences rather than full copies.

Shadow copies can be explored and used to recover deleted files not restored by System Restore.

System Restore is best used for program-related issues rather than for malware or serious system failures.

Malware can delete shadow copies, making System Restore less reliable in such cases.

For file recovery, using the File History feature or a dedicated backup drive is more reliable than relying on System Restore.

System Restore can fail, and disabling antivirus temporarily might help, but not in the case of a virus.

The video provides a detailed exploration of System Restore's capabilities and limitations.

Transcripts

play00:00

The system restore feature in Windows has been around forever, and it's saved me plenty

play00:04

of times, although it's not always 100% reliable.

play00:07

And it got me thinking, what exactly does the system restore feature restore and back

play00:12

up?

play00:13

I mean I know that it obviously does system files, but does it do the entire Windows directory,

play00:17

what does it do outside of the Windows directory?

play00:20

Because I know that it also claims to not restore or delete any personal documents and

play00:26

stuff like that, so I kind of looked into it.

play00:28

Now, the first resource that I came across of course, was the official Microsoft documentation.

play00:32

And the summary they say is:

play00:34

"System restore monitors system changes and saves the system state as a restore point.

play00:38

If a system problem develops as a result of a system change, the user can return the system

play00:42

to a previous state using the data from a restore point."

play00:45

Then it goes on, "System restore does not restore user data or documents,

play00:48

so it will not cause users to lose their files, email browsing history or favorites.

play00:52

System restore is also made available to users in the Windows recovery environment or safe

play00:56

mode, making it easier for them to restore the computer to a state before the problems

play01:00

occur."

play01:01

But it doesn't exactly state what directories or anything specifically.

play01:05

And it turns out that the system restore feature actually is a little bit more interesting

play01:08

than I even anticipated.

play01:09

It actually uses something called the Volume Shadow [Copy] Service, which I'll explain

play01:14

what that is.

play01:15

But needless to say, it actually kind of backs up quite a bit more than you expect, even

play01:19

if it doesn't use all of it, which actually might come in handy,

play01:22

so that's another thing we'll go over.

play01:24

Now before we get too far into it, I wanna point out that the system restore feature

play01:27

these days is actually not enabled by default in Windows.

play01:30

Windows 10, Windows 11.

play01:32

So I actually recommend you do go enable that feature.

play01:35

You can do that by going to the start menu and searching "system restore", and then click

play01:39

"create a restore point".

play01:41

Now despite it saying, create a restore point, this actually just takes you to the general

play01:44

system restore settings, so just ignore what it's called.

play01:47

Anyway, in this window under protection settings in this box, it'll list the drives and whether

play01:51

or not system restore is enabled on them.

play01:54

I would definitely at least recommend enabling it on your main C drive.

play01:58

The other

play01:59

one's, probably not necessary because it's only going to restore system files and program

play02:04

files anyway.

play02:05

So unless you're installing programs to other drives, it won't make much of a difference.

play02:09

If it's not enabled, just click to highlight the C drive and then click configure, choose

play02:14

"turn on system protection" and then select whatever max usage you want, and what you're

play02:19

comfortable with and just hit apply or, okay.

play02:22

Now there's a few things that will trigger a system restore point creation.

play02:26

First is an application installation, so you install a program, that usually will create

play02:30

a restore point.

play02:32

Also Windows update typically will.

play02:34

You can also schedule them with a task scheduler, or you can manual create one of course.

play02:38

And also interestingly, if you initiate a restore using a restore point, that will also

play02:44

create a restore point.

play02:45

So you can basically restore if you mess up a restoration.

play02:48

And when you do go to restore a point, if you select it manually, you can actually choose

play02:52

to scan affected programs, and it will try and give you an idea of what programs might

play02:56

be removed or drivers as well.

play02:59

And those are just the ones that you've installed since

play03:02

the last system restore point.

play03:03

All right so we're going back to the main question, so what exactly does this do?

play03:07

And I actually kind of had to dig quite a bit to find this.

play03:10

There is actually a list of file types that it will scan for across the entire drive apparently.

play03:17

So what I've read is there was some ancient article, and this is the only place I've ever

play03:20

seen this mentioned, is that it will back up the entire Windows

play03:24

directory.

play03:26

So no matter what, it'll back up the entire Windows directory.

play03:28

And then for the rest of the system, it will use a list of file types that it will scan

play03:34

for and monitor, and restore those.

play03:36

So this means that even though it says it's not going to restore documents and stuff,

play03:40

because that's not on the list of file types,

play03:42

if you for example create an exe file or you're a developer something, and maybe you use other

play03:49

file types that are on this list, theoretically it will actually roll those back and get rid

play03:53

of them.

play03:54

So that's something to be aware of.

play03:56

Besides just restoring file types though, it does restore drivers, programs, like I

play03:59

mentioned before, and updates.

play04:01

So because of this, I believe it has to have some other kind of additional logic in there

play04:06

besides just scanning for if it's a file type that matches this extension, restore it, if

play04:11

not don't.

play04:13

Because otherwise, how would it undo the installation of certain programs, without deleting the

play04:18

whole directory.

play04:19

So I think it must also go into the registry,

play04:22

it does back up the registry by the way, and see where programs are installed and just

play04:27

delete that whole directory too.

play04:28

I believe, is how it works.

play04:29

Otherwise, like I said, if it just deleted all the files, it would just leave empty directories

play04:33

for those programs, which it doesn't do.

play04:35

Now, I'm not 100% sure because this is not documented anywhere.

play04:39

So that's a bit annoying, but that's basically the best I could find.

play04:42

Now here's an interesting thing though.

play04:43

I'm talking about what system restore restores and backs up, but actually behind the scenes,

play04:49

there's actually way more that is backed up than what system restore actually uses.

play04:54

And that's because ever since Windows Vista, the system restore feature uses something

play04:59

called the volume shadow copy service.

play05:01

And this is kind of like a totally separate Windows service that just is used by system

play05:06

restore, but it's also used by plenty of other things.

play05:09

And basically that creates a copy of your entire drive, effectively.

play05:14

Now it doesn't create a one-to-one copy, but it basically creates a "difference" copy.

play05:19

So you probably have seen this in some programs that do backups that are incremental backups.

play05:24

So instead of literally making a copy of your whole drive and doubling the amount of data,

play05:28

if you change a file, it'll literally just record the change in that specific file, so

play05:34

it might only take up like a few kilobytes, even if the file is very large.

play05:39

So effectively what happens is when you go to create a restore point, it really actually

play05:43

calls this volume shadow copy service, which then creates a snapshot of the entire volume,

play05:49

or at least the difference of it, so that it can go back and recreate

play05:53

what that whole drive looked like.

play05:55

So really it's not just storing just the stuff that system restore point is using, but actually

play06:02

the entire drive.

play06:03

And that actually has an interesting implication, because you can actually go into that shadow

play06:08

copy, explore it, and take files out of it.

play06:12

Even older versions,

play06:13

if it's in there, if you deleted a file, you delete it from the recycle bin, but it was

play06:16

in that snapshot, you can actually go back and get it.

play06:19

Even if it was not something that would've been restored by system restore.

play06:22

So here's how to do that.

play06:23

There's a program called ShadowCopyView by Nirsoft.

play06:26

You probably heard me talk about him before.

play06:28

Basically he creates all these very specific Windows utilities, one of them is going to

play06:33

allow you to look into these shadow copies.

play06:35

So you open it up and it'll list them right there, it'll show you the date they're created.

play06:38

And these are effectively system restore points, unless you have some other program that creates

play06:43

them for other reasons.

play06:45

And in here you can basically see it is an entire snapshot of the whole drive at the

play06:49

time.

play06:50

It's almost one to one compared to what you see on my main drive now, because I created

play06:54

this test shot not too long ago.

play06:55

But again, it's not a one to one copy, it just stores the differences.

play06:58

So if there's no difference, then it's not gonna take up any

play07:01

space.

play07:02

So I'll show you an example.

play07:03

I'll create this test file in the C drive, and just say, "this is before the snapshot",

play07:07

and then I'll go and create a system restore point, so here I'm going to do that.

play07:12

And then if we refresh ShadowCopyView, we can see there's a new one that appeared.

play07:16

And there is that file that I just created.

play07:19

So now what I can do, is go into this text file and change it to pretend like I messed

play07:23

it up or something.

play07:24

But if we go back into that shadow copy, I can actually use this program to copy it out,

play07:29

and let's just put it in the B drive.

play07:31

And if I open it back up now, it's what it was before.

play07:34

So this is not even something that would have been restored if I ran a whole system restore,

play07:39

because it technically would be a personal document or whatever,

play07:41

it's not on that list.

play07:43

But because it is backed up by the shadow copy service, which doesn't care, I was able

play07:48

to go back and grab it anyway.

play07:49

So that is something I even did not know before researching this video.

play07:52

So basically if you mess up a file, you could theoretically use this as kind of like a hail

play07:56

mary to see,

play07:57

"oh, I hope it's maybe in a snapshot", you might be able to restore it.

play08:00

Although I definitely would not rely on this because, if you aren't creating snapshots

play08:05

regularly, then you don't know when the last one will be.

play08:08

And Windows doesn't tend to keep too many anyway.

play08:11

We saw that there was a hard limit on the allocation size.

play08:15

And I think by default, it's only like a few percentage, or like 10 gigabytes max, it's

play08:20

not gonna store too much.

play08:21

You'd be way better off using the actual File History feature, which is dedicated for this

play08:25

purpose.

play08:26

It will hourly back up all your files or the differences of them, so if you do mess up

play08:31

a file, you're way more likely to be able to restore it using that feature.

play08:35

And you could just buy a dedicated hard drive through USB or something, put it on there,

play08:39

then you don't have to worry.

play08:40

I still would have a actual backup drive to do like a full backup, but that is still better

play08:45

than nothing.

play08:46

And I did make a video talking about that before actually.

play08:48

Another reason why you don't want to necessarily rely on system restore, especially for malware

play08:52

or something, is I've actually seen examples of certain advanced malware where one of the

play08:57

things it does

play08:58

is deletes all the shadow copies.

play09:00

So you can't go back to a previous one knowing that you have a virus, so that's definitely

play09:05

something to be aware of.

play09:06

You're better off just creating you know, backups that are disconnected when you're

play09:10

not creating the backup.

play09:12

And that way, if a virus gets you, there's not gonna be any way for it to infect the

play09:16

disconnected copy,

play09:17

and you can restore from that.

play09:18

Really in my opinion, the best use case for system restore is if you do install a program,

play09:23

that for whatever reason messes up Windows, or you uninstall a program and it does the

play09:27

same thing, but it's not a virus.

play09:29

That's probably where you would use system restore.

play09:31

The only problem is there's plenty of times where I've tried to do a system restore and

play09:34

for whatever reason it fails.

play09:36

And it doesn't tell you why, possibly it could be an antivirus program interfering, so maybe

play09:41

that's something to try is disable the antivirus if you're trying to restore.

play09:46

Don't do that if you have a virus and that's the reason you're trying to do it, just something

play09:49

to try.

play09:50

All right now, because I think I rambled a lot in this video.

play09:52

Let me try and sum it up more concisely to answer the question.

play09:54

What exactly does the system restore feature backup and restore?

play09:59

And basically anything on this list of file types, no matter where is on the drive, and

play10:04

it also apparently backs up the entire Windows directory.

play10:07

Now, when I said that it backs up the Windows registry and drivers, that all is included

play10:12

in the Windows directory.

play10:14

So that's why it does those.

play10:16

And also to be clear, it doesn't appear to exclude any directories.

play10:19

So if you have an exe file for example, in your documents folder, it will also roll back

play10:25

and restore those too.

play10:26

And that's because theoretically, a virus could put itself anywhere, could even be put

play10:31

in a user directory.

play10:32

So it's not like it just decides, "well, anything in the documents folder must be documents.

play10:36

We're not gonna touch that."

play10:37

It literally looks anywhere for those file types.

play10:40

Like I mentioned, I do believe that there is some additional logic in there for removing

play10:44

program file directories.

play10:46

Not 100% sure on that,

play10:47

you could correct me if I'm wrong.

play10:49

But I think that it definitely must do something like that.

play10:51

So yeah.

play10:52

I learned a few things in making this video, maybe you did, too.

play10:55

If anything, you learned you should probably enable that feature cause I think it's really

play10:58

useful.

play10:59

Don't know why it's disabled by default now.

play11:01

And now you can know what exactly it does.

play11:04

So let me know what you think down the comments.

play11:05

Of course, if I messed anything up, let me know and I'll make a correction in the pinned

play11:09

comment, description, all that good stuff.

play11:11

If you like this video, maybe consider checking out the rest of my channel and subscribing.

play11:15

If you do also be sure to click the bell to enable all notifications.

play11:18

These days, YouTube might not show you videos

play11:19

even if you do subscribe.

play11:21

If you wanna keep watching, the next video I'd recommend is the one where I was talking

play11:24

about that file history feature, and how to use that and why I think you should.

play11:27

So you can just click on that right there.

play11:29

So thanks so much for watching guys, and I'll see you in the next video.

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
System RestoreWindows FeaturesBackup SolutionsData ProtectionRegistry BackupFile RecoverySystem MaintenanceShadow CopyNirsoft ToolsTech Tutorial
¿Necesitas un resumen en inglés?