Hi, after recently assembling my Framework 16 computer, I installed the computer driver bundle pack just after installing Windows 11 pro.
Then, as usual, I set up Windows down to the last detail to remove everything I didn’t need and increase my level of privacy. Except that when I did this, I noticed that when I ran the driver .exe again, it unpacked and then a black cmd window opened for a very short time and then closed itself.
I don’t know what to do, thank you in advance for helping me.
I may be completely misunderstanding things here, but that “black cmd window” seems to be a normal part of some installers, and many updates directly from Microsoft as well. Windows seems to insist on opening up a GUI window for all terminal processes, whether they need to show anything or not. I’ve seen several of them open up in a row, and then immediately close themselves, during a Windows update.
(I’m primarily a Linux guy, but I do have two machines running Windows right now: a laptop running Windows 11 for work purposes, and my previous desktop on Windows 10, which is primarily used for updating a fairly-ancient GPS receiver we own and spends the rest of its time turned off.)
What I wanted to say is that following my Windows settings, the installation of the .exe drivers for my Framework 16 no longer works. When the black cmd window opens, it’s supposed to stay open for at least 5 minutes and the installation status is automatically displayed. But instead, as soon as it opens, it closes again straight away…
It sounds like you removed a dependency that the installer relies on. This is often the case with “debloated” Windows installs, and it’s why they are generally not recommended.
To explain, I started by installing the official Windows 11 iso on my Framework. Just after the installation I installed the drivers. I then proceeded to clean up my Windows. Then I noticed that there was some software I hadn’t thought of that was useless. I’m talking about software that is automatically installed on the machine (Goodix, Realtek…). So I uninstalled them. But then I realised that some of the computer’s functions weren’t working properly any more. That’s when I tried to reinstall the drivers… without success.
So I had to reinstall my entire Windows, run the driver installation and only then clean up the bone.
Goodix made your fingerprint reader. Realtek made your audio codec chip. Neither of those drivers comes with Windows; rather, they were installed by the Framework driver bundle.
If you do not understand the ways in which you are changing your system, you may want to be more careful!
I’ve been involved in IT for about ten years now. I’ve configured dozens of PCs and this is the first time this kind of problem has happened to me. Usually, I install the drivers by loading the driver package directly into the device manager.
My question is just which dependency the Framework .exe is based on.
Unfortunately, this just has the effect of launching the .exe as before, extracting the necessary files and then opening a new cmd window which closes immediately…
After a lot of research, I found that the executable file provided by framework just relies on an optional Windows features called wmic. It’s a Windows Management Instrumentation (WMI) command-line utility. Just keep it installed.
The driver bundle from Framework and almost every packaged driver software uses WMI. It is an interface system for configuration in modern operating systems.
Debloat/privacy nuts have tried to say it is just extra stuff; however it is an integral part of how the operating system functions. The logs files are likely loaded with errors from anything else trying to make certain WMI calls.
It is not like the old days when you just put a line in your config file to point to a driver and it just worked.
FWIW, the deprecated component is not WMI but wmic (the commandline interface to query WMI). That is also the component that Framework, unlike other distributors, is depending on. They use it to determine which type of mainboard you are using.
I’m not sure bloat nuts are explicitly uninstalling wmic; rather, the default on a new install of Windows is to not install it. The other interfaces to WMI remain.
Hey, having this same issue, every time i open .exe it extracts what it needs to, opens a command prompt, and then immediately closes it. What should i do?