Lenovo IdeaPad with 8GB ram and an hdd. Hosed after I upgraded from Windows 10 to Windows 11. I followed all the advice. I shut off the sysmain service. I ran chkdsk, I made the paging file zero. I made it huge. I let windows manage it. I shut down start up services. I uninstalled everything that could be installed. I checked and repaired system files. I trimmed the disk (does that do anything except remove unused files for a fixed disk.) I reinstalled the OS from the Windows repair option.
Then I started thinking, what if the problem isn't really the disk. I saw that the 8gb ram was barely enough almost all the time. And a couple of times I actually got an out of memory error, which I had attributed to the disk problem/paging file. What if I really need more RAM, so that it doesn't have to write to the disk so much. For $30 I ordered a 16GB stick of ram. This IdeaPad has 4GB onboard, and 1 expansion slot. The case was very easy to open. Upgraded to 20GB of RAM. Oh my. What a difference. Even when the disk is at 100% the machine is usable, and it flies. For $30, worth a try. Mine is like a whole new machine.