Power & Battery force closes

OK, I've been keeping way from Windows 11 for a while, but I can try to help you. There are some questions I need to ask for that though:

Do you absolutely need to use windows? Yes, that is a serious question, I use both Linux Mint and Windows, some games and software I run are not linux compatible, but the number seems to be growing smaller by the day. The moment the ones left are not useful to me is the moment I'll abandon windows entirely, as a final F*** You to Macroshit. Mint is not the holy grail, its a little more annoying to set up than Windows, needs internet to install all the stuff and configure it to my liking, and comes with Firefox (blerrrgh) by default, but once its set up, it works like a charm.

Do you absolutely must use windows 11? Yes, that too is a serious question, I've been there, done that, and decided so far it hasn't been worth to me, all my stuff works in 10 to this day, so in 10 I'll stay. Things change though, if your device can't work with 10 (12th gen Intel or more recent, for example, or some notebooks), but if you can do 10, I advise you to not mess with 11. Too little benefit for too many headaches. Windows 10 still gets security updates, and its just less of a hassle to set up.

Assuming the answers to A and B are YES, ok, lets start diagnosing the problem: In my case, I can't install most apps, especially APPX, if indexing system is up and running. If indexing is removed everything runs. (Of course without indexing, Cortana and search don't work, unless you use another search app. I'd suggest trying that.

Another thing I suggest is trying to install an appx via the command line (sorry, I only have the proper commands for the drivers on my PC, and those require certificates to install properly) and see what the prompt returns as an error.

finally, this is the preset (minus drivers) from last time I 'built' a working Win 11(22), give it a try, is heavily trimmed, but battery worked on it. (you might need more up-to-date updates though. Also, don't worry about the 'setup' registry file, it is a runonce cleanup task to install some things which don't like to be installed earlier, airgap the system and delete some leftovers.

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"AutoSetup"="C:\\Setup\\Setup.cmd"

^ this is literally the contents of the file. I use OEM folders to autoinstall a lot of stuff, mostly because I've been doing that since windows XP Era.
 

Attachments

  • 1122-3217 - Copia.xml
    76.4 KB
Back
Top