Windows has a similar file like the Linux /etc/hosts file. It is located in
You’ll need to have administrator privileges to modify the file. So you can launch notepad as Administrator then open the file. If you don’t see the file make sure the drop down across from “File name:” is set to “All Files”.
You can add entry’s just like you would on Linux
Error : Windows could no prepare the computer to boot into the next phase of the installation
Notes : This happens right after you finish partitioning and installation never gets past 0%
Fix : Disconnect all drives except the drive you want to install Windows 10. This includes laptops.
Issue : Can’t reach login screen
Notes : Can happen after an update, auto repair should fix it
Fix : Start up the computer normal and when it starts to load windows force shutdown the computer. Repeat the process 2 times, on the third start up it will Automatically try to fix the issue.
Windows 10 seems to be a little weird when you have two installs on two different drives and your trying to repair one. I have had issues when trying to repair one, or boot into safe mode. Removing all other other drives seems to resolve most of the issues.
Issues with multiple drives with an install of Windows 10
- Reset Drive resets the wrong drive
- Boot into safemode doesn’t work
Open up Windows Firewall with Advanced Security.
You can do this by going to
Control Panel –> System and security –> Windows Firewall –> Advanced settings
Or hit the Windows key and type in firewall and hit enter
Select Inbound rules and then add a New Rule. On the New Inbound Rule Wizard select Custom for the type of rule and hit next. Allow All programs and then hit next again. Select ICMPv4 as the Protocol type and if you want you can specify the ICMP types by clicking on the Customize button. Finish running through the wizard give it a name etc. and click Finish when your done.
There are multiple ways to reset windows passwords. This one replaces the sticky key program with a command prompt from which you can change the password.
To reset the forgotten windows password, follow these steps:
- Boot from a Windows setup DVD. Any setup DVD should work. Access the command prompt.
- Find the drive letter of the partition where Windows is installed. In Vista, Windows 8 and XP, it is usually C:, I have read that in Windows 7, it is D: I am not sure which one it is. In most cases because the first partition contains Startup Repair. To find the drive letter, type C: (or D:, respectively) and search for the Windows folder.
- Type the following command (replace “c:” with the correct drive letter if Windows is not located on C:):
copy c:\windows\system32\sethc.exe c:\
This creates a copy of sethc.exe to restore later.
- Type this command to replace sethc.exe with cmd.exe: copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
- Reboot your computer and start the Windows installation where you forgot the administrator password.
- After you see the logon screen, press the SHIFT key five times.
- You should see a command prompt where you can enter the following command to reset the Windows password:net user your_user_name new_password
If you don’t know your user name, just type net user to list the available user names.
- You can now log on with the new password.
I recommend that you replace sethc.exe with the copy you stored in the root folder of your system drive in step 3. For this, you have to boot up again with Windows setup DVD because you can’t replace system files while the Windows installation is online. Then you have to enter this command:
copy /y c:\sethc.exe c:\windows\system32\sethc.exe
You are now finished.