/build/static/layout/Breadcrumb_cap_w.png

VBScript to set/change paging file size

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   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 15 years ago
Red Belt
0
On WinXP SP2, you should have a file %SystemRoot%\SYSTEM32\PageFileConfig.VBS. Try that.
Posted by: FergieMan 15 years ago
Third Degree Green Belt
0
Thanks VBScab - its looks very long winded that script - didnt think it would be so complex !!
Posted by: anonymous_9363 15 years ago
Red Belt
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, .... :)
Posted by: aogilmor 15 years ago
9th Degree Black Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