accidentally renamed file extensions in system32 folder, wont startup


  1. Posts : 2
    Windows 10 Home
       #1

    accidentally renamed file extensions in system32 folder, wont startup


    hello everyone, i ran a command that was suppose to rename every file extension in a folder to the jpg file, but forgot that the default folder was system32 in cmd. I even ran CMD as admin, so it renamed quite a few. After restarting my computer obviously failed to start up. I tried windows repair but it couldnt fix it.

    Is there any way on getting access to the system32 folder on the windows 10 iso? so i can copy those files back?

    So example of the issue would be a file named dog.dll is now dog.jpg.


    Thanks in advance!
      My Computer


  2. Posts : 42,984
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, if you know exactly what you've done, you can reverse that by not booting from Windows, but by booting using either
    a. a Win 10 install medium, and navigating to a command prompt and making the changes
    or
    b. Getting e.g. Kyhi's boot DVD/drive from the Software and Apps section here, booting from that, and in a familiar Windows environment make the changes you need.

    Alternatively you may be able to use System Restore if you have usable restore points, and running System Restore by booting from a Win 10 install medium and then starting System Restore.

    Note: we strongly and repeatedly recommend the use of disk imaging (e.g. Macrium Reflect (free) which lets you restore your PC to a previously working state without tech. help.
      My Computers


  3. Posts : 2
    Windows 10 Home
    Thread Starter
       #3

    Does option B or something similar offer the following, which i feel would be easiest way to fix this:

    1. have access to what the original system32 folder would look like upon a fresh install, i only need the files in that folder, not the sub-folders or any contents in that. That way, i can just do a simple drag and drop style (copy and paste) to my drive and it should boot okay.
      My Computer


  4. Posts : 42,984
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Hi, from what you posted it sounded as if you needed to rename files. If you are able to do that, and the system boots, fine, hopefully.

    If system restore works (launched from a bootable win 10 install medium) that would be ideal.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:23.
Find Us




Windows 10 Forums