how to load drivers from command prompt
Release time:2023-06-25 22:31:01
Page View:
author:Yuxuan
When your computer's device is not working properly, there can be a range of issues. In most of the cases, it is a driver that needs to be updated or re-installed. Sometimes, the driver's update functionality in the Operating System (OS) might not work appropriately. Therefore, it becomes essential to load and configure drivers from outside the OS. In this article, we will discuss \"How to load drivers from Command Prompt.\"
Step By Step Guide
Loading drivers from Command Prompt is a two-step process. Step 1 - Boot into Windows Recovery Environment (WinRE)
First, you'll need to boot into the WinRE environment. Follow these simple steps:1. Insert the Windows installation or recovery DVD in the DVD drive of your system or create a bootable USB drive.2. Turn on the system and press the relevant key required to reach the boot menu (i.e. F8, F10, F11, F12 or Esc).3. Choose the DVD or USB drive on the boot menu.4. Choose \"Repair your computer\" when prompted.5. Select \"Troubleshoot\" option.6. Click on \"Advanced Options.\"7. Select \"Command Prompt.\"Step 2 - Load the Drivers Using Command Prompt
Once you boot into WinRE environment and reach the Command Prompt, here are the steps to load the drivers:1. Use the \"diskpart\" command to see where your OS files are. Type \"list volume\" and press Enter. 2. Look for the \"System Reserved\" partition, which is usually around 100MB in size. Take note of the drive letter assigned to it on your system. 3. Enter the following command to mount the system partition: ```md temp``````xcopy X:\\Windows\\System32\\DriverStore\\*.* C:\\temp\\DriverStore /E /H /K```This command will create a copy of the driver store into the temp directory.4. Enter the following command to open the Windows registry:```regedit```5. Highlight the \"HKEY_LOCAL_MACHINE\" tree.6. Select \"File\" -> \"Load Hive\" from the menu.7. Navigate to the location of the system partition and select the file named \"SYSTEM\".8. Name the loaded hive \"xxx\".9. Navigate to the following registry key:```xxx\\ControlSet001\\Services```10. Look for the driver that needs to be loaded and move the corresponding \".inf\" and \".sys\" files from the Temp\\DriverStore directory to the xxx\\ControlSet001\\Services directory.11. Navigate to the following registry key:```xxx\\ControlSet001\\Control\\CriticalDeviceDatabase\\PCI#VEN_xxxx