To overwrite the Linux boot loader with the Windows boot loader, insert the USB Windows Installer you downloaded above into your computer and restart it.Overwrite the Linux Boot Loader with Windows Boot Loader
Your PC will now boot directly to Windows. You have now successfully removed everything related to Ubuntu. To close the terminal, type exit > Enter.If you have multiple Windows installations, you will see a list of all of them and where they are stored on your drive.To make Windows your primary boot OS, type the command bootrec /rebuildbcd > Enter.Close configuration and run virtual machine. In the left pane select Boot order and move CD/DVD to the first place in the Boot order list. In the right pane click Source field and select your Physical CD/DVD drive or navigate to the image clicking on Choose an image file. When the scan is complete, you will see the Windows installations you have on your disk. Open virtual machine configuration > switch to Hardware tab > CD/DVD. The time it takes to complete depends upon your system specifications and the size and number of disks you have installed. This command will scan all your disks to see if there are any instances of the Windows OS. Type another command bootrec /scanos > Enter. See the same message that the operation has completed successfully. See the message that the operation has completed successfully. This will open a command-line terminal.Choose your user account from the Command Prompt options and enter your password. Select the Troubleshoot option > Advanced options > Command Prompt.Continue holding down the shift key until you see the Choose an option screen.Then press and hold down the Shift key and select Restart. Go to the Windows Start menu and click on the power icon.Once you remove Linux partitions from your computer, the boot loader for Ubuntu is still there and needs to be removed as well. When it’s done, click OK and close Registry Editor.After the process is complete, you will see only one volume meaning you have claimed all your disk space back to Windows. Click in the Value data box, and then delete all of the lines, except the last one. This will open the “Edit Multi-String” window. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Managerĭouble-click on the Multi-String value “ BootExecute” in the right pane.
If you want to disable a scheduled disk check on C: drive, type the following command and press Enter. Open a Command Prompt as an administrator.
You can cancel the scheduled disk check using either Command Prompt or Registry Editor. It’s much easier to stop the scheduled disk check.
To stop the automatic disk check, you have to clear the dirty bit by following this tutorial: How to Manually Clear or Set Dirty Bit on Windows Volume Option 2: Cancel the Scheduled Disk Check But sometimes Windows might keep running check disk automatically on every reboot and this could be quite annoying. When the computer boots up with the dirty bit enabled on a drive, you will be asked to check the disk for consistency before Windows is loaded. Option 1: Cancel the Automatic Disk Check The methods of stopping check disk varies depend on how it is scheduled. Part 2: Stop Check Disk from Running at Startup If a dirty flag is set on your drive, the system will force an automatic disk check at the next reboot. If there is a chkdsk task scheduled you will receive a response that is similar to “ chkdsk has been scheduled manually to run on next reboot.” Type in the following command and press Enter. Open a Command Prompt as an administrator in Windows. Part 1: Check if a Manual/Automatic Disk Check is Scheduled If you don’t want Windows to take its time during the next reboot, here is how you can cancel or stop check disk (chkdsk) from running at Startup in Windows 10, 8, 7, Vista and XP. Windows might also force an automatic disk check when your computer shuts down unexpectedly.Ĭhecking disk could be a really time-consuming task. For instance, if you run the chkdsk command on a system drive that is being used to run the Windows OS, it will schedule a disk check to run at the next reboot. There are some situations where your PC needs to run a check disk at startup or reboot.