samxt Posted October 17, 2004 Share Posted October 17, 2004 (edited) 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 Process_idle_tasks_explaintion.txt Edited July 17, 2006 by samxt Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/ Share on other sites More sharing options...
adzee Posted October 20, 2004 Share Posted October 20, 2004 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 Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584771036 Share on other sites More sharing options...
goheels681 Posted October 21, 2004 Share Posted October 21, 2004 You just took that from the User Guide forum, and it doesn't even work for half of the people here... Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584781698 Share on other sites More sharing options...
djsaad1 Posted October 21, 2004 Share Posted October 21, 2004 what visual style are you using. that looks pretty cool Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584781712 Share on other sites More sharing options...
samxt Posted October 22, 2004 Author Share Posted October 22, 2004 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. Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584783994 Share on other sites More sharing options...
xxdesmus Posted October 22, 2004 Share Posted October 22, 2004 <-- waits to hear other's results :whistle: Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584784038 Share on other sites More sharing options...
adzee Posted October 25, 2004 Share Posted October 25, 2004 <-- waits to hear other's results :whistle: worked a treat this end! Speeds up my boot time noticeably! Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584801605 Share on other sites More sharing options...
Slimy Posted October 30, 2004 Share Posted October 30, 2004 does not work for me, installs but no icon shows up in startmenu, i have themes enabled Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584833856 Share on other sites More sharing options...
samxt Posted October 30, 2004 Author Share Posted October 30, 2004 (edited) 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 October 31, 2004 by samxt Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584835316 Share on other sites More sharing options...
Slimy Posted October 31, 2004 Share Posted October 31, 2004 it gives an error about something like the scrip thing isn't enabled on my comp i probably disabled it some time for security Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584835654 Share on other sites More sharing options...
samxt Posted October 31, 2004 Author Share Posted October 31, 2004 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. Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584835711 Share on other sites More sharing options...
Slimy Posted October 31, 2004 Share Posted October 31, 2004 ye ye i kno i do know about wat to put in the run box, i just wanted to use it more often, but it's not that important Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584835791 Share on other sites More sharing options...
samxt Posted October 31, 2004 Author Share Posted October 31, 2004 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--------------------- Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584835874 Share on other sites More sharing options...
Valo Posted October 31, 2004 Share Posted October 31, 2004 (edited) 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 October 31, 2004 by Valo Link to comment https://www.neowin.net/forum/topic/232067-add-processidletasks-cmd-to-your-start/#findComment-584835917 Share on other sites More sharing options...
Recommended Posts