Pagefile problem

  • Thread starter Thread starter Heidi Linda
  • Start date Start date
H

Heidi Linda

I reported a problem with a unit last week which had
thrown up the DDE Agent for no discernible reason. Today,
it's come up with a message that the page file is too
small and is going to be increased - all very well, but by
system is running EWF and pagefile support wasn't ticked.
How do I make sure I really don't have a pagefile?
 
Heidi,
How do I make sure I really don't have a pagefile?

If you find in root of some partition hidden file pagefile.sys, then your
XPE is using pagefile, if not then this could be problem of some other to me
unknown kind.


Best regards,
Slobodan
 
Heidi,
If you are running a GUI, and you can get into the control panel, then open
up the system properties and click on the advanced tab. Click on the
Performance Options button and you will see the size of your page file. If
you want to change the size or get rid of the page file all together then
click on the change button. On the new dialog box that opens set the size
or delete the pagefile and make sure to click the set button otherwise the
new changes will not be applied. Make sure to reboot.

Regards,

Sean Gahan
 
-----Original Message-----
Heidi,
If you are running a GUI, and you can get into the control panel, then open
up the system properties and click on the advanced tab.

Nope, command shell, and only the control panel I need.
I knew how to do it with the control panel.
 
Well there's not one there at the moment, but we've
rebooted since that error. We'll just have to see what it
comes up with tomorrow morning. I'm half expecting it to
come up with a BSOD 'unit scared of the dark'
 
Heidi,
Run this script.
-------------
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colPageFiles = objWMIService.ExecQuery _
("Select * from Win32_PageFileSetting")
For Each objPageFile in colPageFiles
objPageFile.InitialSize = 300
objPageFile.MaximumSize = 600
objPageFile.Put_
Next
 
Pagefile is controlled by a registry setting.
HKLM\Sytem\CurrentControlSet\Control\Session
Manager\Memory Management\PagingFiles

Its a Multi_sz with an entry for each pagefile
C:\pagefile.sys 128 512
for example.

If its blank, no pagefile.

Regards.
Mark K Vallevand
 
Back
Top