/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Guys

Im looking to push out a vbscript (via sms) to change the page file on our pcs(around 700).
The guy who designed the image left it at 384-768megs as default - and most machines have a gig to 2 gigs in memory.

Has one done this before or can help me out ? I dont know much scripting but I know it can be done.
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
On WinXP SP2, you should have a file %SystemRoot%\SYSTEM32\PageFileConfig.VBS. Try that.
Answered 10/09/2008 by: VBScab
Red Belt

Please log in to comment
0
Thanks VBScab - its looks very long winded that script - didnt think it would be so complex !!
Answered 10/09/2008 by: FergieMan
Third Degree Green Belt

Please log in to comment
0
It shares a lot of functionality with many of the scripts bundled with XP.

I guess there are two ways to look at it.

One, long-winded, or
Two, properly constructed with error-trapping, command-line arguments, user-friendly messages, a help screen, proper variable declaration, .... :)
Answered 10/09/2008 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: VBScab
I guess there are two ways to look at it.
One, long-winded, or
Two, properly constructed with error-trapping, command-line arguments, user-friendly messages, a help screen, proper variable declaration, .... :)

Just so. prnmngr.vbs is another one. Long, sure. Does a lot of stuff that I could not do easily on my own...check. Saves me from having to re-invent the wheel...check. Good command line options to allow multiple functions..check. I'm amazed that these scripts aren't better known. prnmngr.vbs alone has saved me hours.
Answered 10/09/2008 by: aogilmor
Ninth Degree Black Belt

Please log in to comment