Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



Add ProcessIdleTasks cmd to your Start....


13 replies to this topic - - - - -

#1 samxt

    Neowinian Buffoon

  • 184 posts
  • Joined: 29-December 02

Posted 17 October 2004 - 22:12

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

Posted Image

Attached Files


Edited by samxt, 17 July 2006 - 06:22.



#2 adzee

    Neowinian

  • 26 posts
  • Joined: 19-October 04
  • Location: Australia

Posted 20 October 2004 - 04:46

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

for those of you too lazy to google lol

Quote

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

#3 goheels681

    Nader sucks less

  • 2,230 posts
  • Joined: 08-February 04
  • Location: Greensboro NC

Posted 21 October 2004 - 21:39

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

#4 djsaad1

    Neowinian

  • 957 posts
  • Joined: 12-September 01

Posted 21 October 2004 - 21:42

what visual style are you using. that looks pretty cool

#5 OP samxt

    Neowinian Buffoon

  • 184 posts
  • Joined: 29-December 02

Posted 22 October 2004 - 05:51

psgamer0921, on Oct 21 2004, 15:39, said:

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

View Post

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


djsaad1, on Oct 21 2004, 15:42, said:

what visual style are you using. that looks pretty cool

View Post

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.

#6 xxdesmus

    Neowinian³

  • 6,350 posts
  • Joined: 09-July 03
  • Location: USA

Posted 22 October 2004 - 06:00

<-- waits to hear other's results :whistle:

#7 adzee

    Neowinian

  • 26 posts
  • Joined: 19-October 04
  • Location: Australia

Posted 25 October 2004 - 05:25

XxDesmus_MODxX, on Oct 22 2004, 16:00, said:

<-- waits to hear other's results :whistle:

worked a treat this end! Speeds up my boot time noticeably!

#8 Slimy

    Ars + Neowin

  • 22,355 posts
  • Joined: 04-April 04

Posted 30 October 2004 - 18:32

does not work for me, installs but no icon shows up in startmenu, i have themes enabled

#9 OP samxt

    Neowinian Buffoon

  • 184 posts
  • Joined: 29-December 02

Posted 30 October 2004 - 23:48

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, 31 October 2004 - 00:18.


#10 Slimy

    Ars + Neowin

  • 22,355 posts
  • Joined: 04-April 04

Posted 31 October 2004 - 00:54

it gives an error about something like the scrip thing isn't enabled on my comp
i probably disabled it some time for security

#11 OP samxt

    Neowinian Buffoon

  • 184 posts
  • Joined: 29-December 02

Posted 31 October 2004 - 01:03

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.

#12 Slimy

    Ars + Neowin

  • 22,355 posts
  • Joined: 04-April 04

Posted 31 October 2004 - 01:18

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

#13 OP samxt

    Neowinian Buffoon

  • 184 posts
  • Joined: 29-December 02

Posted 31 October 2004 - 01:34

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---------------------

#14 Valo

    Neowinian

  • 14 posts
  • Joined: 08-May 04

Posted 31 October 2004 - 01:45

samxt, on Oct 17 2004, 22:12, said:

Use at your own risk.

View Post


Yeah, seriously:

http://venus.walagat...roppervirus.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, 31 October 2004 - 01:52.