Как создать загрузочный раздел восстановления, чтобы восстановить раздел Windows 7, как сейчас

34650
mario

Я недавно установил и настроил ноутбук с Windows 7 для родственника, который наверняка получит множество вредоносных программ, вирусов и т. Д. В течение короткого периода времени.

Я хотел бы создать раздел восстановления, который вернет систему в состояние, которое я сейчас настроил, просто выбрав загрузку с раздела восстановления.

Гугл указывал на создание разделов восстановления с установочным DVD-диском Windows или образами восстановления системы, которые уничтожали бы этот раздел восстановления после выполнения восстановления.

Есть идеи, как этого добиться с помощью бесплатных инструментов?

4

2 ответа на вопрос

3
dexter86

I've been working on how to create custom recovery partition and here's what I came up with, it's not "perfect" or "pretty", but it gets job done. I only tested this so far on one laptop with BIOS & MBR partition scheme, so I can't say it will work with UEFI & GPT.

  1. If you only have one normal partition (by "normal" I mean not that 100MB one) I strongly suggest shrinking your system partition to 30-40GB (depends what software you have installed), then create another partition where you will move all user folders (Documents, Desktop, Music, etc), then at the end another partition for recovery (about 6-10GB will be fine). If you already had two partitions (or more) then just shrink your last one by 6-10GB and create new partition there. Format it as NTFS & name it Recovery.
  2. Insert your Windows 7 install media and copy all files from it to that recovery partition.
  3. (I didn't test if this is required but I did it anyway) Close any explorer windows that you have open with Recovery partition, then run cmd as admin and then enter this:X:\boot\bootsect /nt60 Y:, replace X with your Windows 7 install media and Y with your recovery partition.
  4. Download EasyBCD (Non-commercial edition, it's free), install & run it, click "Add new Entry" -> "WinPE", in "Name" enter "Recovery", in "Path" selectY:\sources\boot.wim, replace Y with your recovery partition, then click "Add entry"
  5. Restart your PC and test if it's working, it should show up in boot menu, just run it to see if it will boot up. After this, restart pc into Windows
  6. In Disk management right click on recovery partition and select "Change drive letter", then just remove that letter. That way you will "hide" it.
  7. In System properties go to Advanced, click settings in "Startup and recovery" then change how long will that boot menu screen show, I set it to 1 second.
  8. Now you need to create image of system partition and replace it on recovery media. With windows 7 you can use ImageX or DISM from Windows 8/8.1 (or newer). I don't use ImageX so I can't help you with that. I use Windows 8.1 install media to do that. You can alternatively create WinPE media, read about it here. Of course you can create it on your PC. After you're done, boot it on that laptop.
  9. After it booted up, run cmd. I don't know how it will be on WinPE, but on Windows 8/8.1 install media you can press Shift+F10
  10. In cmd, run diskpart, then list volume. Take a note what drive letters are your system partition and recovery partition, if you followed my example with partitions, then System partition should be D and Recovery should be F. I will use those for example.
  11. run this command to remove original install.wim del F:\sources\install.wim
  12. Now the most important part, run this command to create new install.wim from your system drive Dism /Capture-Image /ImageFile:F:\sources\install.wim /CaptureDir:D:\ /Name:"Windows 7" /Compress:max /CheckIntegrity /Verify

And that's it :)

Стыд, похоже, не работает для меня. После шага 4, хотя мой раздел восстановления отображается в меню загрузки, выбор его просто выводит на экран сообщение об ошибке, и я должен перезагрузиться. Jack M 5 лет назад 0
1
Piotr Nawrot

For all kind of operations on partitions etc. imho PartedMagic is the best. How to use it to do what you want -> Check this link: http://faizalsalih.blogspot.com/p/creating-hidden-recovery-partition.html

Вы не отвечаете на вопрос. Вы рекомендуете инструменты, которые могут помочь решить проблему, но вы должны добавить хотя бы некоторую базовую информацию с процедурой. pabouk 10 лет назад 4
@pabouk: я думаю, что это отвечает на вопрос адекватно. martineau 10 лет назад 0
@martineau: Мне жаль, что я написал свой комментарий неловко, процедура доступна в связанной статье. Петр, не могли бы вы включить необходимую информацию из связанной статьи? Ссылка может перестать функционировать в будущем. pabouk 10 лет назад 4