Jump to content

Explorer.exe with the priority you want ! :)


BlueMe

Recommended Posts

Open Notepad and save this as Priority.vbs and place this script in your Startup folder,

On Error Resume Next

'Priority Class Value
' Low - 64
' Below Normal - 16384
' Normal - 32
' Above_Normal - 32768
' High - 256
' Real_Time - 128

Const High = 256
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'Explorer.exe'")
For Each objProcess in colProcesses
objProcess.SetPriority(High)
Next

This should be self explanatory, but in any case lets explain a little bit, in this form you'll make explorer a High proccess, but i recomend just to keep it as a Above Normal proccess, you could do that by modifying the following :

Const Above_Normal  = 32768

...and

objProcess.SetPriority(Above_Normal)

If its still not clear what this does, i suggest you don't do it. :)

Note : I did not do this, got it from Bill's site :lol:

Link to comment
Share on other sites


Maybe you have a fast CPU and don't notice the difference, to benchmark this, run 2 or more applications that you now they eat up some CPU, set the script to make explorer run in HIGH priority then browse my computer, open some high resolution pictures, something that usually opens slower (and depends on explorer). You have to run this script after explorer was started. That's why i've said that you have to place it in you're Startup folder.

Other than that, you have a fast CPU/PC or don't work with "heavy" apps.

On my system it makes a big differenece, i have not explorer run in a different priority but allmost all my apps. I might do a tut. for this but if ppl. don't understand what priority of processes mean it will be useless.(not referring to anyone in specific)

Good luck !

Edited by BlueMe
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...