Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»Fix: There Was a Problem Resetting Your PC

Fix: There Was a Problem Resetting Your PC

Deep ShresthaBy Deep ShresthaMay 8, 2023
there-was-a-problem-resetting-your-pc

The error message “There was a problem resetting your PC” appears when you try to reset your PC from the recovery options in Windows Setting. This usually happens when the OS has issues accessing desired files to begin the reset process.

When you reset your PC, the system uses a Windows image from the recovery partition. If the image is corrupted or damaged, the PC will run into this situation. So, the fixes for this error message basically revolve around repairing the Windows image.

Table of Contents

  • Run Startup Repair
  • Run DISM and SFC
  • Perform System Restore
  • Install Windows Using Bootable USB Drive

Run Startup Repair

Startup Repair is a recovery tool in Windows that repairs the operating system when it runs into any issues. It does this by repairing the system files required to load the OS.

If you are facing a problem while resetting your PC, startup repair might fix the issue.

  1. Open Settings.
  2. Navigate to System > Recovery.
    recover setting problem resetting pc
  3. Click on Restart Now.
    launch startup recovery advanced startup
  4. Once the PC restarts, navigate to Troubleshoot > Advanced options.
  5. Here, select Startup Repair. 
    startup repair problem resetting the pc
  6. Wait for the process to complete and boot into Windows.
  7. Now, try resetting the PC.

Run DISM and SFC

The SFC command repairs all your system files using Windows image. But if the Windows Image is corrupted, running the SFC command does not work.

So, it’s better to run the DISM command first to fix the Windows image and then repair the system file using SFC Command.

  1. Open Command Prompt as Administrator.
  2. Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter.
    run dism command problem resetting the PC
  3. Wait for the DISM command to complete execution and type sfc /scannow and press Enter.
    sfc scannow problem resetting the PC
  4. Restart the PC and try resetting the PC.

If the DISM restore health command fails to repair the Windows image, the SFC command also fails to fix any problem with the system files. In such cases, you can use a separate source image file to fix your Windows image.

  1. Insert the USB drive into your computer. Make sure that the USB drive has at least 8GB of free storage space.
  2. Go to Windows 11 Download center if you have Windows 11 installed and Windows 10 download center if you have Windows 10 installed.
  3. Under Create Windows 10 Installation media or Windows 11 Installation media depending on your version of Windows, click on Download now.
    windows media creation tool windows
  4. Open the downloaded executable file.
  5. Click on Accept.
    accept windows media creation tool
  6. Select Next.
  7. Check USB flash drive and select Next.
    check usb drive problem when resetting the PC
  8. Select the USB drive and click on Next and wait for the process to complete.

Now, turn on the PC that gives the error message, “There was a problem resetting your pc” and follow the steps below.

  1. Go to the Windows Recovery mode and navigate to Troubleshoot > Advanced options > Command Prompt.
  2. Type diskpart and press Enter.
  3. Again, type list volume and press Enter.
  4. In the Ltr column, note the drive letter assigned to your USB drive and Primary Drive Letter. You can check the Size column to determine the USB drive and check the Info column for Boot to determine the primary drive letter. In my case the USB drive letter is E and the Primary drive is C.
  5. Type exit and press Enter.
    list volume diskpart problem when resetting pc
  6. Now, type <USB drive letter>: and press Enter. Replace <USB drive letter> with the drive letter that you Noted in step 4.
  7. Type cd sources and press Enter. This will take you inside the sources folder in the bootable USB drive.
  8. Type dir and press enter to get the list of files and folders inside Sources.
    open usb bootable directory problem resetting this pc
  9. In the list, check for a large file (around 4GB) and note the name of the file. It is either install.esd or install.wim.
    install esd file bootable usb drive
  10. Type dism /Get-WimInfo /WimFile:<USB drive letter>:\sources\install.esd (or install.wim depending on the file name from Step 9). Replace <USB drive letter> with the drive letter from Step 4.
    get windows version index dism
  11. Here, note the Index value for your Windows Edition. I am currently using Windows 11 Pro. So, the Index for me is 6.
  12. Now, type dism /image:<Primary drive letter>:\ /cleanup-image /restorehealth /source:<USB drive letter>:\source\install.esd(or install.wim):<Index Number> /limitaccess.
    Replace <Index Number> and <Primary Drive Letter> with the index number and primary drive letter you noted in Step 11 and Step 4 respectively.
  13. The final command should look something like dism /image:c:\ /cleanup-image /restorehealth /source:E:\sources\install.esd:6 /limitaccess.
    dism command offline problem resetting this pc
  14. Press enter to run the offline DISM command.

