Solved Which commands do you recommend running right after clean installation


Sheikh

Active member
Member
Local time
3:02 AM
Posts
86
Location
Tehran, IRAN.
OS
Windows 11 Pro 24H2
Do you recommend running "Rundll32.exe advapi32.dll,ProcessIdleTasks" command after windows installation?
What is the full command?
Which commands do you recommend running right after clean installation of Windows or periodically?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
Just use a reputable memory cleaner rather than some random command.

I turn off PC with my tweaks, I run Setup 1/2 after a clean install and Cleanup. I also disable a performance killer = Defender.


11 uses 150 processes by default, I cut it by half.

capture-04262025-155756.webp
 

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 8600G (07/24)
    Motherboard
    ASROCK B650M-HDV/M.2 3.20 (07/24)
    Memory
    2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL40 (07/24)
    Graphics Card(s)
    ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
    Sound Card
    Creative Sound BlasterX AE-5 Plus (05/24)
    Monitor(s) Displays
    24" Philips 24M1N3200ZS/00 (05/24)
    Screen Resolution
    1920×1080@165Hz via DP1.4
    Hard Drives
    Kingston KC3000 NVMe 2TB (05/24)
    ADATA XPG GAMMIX S11 Pro 512GB (07/19)
    PSU
    Seasonic Core GM 550 Gold (04/24)
    Case
    Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
    Cooling
    Noctua NH-U12S with Noctua NF-P12 (04/24)
    Keyboard
    HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
    Mouse
    Logitech M330 Silent Plus (04/23)
    Internet Speed
    500/100 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge & Brave for YouTube & LibreWolf for FB
    Antivirus
    NextDNS blocking 99% TLDs
    Other Info
    Backup: Hasleo Backup Suite (PreOS)
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
    Chair: Huzaro Force 4.4 Grey Mesh (05/24)
    Notifier: Xiaomi Mi Band 9 Milanese (10/24)
    2nd Monitor: AOC G2460VQ6 @75Hz (02/19)
Just use a reputable memory cleaner rather than some random command.

I turn off PC with my tweaks, I run Setup 1/2 after a clean install and Cleanup. I also disable a performance killer = Defender.


11 uses 150 processes by default, I cut it by half.

View attachment 132431
I don't have memory usage problems because Windows handles it as best as it can. just want to have a stable installation.
As I understood, this command will run all scheduled tasks so I want to make sure this command will help me having a stable and fast OS.
I read your GitHub post and checked your bat files, but some of them are very strange for me, and I will never run such bat file before knowing every part of it. that's why I'm asking about the commands in different threads.
I will ask you about your bat file to make sure I can customize it for myself.
Thanks.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
rundll32.exe advapi32.dll,ProcessIdleTasks runs any pending maintenance tasks. That's it. It doesn't run all scheduled tasks, and it's not some fancy memory cleaner as the Internet has suggested since, I dunno, the XP days probably.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
rundll32.exe advapi32.dll,ProcessIdleTasks runs any pending maintenance tasks. That's it. It doesn't run all scheduled tasks, and it's not some fancy memory cleaner as the Internet has suggested since, I dunno, the XP days probably.
thanks for correcting me. I was searching in NTLite forum which I saw a member recommended this command to make sure everything is finished after installation and after that, Windows is ready to use.
that's why I asked for help.
do you recommend this command? does it cause problems?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
I wasn't correcting you, per se, but I have seen for years people recommend this command as some kind of magical performance gain. I think maybe because it was mentioned in some performance testing docs, like this one for Windows 7: https://download.microsoft.com/download/7/e/7/7e7662cf-cbea-470b-a97e-ce7ce0d98dc2/win7perf.docx

It doesn't cause problems, but I'm not sure how much of a performance gain you get. Its intended purpose is to run the idle maintenance tasks, so that they don't run when you're doing other performance tests.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
thanks for correcting me. I was searching in NTLite forum which I saw a member recommended this command to make sure everything is finished after installation and after that, Windows is ready to use.
that's why I asked for help.
do you recommend this command? does it cause problems?
You didn't read the thread correctly. It's from a long running discussion about preventing DPC latency in audio playback.

hellbovine suggests in order to take a clean LatencyMon measurement, you need Windows as quiet as possible, and NOT running any background maintenance tasks to impact the results.

Therefore you run ProcessIdleTasks first. It's never been suggested to run as a post-install step.
 

My Computer

System One

  • OS
    Windows 7
