Solved Slow/delayed programs launch in fresh-ish install


Msprg

Member
Local time
12:41 PM
Posts
17
OS
Windows 11 Pro for Workstations, 10 Pro
I'm currently reinstalling Windows due to unrelated issues. I'm using the same Windows 11 edition as in the previous installation.
I've encountered this exact same issue in the past already but never found a root cause. Always fixed it after like 3 reinstalls later. But here we go again...


I'm experiencing an interesting phenomenon. Programs - as in any kind of executables - are taking literal minutes to actually launch. It's really reminiscent of the overwhelmed system disk that happened mainly when running os on HDD. You launch the program once, twice, thrice, ... and then suddenly you'd get all your 30 instances launched at the same time.
Except this is now happening on a modern SSD, with high system specs and an idle OS. I therefore believe there is no hw bottleneck (mainly bcs it works fine (programs launch as fast as they should) on in the old install).

There are some interesting remarks about this behavior:
1. It affects mainly installers but also normal programs (takes minutes to finally launch)
2. Most of the time it apparently affects only the first-ever launch of a specific executable and subsequent launches are much faster, as would one expect from the beginning. This however isn't consistent.
3. It affects OTHER executables that are run by other programs. For example, I was installing utility that required some C++ redistributable. I already waited a good minute for the utility installer to launch but when the utility installer invoked the redistributable installer, it took another few minutes for redistributable to actually execute and get installed (the install itself was quite fast - again, it's always the launch itself that takes ages).


I can't unfortunately reliably reproduce this, but what I usually do is:
After OOBE let Windows update do its thing,
Start installing my programs such as web browsers etc...
Defender starts to eat any tweak / open source sw I'm used to using, and I remember why I hate the defender
Attempt to permanently disable defender the official way (Tamper protection, gpedit, etc...)
Doesn't work bcs ofc it doesn't, keeps reenabling itself, eats files despite being supposedly disabled, flags the registry setting that disables behavior analysis as a malware attack, and 'remediates' it whilist being disabled (YES THIS ACTUALLY HAPPENED WTF DEFENDER)
Get fed up with its bullshit, download Windows tweakers and sordum defender control utility and throw everything on the defender until it stays put!
After half a day-long battle it seems to be finally disabled, continue installing sw.

Around the time of fighting Defender, the issue I'm making this post about surfaces and programs start to take ages to launch.
It's almost like the defender would still try to scan or analyze the executables prior to being launched but for some reason, it now takes ages to finish/fail.

Has anybody encountered such behavior as well? Or perhaps have some better - as in surefire reliable safe permanent - way of turning off defender (yes, I already tried countless guides including from this forum/website and similar).

Thank you!
 
Windows Build/Version
Win 11 Pro for Workstations 22H2 22621.1848

My Computer

System One

  • OS
    Windows 11 Pro for Workstations, 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion 5
    CPU
    i7-12700H
    Motherboard
    Lenovo
    Memory
    2x32GiB DDR5
    Graphics Card(s)
    RTX3060 mobile
I am experiencing the same issue on my Laptop:
Asus Vivo Book17 X712-JA
Intel Core i5-1035G1
12 GB RAM
1 TB Lexar NVME

Windows Defender and Smart Screen completely disabled.

I am willing to collaborate and have evidence that helps solve this problem.

Windows seems to work correctly and fast, just opening and installing programs for the first time is extremely slow.

The issue occurs exactly as described in the previous message.
 

My Computer

System One

  • OS
    Windows 11 2022 22H2 | Ubuntu 23.04 | Cygwin | WSL
    Computer type
    Laptop
    Motherboard
    2022 ASUS Vivobook 17X (K1703ZA-WH34 i3-1220P 1.1 GHz (up to 4.40 GHz, 10 cores, 12M Cache, Intel 7 10 nm, TDP 64W, Alder Lake) 8 GB RAM, 256 GB NVMe
    Memory
    2021 ASUS X712JA-212.V17WM i5-1035G1 1.19 GHz (up to 3.60 GHz, 4 cores, 6M Cache, 10 nm, TDP 25W, Ice Lake) 12 GB RAM 1 TB NVMe | 1 TB HDD
    Graphics Card(s)
    2013 ASUS X750JB-DB71 i7-4700HQ 2.40GHz (up to 3.40 GHz, 4 cores, 6 MB Cache, 22 nm, TDP 47W, Haswell) 16 GB RAM 1TB SSD | 1 TB SSD | 2 TB HDD
Hi there, it is me, the OP!
I am experiencing the same issue on my Laptop:
Asus Vivo Book17 X712-JA
Intel Core i5-1035G1
12 GB RAM
1 TB Lexar NVME

Windows Defender and Smart Screen completely disabled.

I am willing to collaborate and have evidence that helps solve this problem.

Windows seems to work correctly and fast, just opening and installing programs for the first time is extremely slow.

The issue occurs exactly as described in the previous message.
So I ended up just completely disabling the defender and I mean like really kind of irreversibly (it's kind of supposed to be irreversible but I kind of made it reversible, it's a long story) uprooting it from the system. I'm actually gonna call this (permanently disabling Windows Defender) a solution since I don't really need the defender and it does indeed solve the issues I've been long facing.

If you're interested - and if it's allowed, I can share what I nowadays use as a reliable means to outright uproot the defender and some of its parts from the system - permanently - if I do say so myself.

(And I really do want to emphasize that, since I've seen so many claims of permanent defender disabling/removal, and none of them - as in literally zero of them were actually permanent.)
 

My Computer

System One

  • OS
    Windows 11 Pro for Workstations, 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion 5
    CPU
    i7-12700H
    Motherboard
    Lenovo
    Memory
    2x32GiB DDR5
    Graphics Card(s)
    RTX3060 mobile
Hi there, it is me, the OP!

So I ended up just completely disabling the defender and I mean like really kind of irreversibly (it's kind of supposed to be irreversible but I kind of made it reversible, it's a long story) uprooting it from the system. I'm actually gonna call this (permanently disabling Windows Defender) a solution since I don't really need the defender and it does indeed solve the issues I've been long facing.

If you're interested - and if it's allowed, I can share what I nowadays use as a reliable means to outright uproot the defender and some of its parts from the system - permanently - if I do say so myself.

(And I really do want to emphasize that, since I've seen so many claims of permanent defender disabling/removal, and none of them - as in literally zero of them were actually permanent.)

Thank you by your feedback. I usually use the utility program called "Defender Control" from Sordum, to disable Windows Defender (Smart Screen), this program claims that it disables them completely and it is possible to enable and disable it on demand (ON-OFF), for me it has been enough until now.

About the issue, it seems that when we run executable files or installers, that "normal delay" occurs that occurs when we have Windows Defender (Smart Screen) activated and running, while it "scans" the application or the executable, but this time it is being very long and extensive even with Windows Defender (Smart Screen) "disabled" and "still scanning executable files or installers" beyond normal time.

Can you please share your solution about permanently disabling Windows Defender? I could do tests on my Windows and check if the issue disappears.
 

My Computer

System One

  • OS
    Windows 11 2022 22H2 | Ubuntu 23.04 | Cygwin | WSL
    Computer type
    Laptop
    Motherboard
    2022 ASUS Vivobook 17X (K1703ZA-WH34 i3-1220P 1.1 GHz (up to 4.40 GHz, 10 cores, 12M Cache, Intel 7 10 nm, TDP 64W, Alder Lake) 8 GB RAM, 256 GB NVMe
    Memory
    2021 ASUS X712JA-212.V17WM i5-1035G1 1.19 GHz (up to 3.60 GHz, 4 cores, 6M Cache, 10 nm, TDP 25W, Ice Lake) 12 GB RAM 1 TB NVMe | 1 TB HDD
    Graphics Card(s)
    2013 ASUS X750JB-DB71 i7-4700HQ 2.40GHz (up to 3.40 GHz, 4 cores, 6 MB Cache, 22 nm, TDP 47W, Haswell) 16 GB RAM 1TB SSD | 1 TB SSD | 2 TB HDD
Thank you by your feedback. I usually use the utility program called "Defender Control" from Sordum, to disable Windows Defender (Smart Screen), this program claims that it disables them completely and it is possible to enable and disable it on demand (ON-OFF), for me it has been enough until now.
Tried it and countless other tools. None of them ever worked well / permanently - but then I repeat myself.
About the issue, it seems that when we run executable files or installers, that "normal delay" occurs that occurs when we have Windows Defender (Smart Screen) activated and running, while it "scans" the application or the executable, but this time it is being very long and extensive even with Windows Defender (Smart Screen) "disabled" and "still scanning executable files or installers" beyond normal time.
Yes, it looks like that, however I have decided that the whole "defender" part of the built-in Windows security is a hot mess. I was done with it when it outright ignored and/or even reverted system group policies that disabled it either partially or completely, on a non-home Windows edition nonetheless. What I'm trying to say is - god knows what's it actually doing - might as well be just bad quality code where profiler would show some dumb extra long threads unnecessarily blocking the execution of the rest of the threads, etc...

(offtopic: Windows XP or 7 can't quite recall now, had the login startup sound playing in a main or blocking thread. Meaning if you put a long custom logon sound, you wouldn't get to the desktop until the whole sound file played. Luckily there were some limits in place to prevent 10 hour block by setting a 10 hour long audio file as a custom log-on sound. Like it would time out and terminate in about 3 minutes or so)
Can you please share your solution about permanently disabling Windows Defender? I could do tests on my Windows and check if the issue disappears.
Here.
 

My Computer

System One

  • OS
    Windows 11 Pro for Workstations, 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion 5
    CPU
    i7-12700H
    Motherboard
    Lenovo
    Memory
    2x32GiB DDR5
    Graphics Card(s)
    RTX3060 mobile

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel Core i9 12900KF
    Motherboard
    ASUS ROG Maximus Z690 Hero
    Memory
    Corsair 64GB DDR5 Vengeance C40 5200Mhz
    Graphics Card(s)
    ASUS GeForce RTX 3090 ROG Strix OC 24GB
    Sound Card
    OnBoard
    Monitor(s) Displays
    Acer Predator XB323UGP 32" QHD G-SYNC-C 144Hz 1MS IPS LED
    Screen Resolution
    2560 x 1440
    Hard Drives
    1x Samsung 980 Pro Series Gen4 250GB M.2 NVMe
    1x Samsung 980 Pro Series Gen4 500GB M.2 NVMe
    2x Samsung 980 Pro Series Gen4 2TB M.2 NVMe
    PSU
    Corsair AX1200i 1200W 80PLUS Titanium Modular
    Case
    Corsair 4000D Black Case w/ Tempered Glass Side Panel
    Cooling
    Noctua NH-U12A Chromax Black CPU Cooler, 4x Noctua 120mm Fans
    Keyboard
    Logitech MK545
    Mouse
    Logitech MX Master 3
    Internet Speed
    Fixed Wireless 150mbps/75mbps
    Browser
    Firefox
    Antivirus
    Kaspersky
    Other Info
    Thrustmaster TS-PC RACER
    Fanatec CSL Elite Pedals with the Load Cell Kit
    Yamaha Amp with Bose Speakers

Defender Remover / Defender Disabler

I use this to Disable Defender Works well

Ah. So I have tried this one as well - it just utterly broke my system.

Likely removed defender, yes, but also just straight up broke not only uwp but also partly stuff like an explorer etc.

Can't say if it removed it permanently as I hasn't lasted with such utterly broken system, and no, no amount of SFC, dism and reregistering components could bring system back to stable, not even some revert options I believe it had... I just had to restore a system image.


In this regard, my approach is much safer.
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro for Workstations, 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion 5
    CPU
    i7-12700H
    Motherboard
    Lenovo
    Memory
    2x32GiB DDR5
    Graphics Card(s)
    RTX3060 mobile
I am experiencing the issue on another new Asus Laptop K1703ZA i3-12220P, after fresh Windows 11 Install. Redirecting
 

My Computer

System One

  • OS
    Windows 11 2022 22H2 | Ubuntu 23.04 | Cygwin | WSL
    Computer type
    Laptop
    Motherboard
    2022 ASUS Vivobook 17X (K1703ZA-WH34 i3-1220P 1.1 GHz (up to 4.40 GHz, 10 cores, 12M Cache, Intel 7 10 nm, TDP 64W, Alder Lake) 8 GB RAM, 256 GB NVMe
    Memory
    2021 ASUS X712JA-212.V17WM i5-1035G1 1.19 GHz (up to 3.60 GHz, 4 cores, 6M Cache, 10 nm, TDP 25W, Ice Lake) 12 GB RAM 1 TB NVMe | 1 TB HDD
    Graphics Card(s)
    2013 ASUS X750JB-DB71 i7-4700HQ 2.40GHz (up to 3.40 GHz, 4 cores, 6 MB Cache, 22 nm, TDP 47W, Haswell) 16 GB RAM 1TB SSD | 1 TB SSD | 2 TB HDD
I'm currently reinstalling Windows due to unrelated issues. I'm using the same Windows 11 edition as in the previous installation.
I've encountered this exact same issue in the past already but never found a root cause. Always fixed it after like 3 reinstalls later. But here we go again...


I'm experiencing an interesting phenomenon. Programs - as in any kind of executables - are taking literal minutes to actually launch. It's really reminiscent of the overwhelmed system disk that happened mainly when running os on HDD. You launch the program once, twice, thrice, ... and then suddenly you'd get all your 30 instances launched at the same time.
Except this is now happening on a modern SSD, with high system specs and an idle OS. I therefore believe there is no hw bottleneck (mainly bcs it works fine (programs launch as fast as they should) on in the old install).

There are some interesting remarks about this behavior:
1. It affects mainly installers but also normal programs (takes minutes to finally launch)
2. Most of the time it apparently affects only the first-ever launch of a specific executable and subsequent launches are much faster, as would one expect from the beginning. This however isn't consistent.
Prepare to replace the SSD, the SSD is likely faulty. You have one of the classic symptoms ->Slow like a very old drive.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro x64 23H2
    Computer type
    PC/Desktop
    CPU
    Ryzen 9 5900X
    Motherboard
    ASRock B550 PG Velocita (UEFI-BIOS P3.40)
    Memory
    32 GB G.Skill F4-3200C16D-32GVR
    Graphics Card(s)
    Sapphire Nitro+ Radeon RX 6750 XT
    Monitor(s) Displays
    Alienware AW3423DWF OLED ultrawide
    Hard Drives
    Western Digital Black SN850 1 TB NVMe SSD
    PSU
    eVGA Supernova 750 G3
    Case
    Corsair 275R
    Internet Speed
    VTel FTTH 1 Gb down and 1 Gb up
  • Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X3D
    Motherboard
    Asus ROG Strix B550-F Gaming (UEFI-BIOS version 3405, which fixes " LogoFail" bug according to Asus)
    Memory
    16 GB
    Graphics card(s)
    Sparkle Titan Arc A770 16 GB
    Hard Drives
    Samsung 970 Pro 512 GB NVMe SSD
    PSU
    eVGA Supernova 650 GQ
    Case
    Fractal Focus G
Prepare to replace the SSD, the SSD is likely faulty. You have one of the classic symptoms ->Slow like a very old drive.
No. The SSD is okay. The latency is low, transfer speeds high, and it's not full either. It's slow SSD was never the cause of this issue.

Also I already experienced slow SSD, on other system, due to it being cheap (no drama), qlc, and full. The symptoms are similar but different in many key details, such as system (or programs that have already launched and are running) responsiveness.

Disabling defender / Windows security components resolved it for me with immediate effect.
 

My Computer

System One

  • OS
    Windows 11 Pro for Workstations, 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion 5
    CPU
    i7-12700H
    Motherboard
    Lenovo
    Memory
    2x32GiB DDR5
    Graphics Card(s)
    RTX3060 mobile
Ah. So I have tried this one as well - it just utterly broke my system.

Likely removed defender, yes, but also just straight up broke not only uwp but also partly stuff like an explorer etc.

Can't say if it removed it permanently as I hasn't lasted with such utterly broken system, and no, no amount of SFC, dism and reregistering components could bring system back to stable, not even some revert options I believe it had... I just had to restore a system image.


In this regard, my approach is much safer.
This script doesn't work...
Ah. So I have tried this one as well - it just utterly broke my system.

Likely removed defender, yes, but also just straight up broke not only uwp but also partly stuff like an explorer etc.

Can't say if it removed it permanently as I hasn't lasted with such utterly broken system, and no, no amount of SFC, dism and reregistering components could bring system back to stable, not even some revert options I believe it had... I just had to restore a system image.


In this regard, my approach is much safer.
The script that you mention doesn't work, absolutely useless: GitHub - Msprg/Disable-Windows-Defender-Permanently: I've had it with the Windows Defender bullshit, and maybe you too. If that's the reason you came here, be at peace for your struggle ends here.
 

My Computer

System One

  • OS
    Windows 11 2022 22H2 | Ubuntu 23.04 | Cygwin | WSL
    Computer type
    Laptop
    Motherboard
    2022 ASUS Vivobook 17X (K1703ZA-WH34 i3-1220P 1.1 GHz (up to 4.40 GHz, 10 cores, 12M Cache, Intel 7 10 nm, TDP 64W, Alder Lake) 8 GB RAM, 256 GB NVMe
    Memory
    2021 ASUS X712JA-212.V17WM i5-1035G1 1.19 GHz (up to 3.60 GHz, 4 cores, 6M Cache, 10 nm, TDP 25W, Ice Lake) 12 GB RAM 1 TB NVMe | 1 TB HDD
    Graphics Card(s)
    2013 ASUS X750JB-DB71 i7-4700HQ 2.40GHz (up to 3.40 GHz, 4 cores, 6 MB Cache, 22 nm, TDP 47W, Haswell) 16 GB RAM 1TB SSD | 1 TB SSD | 2 TB HDD
The script that you mention doesn't work, absolutely useless

The only things that are absolutely useless here, are your feedback, quoting, troubleshooting, and computer literacy skills.

If it didn't work for you, from all the information you provided, I can only assume that you just used it wrong.
But you know what? I tried it again anyway. What if it doesn't work on new installs because Microsoft changed something again or due to any other issue.

...And then it worked. On the first try. In very much the same way as it was designed.

Shocking. I know.

Honestly, I try to give people the benefit of the doubt, as long as they remain polite. Given that you have decided to be rude instead, in this case, I'll just assume that you can't use computers.
 

My Computer

System One

  • OS
    Windows 11 Pro for Workstations, 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion 5
    CPU
    i7-12700H
    Motherboard
    Lenovo
    Memory
    2x32GiB DDR5
    Graphics Card(s)
    RTX3060 mobile
You can say as you want.

I am reporting the fact that the script is not working for me.

I tested the mentioned script as soon as you mentioned on first time, and then tested Consecutively several times.

I'm not being rude. I am telling the truth. And I say the script is "useless" because it apparently made absolutely no changes to the system.

Have tried multiple times even with fresh installations. If you are too sensitive to accept that, then I can't deal with your problems.

Now I realize that you are the author of the Script and that is why you feel so offended. I congratulate you, I hope you continue to improve your script, for me it doesn't work so far. The only rude one here is you who uses a rude message, even on your GitHub page, that is far from being a polite professional.

Have a good day and continue fighting with everyone on the internet for everything they say, maybe you are not emotionally prepared or educated to use the internet.
 

My Computer

System One

  • OS
    Windows 11 2022 22H2 | Ubuntu 23.04 | Cygwin | WSL
    Computer type
    Laptop
    Motherboard
    2022 ASUS Vivobook 17X (K1703ZA-WH34 i3-1220P 1.1 GHz (up to 4.40 GHz, 10 cores, 12M Cache, Intel 7 10 nm, TDP 64W, Alder Lake) 8 GB RAM, 256 GB NVMe
    Memory
    2021 ASUS X712JA-212.V17WM i5-1035G1 1.19 GHz (up to 3.60 GHz, 4 cores, 6M Cache, 10 nm, TDP 25W, Ice Lake) 12 GB RAM 1 TB NVMe | 1 TB HDD
    Graphics Card(s)
    2013 ASUS X750JB-DB71 i7-4700HQ 2.40GHz (up to 3.40 GHz, 4 cores, 6 MB Cache, 22 nm, TDP 47W, Haswell) 16 GB RAM 1TB SSD | 1 TB SSD | 2 TB HDD
I can't confirm what I'm about to say, but I suspect that the "Slow/delayed programs launch in fresh-ish install" problem is related to the Intel® Rapid Storage Technology and/or Intel® Volume Management Device (Intel® VMD) drivers.

I have tried disabling Intel RST and/or Intel VMD on an Asus 10th gen laptop and two other Asus 13th gen laptops all of them with diferentes NVMEs Lexar and Western Digital, and it seems to have solved the issue. I would recommend disabling these options before performing fresh Windows installations.

After following risky procedures and some that do not work 100% as indicated and that require certain workaorunds. After disabling those two things, I have not observed lag when launching applications.

These were the tutorials that I followed, take extra precautions before doing anything, back up your data in case you cannot repair Windows boot or in case your SSD/NVMe disk is incompatible with AHCI (Check first).

Disclaimer: I would recommend that you add a disclaimer in your answer that this method would not work if one has a NVMe SSD as NVMe is not backward compatible with AHCI. This may save a lot of paing and confusion for many users.

Procedure #1: Appears to be safe and works well.

Alternative procedure: It did not work for me as expressed in the instructions.


In case of problems, this helped me to repair the startup once the Intel RST was disabled through the Windows registry (Workaround for the alternative procedure):
 

My Computer

System One

  • OS
    Windows 11 2022 22H2 | Ubuntu 23.04 | Cygwin | WSL
    Computer type
    Laptop
    Motherboard
    2022 ASUS Vivobook 17X (K1703ZA-WH34 i3-1220P 1.1 GHz (up to 4.40 GHz, 10 cores, 12M Cache, Intel 7 10 nm, TDP 64W, Alder Lake) 8 GB RAM, 256 GB NVMe
    Memory
    2021 ASUS X712JA-212.V17WM i5-1035G1 1.19 GHz (up to 3.60 GHz, 4 cores, 6M Cache, 10 nm, TDP 25W, Ice Lake) 12 GB RAM 1 TB NVMe | 1 TB HDD
    Graphics Card(s)
    2013 ASUS X750JB-DB71 i7-4700HQ 2.40GHz (up to 3.40 GHz, 4 cores, 6 MB Cache, 22 nm, TDP 47W, Haswell) 16 GB RAM 1TB SSD | 1 TB SSD | 2 TB HDD

Latest Support Threads

Back
Top Bottom