Once the DISM command runs, you need to run offline SFC to repair the system image

  1. Type bcdedit and press Enter.
    windows boot loader problem resetting this PC
  2. Under Windows Boot Loader, check values corresponding to device, osdevice, and systemroot.
  3. Type sfc /scannow /offbootdir=< device drive letter> /offwindir=<osdevice drive letter>\<systemroot>.
    In my case, the command is sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows
    offline sfc scan problem resetting this PC

Perform System Restore

System Restore reverts the current state of the system to the state saved on a Restore Point. When you perform a system restore, problems in the OS should get fixed as long as the system is stable when the restore point was created. 

Note: You need a restore point to perform System Restore. You can skip this solution if you do not have a restore point.
  1. Open Run, type rstrui and press Enter.
  2. Click on Next.
    system restore window problem resetting the pc
  3. Choose a Restore point and click on Next.
    select restore point problem resetting the pc
  4. Click on Finish to confirm the restore point.
  5. Click on Yes when it asks for confirmation.

Install Windows Using Bootable USB Drive

Finally, if none of the solutions work, you need to clean install Windows using a bootable USB drive. By doing this, the system will install a fresh batch of Operating System files. 

Re-installing Windows using a bootable USB drive will delete all files and folders in the storage device. So, make sure that you back up important data before you install a fresh version of Windows.

  1. Create a bootable USB drive containing Windows 10 or 11.
  2. Go into BIOS and set the USB drive as your primary boot device.
    set boot priority problem resetting the PC
  3. Restart your PC. You should boot into the Windows Setup screen.
  4. Now, follow the installation process to install Windows. Make sure that you choose the correct storage device when installing Windows.
fix
Deep Shrestha
  • Twitter
  • LinkedIn

Deep Shrestha works as a computer hardware writer at TechNewsToday with several hardware and programming certifications. Although he has been writing technical content for more than a year, his interest in hardware components started at a very young age ever since he heard about PC building. Pursuing his passion, he has assembled several desktop computers. Besides building desktop PCs, Deep also has hands-on experience fixing software and hardware issues on laptops and desktop computers. Using all this knowledge and skills about computer hardware, he's on a quest to make content that's easy to read and understand for everyone. You can contact him at deep@technewstoday.com

Related Posts

antimalware service executable high memory

Fix: Antimalware Service Executable High Memory

May 18, 2023
windows event logs

How to Check Event Logs on Windows

May 17, 2023
the rpc server is unavailable

Fix: The RPC Server is Unavailable

May 15, 2023
DirectStorage Windows 11

How to Enable DirectStorage on Windows 11

May 15, 2023
audio keeps cutting out

5 Ways to Fix Audio Keeps Cutting Out on Windows 11

May 12, 2023
MBR Error 1 2 3

What is MBR Error 1, 2, 3? 7 Ways to Fix It

May 11, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Best-1200W-PSU

8 Best 1200W PSUs for Extreme PC Builds in 2023

May 16, 2023
Best-1000W-PSU

10 Best 1000W PSUs in 2023

May 16, 2023
best-700w-psu

10 Best 700W PSUs for Gaming in 2023

May 14, 2023
You may also like
antimalware service executable high memory

Fix: Antimalware Service Executable High Memory

May 18, 2023
printer-printing-pink

Why is My Printer Printing Pink? 6 Ways to Fix It

May 18, 2023
how to clean usb c port

How to Clean USB-C Port Safely

May 17, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.