You didn't read the thread correctly. It's from a long running discussion about preventing DPC latency in audio playback.

hellbovine suggests in order to take a clean LatencyMon measurement, you need Windows as quiet as possible, and NOT running any background maintenance tasks to impact the results.

Therefore you run ProcessIdleTasks first. It's never been suggested to run as a post-install step.
Sorry I can't understand you. can you explain a bit simple for me? I'm not a pro... so I should not run that command after windows installation?

that topic is:

Guide: Installing Windows​

This guide walks users through the process of how to install Windows, as well as drivers, firmware, and other important aspects. It was created using Windows 10, but applies to others too. There are going to be a few places where the reader will need to do a little bit of their own research due to the nature of computers being so varied, but it is simple enough that by searching the internet or posting questions on this forum, someone with limited knowledge can still work through it, improving their skills and learning many great things along the way.

STEP 1: TAKING NOTES
STEP 2: INSTALLING FIRMWARE
STEP 3: DOWNLOADING DRIVERS
STEP 4: WINDOWS SETUP

STEP 5: INSTALLING DRIVERS
-> 5B) Reboot again, and the last step is to flush out all activity that is waiting silently in the background. To do this, click on "Start" then scroll down to "Windows System" and click on the folder. Right-click on "Command Prompt" then go to "More" and select the "Run as administrator" option. In the prompt enter "rundll32.exe advapi32.dll,ProcessIdleTasks & pause" without the quotes. This will take 15-30 minutes to finish, depending on the computer hardware, but after it is complete and the computer is rebooted, the overall amount of Windows resource usage will dramatically decrease, since there is less being used on background activities.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
I won't speak for garlin, but what I'm saying is that you absolutely can run the command after Windows setup, but it won't have any benefit for long-term performance. It will run maintenance tasks (tasks that usually run when the system is idle), so that they don't run in the near term. But they will eventually run again; they are maintenance tasks afterall.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
OK, I've re-read that section. You can't see the "Guide: DPC Latency" which proceeded this Guide (because hellbovine asked me to delete it).

Hellbovine copied that block of instructions from his DPC Latency thread. We don't always agree (and sometimes I strongly disagree as a IT pro), but what's missing is this is supposed to make a newly installed system feel faster. Normally there are always pending overhead tasks. Either you run them now, or wait later as Windows is designed to do.

Realistically, I don't see the point of invoking ProcessIdleTasks to make your PC spike in CPU & Disk for 10-20 min. and then return. Your PC will temporarily have a smooth experience for a while.

@pseymour is correct, it has no long term benefits. It's like eating dinner, and having to clean up. You can wash the dishes right after eating, or wait until an hour later to wash them. The dishes need to be washed at some time. Whether that makes you happier doesn't matter, because tomorrow you'll have dinner again.
 

My Computer

System One

  • OS
    Windows 7
OK, I've re-read that section. You can't see the "Guide: DPC Latency" which proceeded this Guide (because hellbovine asked me to delete it).

Hellbovine copied that block of instructions from his DPC Latency thread. We don't always agree (and sometimes I strongly disagree as a IT pro), but what's missing is this is supposed to make a newly installed system feel faster. Normally there are always pending overhead tasks. Either you run them now, or wait later as Windows is designed to do.

Realistically, I don't see the point of invoking ProcessIdleTasks to make your PC spike in CPU & Disk for 10-20 min. and then return. Your PC will temporarily have a smooth experience for a while.

@pseymour is correct, it has no long term benefits. It's like eating dinner, and having to clean up. You can wash the dishes right after eating, or wait until an hour later to wash them. The dishes need to be washed at some time. Whether that makes you happier doesn't matter, because tomorrow you'll have dinner again.
your example :lmao::lmao::lmao::lmao::lmao:
Now I understand.
thanks for the explanation. ❤️


@pseymour thanks.❤️
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Huawei MateBook D15
    CPU
    Ryzen 5 3500U
    Memory
    8GB
    Graphics Card(s)
    Vega 8
    Screen Resolution
    FHD
    Hard Drives
    256GB Samsung SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    ESET Smart Security Premium
  • Operating System
    Windows 10 Pro 22H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI GS73 6RF Stealth Pro
    CPU
    intel core i7 6700HQ
    Memory
    16GB
    Graphics card(s)
    Nvidia Geforce GTX1060 (6GB)
    Screen Resolution
    FHD
    Hard Drives
    128GB SSD + 1TB HDD
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
Back
Top Bottom