How to replace Grub with default Windows Bootloader

Note that running this procedure could render any Linux partitions inaccessible.

Boot up into recovery, launch the Command Prompt and run the following command

BootRe.exe /fixmbr

The command should remove Grub and replace it with the Windows bootloader, so when you reboot it should go straight to Windows.

Issues installing or repairing Windows 10

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.

Other Issues

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

 

 

How to Enable/Disable Driver Signature Enforcement in Windows 7

Open up a command prompt with administrator privilages, either right click and Run as Administrator, or hit the Windows Key type in cmd and then hit CTRL+Shift+Enter.

Sometime you may need to turn it on so you can install a modded driver or something, other times it needs to be turned off so you can install EasyAntiCheat…

Turn On

bcdedit -set TESTSIGNING ON
bcdedit -set NOINTEGRITYCHECKS ON

Turn Off

bcdedit -set TESTSIGNING OFF
bcdedit -set NOINTEGRITYCHECKS OFF

Reboot for the changes to take effect

Increase hard disk size on Windows VM in XenServer

To increase a Windows VM disk size you’ll first need to shut down the VM and then increase the disk size from XenCenter.  When you boot back up into the VM, the extra space shows up as unallocated.  All that needs to be done is the main partition needs to be extended.

Open up the Windows Disk Management Utility.  You can do this by clicking on the start button, typing in disk management and hit enter.  This will bring up the Disk Management program.

In disk manager, you should see the Unallocated space at the end of Disk 0, i.e. your main drive.  Right click on your main partition (C:) and click Extend Volume.  You will be presented with a wizard that will walk you through extending your disk.

Example:

Before increasing the VM’s disk size.

0

The unallocated space is the extra space that we added via XenCenter.  Right click on the middle partition (C:), and click extend.

1

After were are finished extending the partition, we see that our main partition is about 8GB larger.

3

How to setup a Planets3 Alpha Multiplayer Server

Prerequisite:

  1. Windows computer/server that has a public IP address
  2. Planets3Alpha downloaded to the above computer (The Server is included in the Windows Planets3 Alpha download)

Installing Planets3 Alpha

Installing Planets3 Alpha is easy to do.  Run the installer and follow the prompts.  The server gets installed when you install the Planets3 Alpha, you just have to launch the server file to run the server.

Setting up Firewall

Click on the Start button type in firewall and hit enter.  This should start up the Windows Firewall application.

What we need to do is create a new inbound rule to allow UDP port 7777 (the Planets3 server port) so we can connect to the server.

Click on Inbound Rules, and then Create a New Rule…

0

Select Port.

1

Select “UDP” and “Specific local ports:” The port number is 7777

2

Give the New Rule a Name and Description.  3

And finally click Finish.

 

Configure Planets3Alpha to Start on System Log In

You can manually launch the server by double clicking on the “start_server” file under “C:\Program Files (x86)\Planets3Alpha\”

If you want to have Planets3 Startup on system log in, do the following.

Open up the Planets3 install directory in Windows Explorer, it should be under “C:\Program Files (x86)\Planets3Alpha\”.  Create a shortcut by right clicking on “start_server” then Create shortcut.  Now drag the shortcut to the Startup folder found under All Programs in the start menu.

4

That’s it.  You should be able to reboot, log in, and have Planets3 Alpha multiplayer server start automatically.  All that is left is for you to connect to your new server.

 

Clean GPT Drive in Windows

Hit the Windows  key, type in diskpart and hit enter

You should get a black Command like Prompt window.

List the disks

list disk

You should get a list of the disk you have as well as the number for the disk.

Select the disk you want in our case disk 3.  Change the number to the number of your drive

select disk 3

clean the disk

clean

Now you can open up Disk Manager and create a new Simple Volume on your drive.

How to make a bootable Windows 10 Tech Preview thumb drive

  1. Format drive as NTFS.  You can do this by opening up your drive in Windows Explorer and right clicking on your drive and clicking format.  Make sure to back up any information you have on the drive as you will lose it during the format.
  2. Mount your Windows 10 Tech Preview iso with your favorite iso mounter
  3. Next open an elevated Command Prompt by clicking the start button, typing in cmd, and hitting the Ctrl +Shift + Enter keys all at once.
  4. In the Command Prompt type “F:” (change F to your mounted Windows 10 iso drive)
  5. now run the following commands
  6. cd BOOT
  7. bootsect.exe /NT60 G:

    Change “G” to your usb drives letter

  8. Copy all of the files from your mounted Windows 10 iso to your thumb drive.
  9. Eject thumb drive.
  10. Boot up your test machine from the drive and install Windows 10 Tech Preview.

How to Allow Ping Through Windows Firewall

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.

 

How To Make a Bootable Windows 8.1 Thumb Drive

Requirements:

  1. A Thumb Drive with 4+ GB of space
  2. Windows 8.1 iso
  3. A computer that can format NTFS
  4. Patience

The first thing we need to do format the thumb drive to NTFS.  In Windows you can do this by right clicking on your drive in Explorer click format and then click NTFS under “File system” then click format.

Once it is formatted you need to find the Windows 8.1 iso and mount it with your favorite iso mounter.  Once mounted just copy all the contents of the iso to your thumb drive.

Congratulations, you now have a bootable Windows 8.1 thumb drive.

 

How to Reset a Windows Password

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:

  1. Boot from a Windows setup DVD.  Any setup DVD should work.  Access the command prompt.
  2. 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.
  3. 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.
  4. Type this command to replace sethc.exe with cmd.exe: copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
  5. Reboot your computer and start the Windows installation where you forgot the administrator password.
  6. After you see the logon screen, press the SHIFT key five times.
  7. 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.

  8. 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.