{"id":517,"date":"2022-01-17T17:48:54","date_gmt":"2022-01-17T23:48:54","guid":{"rendered":"http:\/\/www.goodjobsucking.com\/?p=517"},"modified":"2022-01-17T17:48:56","modified_gmt":"2022-01-17T23:48:56","slug":"restoring-the-windows-10-registry","status":"publish","type":"post","link":"https:\/\/www.goodjobsucking.com\/?p=517","title":{"rendered":"Restoring the Windows 10 Registry"},"content":{"rendered":"\n<p>I tend to back up everything, which not only helps in the event of the occasional catastrophic failure, but is also a godsend in the event of doing something stupid.  The first step, of course, is taking backups of <em>everything <\/em>via BackupPC, so if you&#8217;ve landed here and haven&#8217;t done that &#8230; well, go do that.  (If you&#8217;re in the unfortunate circumstance of having lost your registry without a backup, well, it&#8217;s something to remember for next time.)<\/p>\n\n\n\n<p>What you&#8217;ll need:  a USB stick with Windows 10 boot media.  You can download this right from Microsoft.  You&#8217;ll also need some way to retrieve your backed up files from your BackupPC installation, but that&#8217;s pretty easy.<br><br>Locate the hive files from the BackupPC host in question &#8212; you&#8217;ll find them under \\windows\\system32\\config.  You can be surgical about this if you know exactly which hives need restoring, or you can go for the nuclear option:<\/p>\n\n\n<p>system<br \/>\nsam<br \/>\nsecurity<br \/>\nsoftware<br \/>\ndefault<\/p>\n\n\n\n<p>You&#8217;ll need them on the USB stick; it&#8217;s simplest just to download a .zip file of what you need, then unpack it onto the USB drive.  It doesn&#8217;t matter where, as long as you can find it later.<br><br>Boot from the USB drive (this may require tweaking the boot device in the BIOS) then go to Recover Windows, then go to a command prompt.  If you&#8217;ve just booted, you probably have an abbreviated C: drive and an X: drive, neither of which is the hard drive you want to copy things to.<\/p>\n\n\n<p>diskpart<br \/>\nlist volume<br \/>\n(one of these is going to be your Windows drive, it shouldn&#8217;t be too hard to pick out)<br \/>\nselect volume [number]<br \/>\nassign letter [unused drive letter]<br \/>\nexit<\/p>\n\n\n\n<p>Now copy the registry files from the backups on the USB stick (probably mounted as C:) right over their counterparts on the drive you just mounted.  You might want to make backups first, but that&#8217;s up to you.<br><\/p>\n\n\n\n<p>Reboot, and your registry is back<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tend to back up everything, which not only helps in the event of the occasional catastrophic failure, but is also a godsend in the event of doing something stupid. The first step, of course, is taking backups of everything via BackupPC, so if you&#8217;ve landed here and haven&#8217;t done \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.goodjobsucking.com\/?p=517\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2],"tags":[],"_links":{"self":[{"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/517"}],"collection":[{"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=517"}],"version-history":[{"count":2,"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}