{"id":1345,"date":"2014-01-19T21:18:48","date_gmt":"2014-01-20T02:18:48","guid":{"rendered":"https:\/\/infotechguy.net\/?p=1345"},"modified":"2022-08-26T09:50:05","modified_gmt":"2022-08-26T13:50:05","slug":"resetting-windows-and-linux-root-password-with-pictures","status":"publish","type":"post","link":"https:\/\/infotechguy.net\/?p=1345","title":{"rendered":"Reset Windows Administrator and the Linux Root passwords with Pictures!!"},"content":{"rendered":"<p>Resetting the Windows administrator&#8217;s password or Linux root account password is a common troubleshooting practice when faced with systems infected with mailware, data corruption, and system recoveries. This article does not prompt malicious use, but instead stress the point that an account password <u>does not<\/u> protect your data.<br \/>\nIn principle, passwords are stored locally, anything stored locally can be obtained and modified by slaving that physical data. For example, a hard drive can be removed, added to a different computer already running it&#8217;s own OS. That drive will now show up as a slave drive and the contents easily accessible. The following tutorial does not use any third party tools, and only relies on the initial media used to install the OS.<\/p>\n<p><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windows-Reset-Animated.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3441 aligncenter\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windows-Reset-Animated-300x234.gif\" alt=\"\" width=\"600\" height=\"468\" \/><\/a><\/p>\n<ul>\n<li><a href=\"https:\/\/infotechguy.net\/resetting-windows-and-linux-root-password-with-pictures#WinReset1\">Resetting Stock Windows Administrator password using Installation Disc<\/a><\/li>\n<li><a href=\"https:\/\/infotechguy.net\/resetting-windows-and-linux-root-password-with-pictures#WinReset2\">Resetting Non-Stock Administrator Password using Windows Installation Disc<\/a><\/li>\n<li><a href=\"https:\/\/infotechguy.net\/resetting-windows-and-linux-root-password-with-pictures#LinuxReset1\">Resetting Linux Root Password using Single User Mode<\/a><\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/sayx97xxd\/windows_Reset_Animated.gif\" alt=\"\" \/><!--more--><\/p>\n<h4><a id=\"WinReset1\"><\/a>Resetting Stock Windows Administrator password using Installation Disc<\/h4>\n<p>This method will only work if you have not touched the stock Administrator account that comes with a fresh install of windows 7. By default the Administrator account with a blank password and disabled. In this method we will take advantage of this by enabling the Administrator account via the registry.<em> If you set the built-in Administrator account for your Windows rollouts or your home Windows machines I give you kudos for being a smart user and follow best practices in locking down your computer.<\/em> However it does add an extra step in resetting the Administrator&#8217;s password. But, No problem!<\/p>\n<p>The following two sceniors make use of the Window Installation Disk.<br \/>\n<a href=\"http:\/\/msft.digitalrivercontent.net\/win\/X17-59183.iso\" target=\"_blank\" rel=\"noopener noreferrer\">Windows 7 32-bit Professional Installation Disc<\/a><br \/>\n**md5<br \/>\n<a href=\"http:\/\/msft.digitalrivercontent.net\/win\/X17-59186.iso\" target=\"_blank\" rel=\"noopener noreferrer\">Windows 7 64-bit Professional Installation Disc<\/a><br \/>\n**md5<\/p>\n<ol>\n<li>Boot into your Windows Installation Disk<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3444\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset16-300x222.png\" alt=\"\" width=\"357\" height=\"264\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset16-300x222.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset16.png 634w\" sizes=\"auto, (max-width: 357px) 100vw, 357px\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3445\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset17-300x222.png\" alt=\"\" width=\"353\" height=\"261\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset17-300x222.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset17.png 640w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/a><img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/6xcw4dmrl\/windows_Reset16.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/rsz6fmiyp\/windows_Reset17.png\" alt=\"\" \/><\/li>\n<li>Click Next, and wait for Recovery to scan for Windows OS&#8217;s<br \/>\n<a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3448\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset3-300x231.png\" alt=\"\" width=\"351\" height=\"270\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset3-300x231.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset3-768x590.png 768w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset3.png 813w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/a> <a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3449\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset4-300x220.png\" alt=\"\" width=\"347\" height=\"254\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset4-300x220.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset4.png 448w\" sizes=\"auto, (max-width: 347px) 100vw, 347px\" \/><\/a><img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/j2xi11c3l\/windows_Reset3.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/lvm47bn29\/windows_Reset4.png\" alt=\"\" \/><\/li>\n<li>Click the <strong>Windows OS<\/strong> you want and click next. This will bring you to the <strong>Recovery Options list<\/strong>. Click command prompt.<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/5bxmckcjl\/windows_Reset5.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3447\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset5-300x228.png\" alt=\"\" width=\"353\" height=\"268\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset5-300x228.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset5.png 419w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/a><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3450\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset6-300x222.png\" alt=\"\" width=\"355\" height=\"263\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset6-300x222.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset6.png 524w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/uvzwizxxd\/windows_Reset6.png\" alt=\"\" \/><\/li>\n<li>Once command prompt opens, type <strong>regedit<\/strong><br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/6o64myv7l\/windows_Reset7.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3446\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset7-300x151.png\" alt=\"\" width=\"549\" height=\"276\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset7-300x151.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset7.png 695w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/a><\/li>\n<li><strong>Regedit<\/strong> will open, click on HKLM, then click File &#8211;&gt; Load Hive.\u00a0 Now we need to navigate to the system SAM file located usually <strong>D:\\Windows\\System32\\config\\SAM<\/strong> ,since C: is the reserved partition Windows 7 makes. If this is not the case you will have to use diskpart on the command line to figure out which drive letter to use.<br \/>\n<a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset8-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3452\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset8-1-300x200.png\" alt=\"\" width=\"558\" height=\"372\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset8-1-300x200.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset8-1.png 706w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/a><img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/ntxdj24xt\/windows_Reset10.png\" alt=\"\" \/><\/li>\n<li>Give the Loaded Hive a name, this can be anything. I named my <strong>testReset<\/strong>. It will now show up in the Registry list.<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/3vcx2xuv5\/windows_Reset9.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3453\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset9-300x206.png\" alt=\"\" width=\"564\" height=\"387\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset9-300x206.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset9.png 719w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/a><br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/xfqxzcw3l\/windows_Reset11.png\" alt=\"\" \/><\/li>\n<li>In this new Hive List, browse to {<strong>testReset} &#8211;&gt; SAM &#8211;&gt; Domains &#8211;&gt; Account &#8211;&gt; Users &#8211;&gt; 000001F4<\/strong> and modify the <strong>Key F4<\/strong><br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/wqcr0qkxt\/Screenshot_from_2014_01_19_12_08_42.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3454\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset11-300x219.png\" alt=\"\" width=\"586\" height=\"428\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset11-300x219.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset11.png 624w\" sizes=\"auto, (max-width: 586px) 100vw, 586px\" \/><\/a><\/li>\n<li>Locate the hex 11 bit and change it to 10 and click OK and this will activate the stock administrator account that is currently disabled.<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/3y1e3inwh\/windows_Reset12.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3455\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset12-300x188.png\" alt=\"\" width=\"606\" height=\"380\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset12-300x188.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset12.png 751w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/a> <a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3456\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset13-300x186.png\" alt=\"\" width=\"603\" height=\"374\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset13-300x186.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset13.png 754w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/a><br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/lf5hymoox\/windows_Reset13.png\" alt=\"\" \/><\/li>\n<li>Restart the system and you should see the Administrator account at the Login Prompt.<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/ucq7vzh4x\/windows_Reset14.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3457\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset14-300x230.png\" alt=\"\" width=\"597\" height=\"458\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset14-300x230.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset14-768x590.png 768w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset14.png 848w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/a><\/li>\n<li>Log into the Administrator and use Computer Management to set the password of your account.<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/7zih96g75\/windows_Reset15.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3458\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset15-300x223.png\" alt=\"\" width=\"597\" height=\"444\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset15-300x223.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset15-768x572.png 768w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset15.png 827w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/a><\/li>\n<\/ol>\n<h4><a id=\"WinReset2\"><\/a>Resetting Non-Stock Administrator Password using Windows Installation Disc<\/h4>\n<ol>\n<li>Repeat Steps 1-4 from the first method.<\/li>\n<li>We need to load a Registry Hive from the system we are trying to reset the password for. In this case SYSTEM instead of SAM, located <strong>D:\\windows\\system32\\config\\SYSTEM<\/strong> ,since C: is the reserved partition Windows 7 makes. If this is not the case you will have to use diskpart on the command line to figure out which drive letter to use.<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/drn6u2fep\/windows_Reset18.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3460\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset18-300x224.png\" alt=\"\" width=\"600\" height=\"448\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset18-300x224.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset18.png 687w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Navigate to the Registry key SetupType located under testReset &#8211;&gt; Setup &#8211;&gt; SetupType. Modify this DWORD value from 0 to 2 and click OK<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/4zatk4jnl\/windows_Reset19.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3461\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset19-300x204.png\" alt=\"\" width=\"600\" height=\"408\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset19-300x204.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset19.png 740w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><br \/>\n<strong>NOTICE:<\/strong> <em>A value of 2 will run the value located in the CMDLine registry key. Value 0 =does nothing and shows the login screen at boot. Value 1 = Runs the value located in CMDLine registry key, but then Restarts.<\/em><\/li>\n<li>Edit the registry value of CMDLine<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/jjrweyem9\/windows_Reset20.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3462\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset20-300x209.png\" alt=\"\" width=\"601\" height=\"419\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset20-300x209.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset20.png 714w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/a><\/li>\n<li>Unload the tesetReset Hive. <strong>Click on testReset then click File &#8211;&gt; Unload Hive<\/strong>.<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/zfc54ifsx\/windows_Reset21.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3463\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset21-300x213.png\" alt=\"\" width=\"601\" height=\"427\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset21-300x213.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset21.png 688w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/a><\/li>\n<li>Restart the system, you will be presented with the following command prompt<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/my5hhckn5\/windows_Reset22.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset22.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3464\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset22-300x221.png\" alt=\"\" width=\"604\" height=\"445\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset22-300x221.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset22-768x567.png 768w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset22.png 775w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/a><\/li>\n<li>Now set the Administrator Password via the syntax net user Administrator {passwd}<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/q3q37k39d\/windows_Reset23.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset23.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3465\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset23-300x217.png\" alt=\"\" width=\"600\" height=\"434\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset23-300x217.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset23.png 747w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Type exit, and you should be presented with the Login Screen. Try the password you just set!!!<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/5rdhjbnup\/windows_Reset24.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset24.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3466\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset24-300x226.png\" alt=\"\" width=\"603\" height=\"454\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset24-300x226.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/windowsReset24.png 762w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/a><\/li>\n<\/ol>\n<h4><a id=\"LinuxReset1\"><\/a>Resetting Linux Root Password using Single User Mode<\/h4>\n<ol>\n<li>Reset the system and <strong>enter editor mode of your Boot loader<\/strong>. In my case Grub. Select the boot line and hit &#8216;e&#8217;<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/spwex0fpd\/debian_Reset2.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3468\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset2-300x179.png\" alt=\"\" width=\"600\" height=\"358\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset2-300x179.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset2.png 615w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Find the Linux\/Kernel Line:<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/i1o2kfgch\/debian_Reset3.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3469\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset3-300x216.png\" alt=\"\" width=\"600\" height=\"433\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset3-300x216.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset3.png 620w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Add <strong>single init=\/bin\/bash<\/strong> to the end of the kernel or linux line(depends on your version.<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/7lcjvu6pt\/debian_Reset5.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3471\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset5-300x216.png\" alt=\"\" width=\"600\" height=\"432\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset5-300x216.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset5.png 643w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Boot the changes we just made. In my case and version of grub F10 boots the changes, check with your boot loader, it should be written at the bottom of the editor. As you can see we are dropped into a read only root shell. If<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/hmcsreuf5\/debian_Reset6.png\" alt=\"\" \/>If you try to reset the password now you will receive this error:<br \/>\n<img decoding=\"async\" src=\"http:\/\/s6.postimg.org\/aqx5m1pc1\/debian_Reset7.png\" alt=\"\" \/><a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3472\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset7-300x99.png\" alt=\"\" width=\"600\" height=\"198\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset7-300x99.png 300w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset7.png 715w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>The filesystem will be set in read only mode, which does not allow us to manipulate the password user file. To remedy this do the following to mount the volume as read\/write\n<pre><code># mount -rw -o remount \/\n# passwd root\n# *****\n# *****\n<\/code><\/pre>\n<\/li>\n<li>\u00a0Repeat the <strong>passwd<\/strong> reset procedure again<br \/>\n<a href=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3473 size-full\" src=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset8.png\" alt=\"\" width=\"417\" height=\"103\" srcset=\"https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset8.png 417w, https:\/\/infotechguy.net\/wp-content\/uploads\/2021\/03\/debianReset8-300x74.png 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/a><\/li>\n<li>Verify<br \/>\nNow restart the system and try to log in as root with the password you just set<\/li>\n<\/ol>\n<h4>Thoughts<\/h4>\n<p>I hope this article is both helpful and informative. We can see from this article that physical security (the ability to physically obtain) your data is very important. Regardless of the password strength you choose. There are also preventative measures to take in tandem with a strong password. Some preventative measures we can utilize are are free are:<\/p>\n<ul>\n<li>Windows users can use BitLocker, a free drive encryption software built into windows to prevent a third party or bootable media obtaining or modifying the password file.(<strong><a href=\"http:\/\/en.wikipedia.org\/wiki\/Security_Accounts_Manager\" target=\"_blank\" rel=\"noopener noreferrer\">SAM file<\/a><\/strong>).<\/li>\n<li>Windows users can use TrueCrypt, a OpenSource drive encryption software.<\/li>\n<li>Linux users can encrypt GRUB, see this article.<\/li>\n<li>Linux users can also use open source drive encryption to prevent third party or bootable media from obtaining or modifying the password file.(<strong>\/etc\/passwd<\/strong>)<\/li>\n<\/ul>\n<h4>Sources<\/h4>\n<ul>\n<li><a href=\"http:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_7-security\/how-do-i-reset-my-forgotten-administrators\/945fcc2f-e10c-45ac-9a7f-cd4c328dd063\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_7-security\/how-do-i-reset-my-forgotten-administrators\/945fcc2f-e10c-45ac-9a7f-cd4c328dd063<\/a><\/li>\n<li><a href=\"http:\/\/www.sevenforums.com\/tutorials\/85657-password-reset.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.sevenforums.com\/tutorials\/85657-password-reset.html<\/a><\/li>\n<li><a href=\"http:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_7-windows_install\/where-can-i-download-windows-7-iso-i-have-a\/7d964b05-2be9-4800-bc7f-3ca30356fc3d\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_7-windows_install\/where-can-i-download-windows-7-iso-i-have-a\/7d964b05-2be9-4800-bc7f-3ca30356fc3d<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Resetting the Windows administrator&#8217;s password or Linux root account password is a common troubleshooting practice when faced with systems infected with mailware, data corruption, and system recoveries. This article does not prompt malicious use, but&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":4268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[86,130],"class_list":["post-1345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","tag-linux","tag-windows"],"_links":{"self":[{"href":"https:\/\/infotechguy.net\/index.php?rest_route=\/wp\/v2\/posts\/1345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infotechguy.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infotechguy.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infotechguy.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/infotechguy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1345"}],"version-history":[{"count":1,"href":"https:\/\/infotechguy.net\/index.php?rest_route=\/wp\/v2\/posts\/1345\/revisions"}],"predecessor-version":[{"id":4159,"href":"https:\/\/infotechguy.net\/index.php?rest_route=\/wp\/v2\/posts\/1345\/revisions\/4159"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infotechguy.net\/index.php?rest_route=\/wp\/v2\/media\/4268"}],"wp:attachment":[{"href":"https:\/\/infotechguy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infotechguy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infotechguy.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}