So one day my computer was running low on storage. I noticed that the winsxs folder was taking up a decent chunk of storage. All I knew about the winsxs folder at the time was that it was the "windows update folder" so I thought that it wouldn't really do much harm to clear it out (in the back of my mind I knew it might not be the best idea but I was stressed and just wanted to clean up some space quickly so I didn't really think it through). So after deleting everything in it I rebooted my computer and after the "starting windows" animation there was just a black screen.
Then I thought that mabye I could copy the winsxs folder from a working installation to the broken one. So I intalled Windows on a separate partition on my extra HDD and copied the winsxs folder from there to the broken install.
When I booted into it there was still a black screen but now I could see the mouse! But still I couldn't log in or do anything (I could still see the mouse cursor spinning every once in a while).
In the working installation tried to run:
but I got
(sfc /scannow still worked fine on the online installation)
I thought that mabye it wasn't working because it is an EFI install, so I mounted the EFI partition (F:\) and tried to point it to the folders there but to no avail:
I found a tool called SFCFix that looked like it would be able to help but I couldnt figure out how to point it to an offline installation.
Help would be appreciated as I really want to try to avoid reinstalling Windows as I would have to transfer user data, programs, program data, environment variables, registry keys, reinstall SDKs etc.. and that would take a lot of time and effort.
If there is one thing I've learned from this it is to backup regularly in case anything goes wrong.
side note: I thought that had system restore (shadow copy) enabled but turns out it was only enabled for my other drive not my OS drive
Then I thought that mabye I could copy the winsxs folder from a working installation to the broken one. So I intalled Windows on a separate partition on my extra HDD and copied the winsxs folder from there to the broken install.
When I booted into it there was still a black screen but now I could see the mouse! But still I couldn't log in or do anything (I could still see the mouse cursor spinning every once in a while).
In the working installation tried to run:
sfc /scannow /offbootdir=E:\ /offwindir=E:\Windowsbut I got
Windows Resource Protection could not start the repair service.(sfc /scannow still worked fine on the online installation)
I thought that mabye it wasn't working because it is an EFI install, so I mounted the EFI partition (F:\) and tried to point it to the folders there but to no avail:
sfc /scannow /offbootdir=F:\ /offwindir=E:\Windows
Windows Resource Protection could not start the repair service.
sfc /scannow /offbootdir=F:\EFI\Microsoft /offwindir=E:\Windows
Windows Resource Protection could not start the repair service.
sfc /scannow /offbootdir=F:\EFI\Microsoft\Boot /offwindir=E:\Windows
Windows Resource Protection could not start the repair service.
sfc /scannow /offbootdir=F:\EFI\Boot /offwindir=E:\Windows
Windows Resource Protection could not start the repair service.I found a tool called SFCFix that looked like it would be able to help but I couldnt figure out how to point it to an offline installation.
Help would be appreciated as I really want to try to avoid reinstalling Windows as I would have to transfer user data, programs, program data, environment variables, registry keys, reinstall SDKs etc.. and that would take a lot of time and effort.
If there is one thing I've learned from this it is to backup regularly in case anything goes wrong.
side note: I thought that had system restore (shadow copy) enabled but turns out it was only enabled for my other drive not my OS drive

Last edited:
My Computers
System One System Two
-
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- HP Pavilion Gaming Desktop 690-0050no
- OS
- Windows 7 Ultimate x64
- CPU
- Intel® Core™ i5-9400F
- Motherboard
- HP Lincs
- Memory
- 8 GB DDR4-2666 SDRAM (1 x 8 GB)
- Graphics Card(s)
- NVIDIA® GeForce® GTX 1650
- Screen Resolution
- 1920x1080p
- Hard Drives
- 256 GB PCIe® NVMe™ M.2 SSD
2 TB WD Blue 7200 RPM 3.5" SATA HDD
- Internet Speed
- 12 Mbps download 11 Mbps upload [ADSL]
- Antivirus
- Malwarebytes
- Browser
- Firefox 84.0 x64
-
- Computer type
- PC/Desktop
- Antivirus
- Malwarebytes