Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Comments on Can a Windows 7 installation be restored by simply restoring all its files?

Post

Can a Windows 7 installation be restored by simply restoring all its files?

+4
−0

I'm looking for a reliable and easy backup and restore system for the OS on a Windows 7 laptop (more details below).

If I were to boot it to an external drive and back up all the files on the hard disc, could I later restore the same files (preserving the directory structure) and be sure that Windows would boot from the restored files?

I believe it should work in theory, but I don't want to fall foul of some copy-protection mechanism or other quirk. For instance, if the operating system is somehow affected by one file's physical location on the disc, it might work fine one time but fail when it's needed.

Background
The copy of Win 7 is licenced but there is no install DVD. It is a clean install, recently performed by a local computer shop. I'm only looking to back up the OS and minimal settings.

My preferred option is to boot a live Linux distribution from an external drive and include a simple script that restores the original boot sector and partition table and returns the main partition to its pre-backup state. Then it would be almost a point-and-click reinstall for the user.

One (possibly more reliable) alternative would be to use dd to copy the entire disc and restore it the same way, which I have tried but it takes a long time. It also takes a lot of space, even if compressed. Hence I'm considering backing up only the files and being prepared to recreate and format the partition if needed.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

No, at least not in a straightforward and simple manner (1 comment)
No, at least not in a straightforward and simple manner
elgonzo‭ wrote about 3 years ago · edited about 3 years ago

Don't use file copy for such a task. A file copy normally neither preserves file/folder permissions nor accounts for symbolic links and junctions a Windows installation might use for whatever purposes. But even if you have a copy utility/method that accounts for these things, there is then still the matter of the boot sector, and everything else that entails the setup of the first phases of the boot process which is necessary for filesystem access of the system volume. This boot configuration setup would have to be done as an additional step involving yet another specialized tool... Instead, why don't you just do the simple and proven thing and use a disk-imaging tool for this purpose like almost everybody else is doing? dd is a poor choice. Try something practical like Macrium Reflect (a free version is available) or Clonezilla. Make your choice based on the requirements, feature set and possible restrictions of those utilities (their websites will provide the necessary info...)