Recommended Posts

Here's a quick install routine I've created that puts the ProcessIdleTasks command on your XP Pro/Home right-pane start menu. This install routine relies on xcopy, and WSH (Windows Scripting host). Some antivirus programs will halt scripts, so if it doesn't work for you, that may be why. You can disable script blocking for this install or choose to allow scripts at any prompts. Please disregard the negative criticism posted below, it's mostly unfounded. Once it's installed, The ProcessIdleTasks API is called from advapi32.dll via a vbscript file when you click the gear icon. Not sure what Process Idle Tasks does? Search Google and find out. Or read the brief explaination.txt below. An uninstall routine is included through the batch file Install.bat and choosing U for uninstall. Instructions are included. The icon pictured in the image below, is now the same as the one included with the install. This is freeware whith no license. Use at your own risk. Note: This package is virus free. It is simply a self extracting zip file, and nothing gets installed without your permission. Update: PIT.exe has been updated on 10/31/2004. Fixed a script file in the install routine that would execute a "lock workstation" command rather than a reboot when clicked. Fixed a file copy incompatability. Changed param1 from REG_SZ to REG_EXPAND_SZ using %SystemRoot%\system32\ rather than an exact path for compatabiltity with non default windows installation paths. 7/17/2006, added a new icon to reflect what's shown in the example image below. Download file: PIT.exe 121kb

stmenu.jpg

Process_idle_tasks_explaintion.txt

Edited by samxt

ooooo thankyou samxt.. this is great! Well done!

for those of you too lazy to google lol

What does Process Idle Tasks do?

This command will force the OS to process all idle tasks. If your PC is never idle these tasks will never run. One of the tasks that Windows XP performs during idle times is the optimization of the files needed to start the OS. These files will be re-arranged on the disk and match the exact order they are loaded during startup. This list is in C:\Windows\Prefetch\Layout.ini.

Why do I need to use Process Idle Tasks?

Optimised and improved startup times

:D

You just took that from the User Guide forum, and it doesn't even work for half of the people here...

584781698[/snapback]

Actually the Install routine that I've created for this command cannot be found anywhere but in this post. And there are actually two tweaks that make this work. The first is the branding windows XP article from TweakXp.com. And the second is Not really a tweak per se, but just knowledge of the ProcessIdleTaksks command that I learned about a long time ago somewhere other than Neowin. Then I just threw some batch files and vbscript files together to copy the files and add registry entries, then posted it here for anyone to try if they want. I make no claim that it will work for everyone, and I'm not going to go into the technical details as to why this doesn't work for everybody. But it has been tested on a few XP pro and Home machines, all with success. Of course, you can always invoke the ProcessIdleTasks command manually via the run dialog box if you want.

rundll32.exe advapi32.dll,ProcessIdleTasks

what visual style are you using. that looks pretty cool

584781712[/snapback]

I believe the theme (Visual Style) I'm using is called Ivorance, and probably got it at http://www.themexp.org/ a long time ago.

Themes should not affect the display of this icon.

It sounds like the maybe the files were not for some odd reason copied to C:\windows\system32. or your %SystemRoot%\system32\ folder

Go to C:\Program Files\Process Idle Tasks\ and manually copy the files " ProcessIdleTasks.vbs" and gear.ico to: %SystemRoot%\system32. Reboot or To see new icons and sizes without rebooting go to Display\Appearance\Advanced\change Item to Icon, then make a chnge to icon size down or up a notch then back, click OK, and then apply to see the new icon on the start menu.

You could try or do this: Go to the following Registry key and edit the path of the default icon value to any you wish? This is the key:

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]

Upon trying to figure out how to possibly solve this problem, I have changed all references, and file copy command paths that read C:\Windows\System32\ to %SystemRoot%\System32\ for compatibility of non default Windows installations in an effort to alleviate some of these problems. I will post another updated PIT.exe file soon. It will be available through the original download link above.

Edited by samxt

OK slimy. If you ever want to run the command without enabling scripts, just copy and paste this command in the run box.

rundll32.exe advapi32.dll,ProcessIdleTasks

With my antivirus software, I can allow scripts that I know are safe, you just have to configure it to prompt you when a script runs on your system. Once you authorize the script, it will be allowed from then on., just the ones you authorize.

a batch file will do it also, and not be interpeted as a script, but the batch window lingers until some things get done

--------Cut and paste below---------

echo off

echo.

echo Processing Idle Tasks

echo.

echo To Improve Performance!

echo.

echo Please Wait.......

echo.

Rundll32.exe advapi32.dll,ProcessIdleTasks

-------------save as .bat---------------------

Use at your own risk.

584756342[/snapback]

Yeah, seriously:

http://venus.walagata.com/w/ajhyne/droppervirus.jpg

Probably just a false alarm... but I'm a little sketchy now nonetheless...

edit: just scanned with 10 different virus scanners and it seems clean.

Edited by Valo
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • You are clueless. The updates are done in the background so the next time you open Edge the updates are applied automatically. There is no need to close all your tabs. Just keep browsing like you normally do. Clearly you don't use Edge and are just one of those haters that complain for the sake of complaining.
    • I don't get this David. Can you explain it please.  
    • Microsoft is busy. Lots of changes to be released imminently for Windows server or soon. Also, lots happening for next version as well. Third party virus scanning software is being moved out of Kernel mode to avoid repeat of Crowdstrike incident. Windows Protected Mode and Windows Ready Print no longer require third party print drivers to be installed. New storage stack being developed. New NVME drivers now available for Windows Server 2025 to improve local NVME drive performance by 60+ percent. NVME-Of of fabric being worked on for next release to improve network access to NVME drives. ReFs (next file system) now has ability to boot and will become default file system in next release of Windows Server. ReFs improves on NTFS in several areas including resiliency and reliability and scalability. New update stack is being worked on to unify Windows updates, and updates for drivers and first party/3rd party application software. A stricter and more robust third-party driver certification program (ODI) is being worked on to improve performance, thermals, battery life, and reliability on modern Windows hardware by tightening how OEMs and IHVs (Intel, AMD, Qualcomm, NVIDIA, etc.) build and ship drivers. There is a tone more but too numerous to mention.
    • Now disable that stupid OneDrive backup request when Windows starts please. So unbelievably frustrating to only have “remind me later” instead of “no and never ask me again”
    • Hello, The Media Creation Tool is still at v10.0.26100.7019 from October 2025. Just looks like the backend has been updated. Regards, Aryeh Goretsky
  • Recent Achievements

    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
    • One Year In
      Markus94287 earned a badge
      One Year In
    • Dedicated
      truespursfan earned a badge
      Dedicated
    • Rookie
      restore went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      169
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!