Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Set Paging file during Windows XP Installation...

Featured Replies

Hi, i have found many 3d with regtweak to remove pagingfile..

but i would to set the pagingfile size during installation..

Is it possible ?

I use drive C:\ ( WD RAPTOR) only for Windows and some software, and i would to set paging files MIN 2GB - MAX 2 GB:

i have 1GB of ram but sometimes i need to enlarge paging files, and so i obtain a pagefile divided in 2 part or pagingfile moved at the end of the disk !!

I hope you can help me and you understand my words... :blushing:


  • Author

Initially pagingfile is located at the beginning of the disk...

But If Windows needs to enlarge pagingfile, the pagefile will be divided in 2 part, or it will be moved (larger than initially) at the end of the disk...

I would want that pagingfile it remain at the beginning of the disc...

:blushing::blushing::blushing:

  • Author

I have just read your post !

It is very interesting !!!!

But i only would want resize the pagefile (during unattended installation) and i would want the pagefile remains resized (1.5 or 2 gb) at the beginning of the disk...

Can you help me ? I am not able with script .. :blushing:

Edited by MasterJukey

Here is a VBscript subroutine I wrote for resizing the page file to twice the amount of RAM in a system. Been using it for years without problems.

Sub ConfigPageFile
Dim strComputer, objWMIService, objSWbemServices, colPageFile, colSWbemObject
Dim colSWbemObjectSet, objSWbemObject, objPageFile, SystemRAM
strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set objSWbemServices = GetObject("winmgmts:\\" & strComputer)
Set colPageFile = objWMIService.ExecQuery ("SELECT * FROM Win32_PageFileSetting")
Set colSWbemObjectSet = objSWbemServices.InstancesOf("Win32_LogicalMemoryConfiguration")
For Each objSWbemObject In colSWbemObjectSet
SystemRAM = objSWbemObject.TotalPhysicalMemory / 1024
Next
For Each objPageFile In colPageFile
objPageFile.InitialSize = 2 * SystemRAM
objPageFile.MaximumSize = 2 * SystemRAM
objPageFile.Put_
Next
End Sub

ConfigPageFile

Edited by RogueSpear

  • Author

Tnx !!!!!

But when i have to launch this script ? During T12 (when i install hotfixes) ? Before ?

I use RunOnceEx.cmd ...

:blushing:

You cannot run the script from cmdlines.txt because it relies on WMI and WMI is not yet available at the cmdlines stage of setup. Note also that what I posted is simply a subroutine. In order for it to run all you should have to do is add one line to the bottom of the script (make it the last line):

ConfigPageFile

In fact I'm going to edit the post to reflect that.

Edited by RogueSpear

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.