A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

pagefile.sys location



 
 
Thread Tools Display Modes
  #1  
Old June 11th 16, 05:38 PM posted to microsoft.public.windowsxp.general
Bill Cunningham[_2_]
external usenet poster
 
Posts: 441
Default pagefile.sys location

IS there a way to get xp x64 to report the address of the location on
the HD of the page file? If not, is there a utility that anyone might
happene to know of that will? I set my pagefile.sys to a fixed size so that
it doesn't fragment. IDK if its' location changes or not. I'm not sure how
the OS managees it. And if that can be altered. I know you can put it on
another drive but I don't want that.

Bill


Ads
  #2  
Old June 11th 16, 07:06 PM posted to microsoft.public.windowsxp.general
Jeff Barnett[_2_]
external usenet poster
 
Posts: 298
Default pagefile.sys location

Bill Cunningham wrote on 6/11/2016 10:38 AM:
IS there a way to get xp x64 to report the address of the location on
the HD of the page file? If not, is there a utility that anyone might
happene to know of that will? I set my pagefile.sys to a fixed size so that
it doesn't fragment. IDK if its' location changes or not. I'm not sure how
the OS managees it. And if that can be altered. I know you can put it on
another drive but I don't want that.

Bill


Control Panel - System - Advanced System Settings - Advanced -
Performance + Settings - Advanced - Virtual Memory + Change

You'll notice that MS really wants you to know this is advanced stuff:
notice the number of times the word "Advanced" appears in the drill
down. Once you have followed the path you can (assuming you are there
with administrative privileges) change size and which disk holds the
page file. On my machine I have a a 64GB memory and a 256GB SSD as my C
disk and decide that (1) I would almost never need a paging file and (2)
that there was no need for it to be on the SSD where it would waste
about a quarter of that SSD. So I specified that the paging file should
exist on a 4TB utility disk and that Windows should deal with all the
details.

Good luck with what ever you are trying to accomplish.
--
Jeff Barnett

  #3  
Old June 11th 16, 07:27 PM posted to microsoft.public.windowsxp.general
Jeff Barnett[_2_]
external usenet poster
 
Posts: 298
Default pagefile.sys location

Jeff Barnett wrote on 6/11/2016 12:06 PM:
Bill Cunningham wrote on 6/11/2016 10:38 AM:
IS there a way to get xp x64 to report the address of the location on
the HD of the page file? If not, is there a utility that anyone might
happene to know of that will? I set my pagefile.sys to a fixed size so
that
it doesn't fragment. IDK if its' location changes or not. I'm not sure
how
the OS managees it. And if that can be altered. I know you can put it on
another drive but I don't want that.

Bill


Control Panel - System - Advanced System Settings - Advanced -
Performance + Settings - Advanced - Virtual Memory + Change

You'll notice that MS really wants you to know this is advanced stuff:
notice the number of times the word "Advanced" appears in the drill
down. Once you have followed the path you can (assuming you are there
with administrative privileges) change size and which disk holds the
page file. On my machine I have a a 64GB memory and a 256GB SSD as my C
disk and decide that (1) I would almost never need a paging file and (2)
that there was no need for it to be on the SSD where it would waste
about a quarter of that SSD. So I specified that the paging file should
exist on a 4TB utility disk and that Windows should deal with all the
details.

Good luck with what ever you are trying to accomplish.


Whoops! The above was for Windows 7, not XP.
--
Jeff Barnett
  #4  
Old June 11th 16, 08:08 PM posted to microsoft.public.windowsxp.general
Paul
external usenet poster
 
Posts: 18,275
Default pagefile.sys location

Bill Cunningham wrote:
IS there a way to get xp x64 to report the address of the location on
the HD of the page file? If not, is there a utility that anyone might
happene to know of that will? I set my pagefile.sys to a fixed size so that
it doesn't fragment. IDK if its' location changes or not. I'm not sure how
the OS managees it. And if that can be altered. I know you can put it on
another drive but I don't want that.

Bill


The Microsoft utility "nfi.exe" can tell you
the location, but only for NTFS file systems.

File 65780
\pagefile.sys
$STANDARD_INFORMATION (resident)
$FILE_NAME (resident)
$DATA (nonresident)
logical sectors 107815232-109912383 (0x66d2140-0x68d213f)
logical sectors 355620784-621959087 (0x153257b0-0x251257af)

That tool won't work for FAT32 file systems.

*******

I don't have a tool for FAT32. The closest thing
might be a disk editor.

*******

And not even this, tells you where the fragments
are located.

https://technet.microsoft.com/en-us/...agedefrag.aspx

Paul
  #5  
Old June 11th 16, 08:29 PM posted to microsoft.public.windowsxp.general
Bill Cunningham[_2_]
external usenet poster
 
Posts: 441
Default pagefile.sys location


"Paul" wrote in message
...
Bill Cunningham wrote:
IS there a way to get xp x64 to report the address of the location on
the HD of the page file? If not, is there a utility that anyone might
happene to know of that will? I set my pagefile.sys to a fixed size so
that it doesn't fragment. IDK if its' location changes or not. I'm not
sure how the OS managees it. And if that can be altered. I know you can
put it on another drive but I don't want that.

Bill


The Microsoft utility "nfi.exe" can tell you
the location, but only for NTFS file systems.

File 65780
\pagefile.sys
$STANDARD_INFORMATION (resident)
$FILE_NAME (resident)
$DATA (nonresident)
logical sectors 107815232-109912383 (0x66d2140-0x68d213f)
logical sectors 355620784-621959087 (0x153257b0-0x251257af)

That tool won't work for FAT32 file systems.

*******

I don't have a tool for FAT32. The closest thing
might be a disk editor.

*******

And not even this, tells you where the fragments
are located.

https://technet.microsoft.com/en-us/...agedefrag.aspx

Paul


You know I have found a couple of their tools don't work. Maybe they're
only for x86 I will try this. There is a registry hack too that you can
minimize that pagefile.sys. I also want it at the "front" of the drive's
partition. Thata's where it's supposed to be.

Bill


  #6  
Old June 11th 16, 09:55 PM posted to microsoft.public.windowsxp.general
Good Guy[_2_]
external usenet poster
 
Posts: 3,354
Default pagefile.sys location

On 11/06/2016 17:38, Bill Cunningham wrote:
IS there a way to get xp x64 to report the address of the location on
the HD of the page file? If not, is there a utility that anyone might
happene to know of that will? I set my pagefile.sys to a fixed size so that
it doesn't fragment. IDK if its' location changes or not. I'm not sure how
the OS managees it. And if that can be altered. I know you can put it on
another drive but I don't want that.

Bill



You'll go mad trying to control everything on your machine. Leave it as
it is at default and you;ll enjoy years of trouble free computing.



--
--

1. /*This post contains rich text (HTML). if you don't like it then you
can kill-filter the poster without crying like a small baby.*/
2. /*This message is best read in Mozilla Thunderbird as it uses 21st
century technology.*/


i7 Machine http://s33.postimg.org/er0wkujun/Capture.png


  #7  
Old June 12th 16, 12:15 AM posted to microsoft.public.windowsxp.general
Bill Cunningham[_2_]
external usenet poster
 
Posts: 441
Default pagefile.sys location


"Paul" wrote in message
...
Bill Cunningham wrote:


pagedefrag.exe doesn't work on my system. I am thinking becuase the
drive is mounted.

Bill


  #10  
Old June 12th 16, 01:03 AM posted to microsoft.public.windowsxp.general
Paul
external usenet poster
 
Posts: 18,275
Default pagefile.sys location

Bill Cunningham wrote:
"Paul" wrote in message
...
Bill Cunningham wrote:


pagedefrag.exe doesn't work on my system. I am thinking becuase the
drive is mounted.

Bill



Don't the instructions say to reboot ?
It's probably loaded something into
the BootExecute key, so it can run before
the rest of the OS. Around page 3, the
suggestions become more reasonable.

http://forum.sysinternals.com/uninst...topic2696.html

Paul
  #11  
Old June 12th 16, 01:15 AM posted to microsoft.public.windowsxp.general
Ken Springer[_2_]
external usenet poster
 
Posts: 3,817
Default pagefile.sys location

On 6/11/16 5:15 PM, Bill Cunningham wrote:
"Paul" wrote in message
...
Bill Cunningham wrote:


pagedefrag.exe doesn't work on my system. I am thinking becuase the
drive is mounted.

Bill



IIRC, disparag works during the boot process before Windows loads.

--
Ken
Mac OS X 10.8.5
Firefox 44.0
Thunderbird 38.0.1
"My brain is like lightning, a quick flash
and it's gone!"
  #12  
Old June 12th 16, 02:22 AM posted to microsoft.public.windowsxp.general
Ken Springer[_2_]
external usenet poster
 
Posts: 3,817
Default pagefile.sys location

On 6/11/16 6:15 PM, Ken Springer wrote:
On 6/11/16 5:15 PM, Bill Cunningham wrote:
"Paul" wrote in message
...
Bill Cunningham wrote:


pagedefrag.exe doesn't work on my system. I am thinking becuase the
drive is mounted.

Bill



IIRC, disparag works during the boot process before Windows loads.


Now, that is NOT what I remember typing! LOL


--
Ken
Mac OS X 10.8.5
Firefox 44.0
Thunderbird 38.0.1
"My brain is like lightning, a quick flash
and it's gone!"
  #13  
Old June 12th 16, 01:01 PM posted to microsoft.public.windowsxp.general
JJ[_11_]
external usenet poster
 
Posts: 744
Default pagefile.sys location

On Sat, 11 Jun 2016 12:38:51 -0400, Bill Cunningham wrote:
IS there a way to get xp x64 to report the address of the location on
the HD of the page file? If not, is there a utility that anyone might
happene to know of that will? I set my pagefile.sys to a fixed size so that
it doesn't fragment. IDK if its' location changes or not. I'm not sure how
the OS managees it. And if that can be altered. I know you can put it on
another drive but I don't want that.


Use below VBScript.

Code:
Set objWMIService = GetObject("winmgmts:\\.\ROOT\CIMV2")
Set colItems = objWMIService.ExecQuery( _
  "SELECT * FROM Win32_PageFile", "WQL", &h30)
Output = ""
For Each objItem in colItems
  Output = Output & "File Name: " & objItem.Name & vbCRLF & _
    "File Size: " & objItem.FileSize / 1048576 & " MB (Initial: " & _
    objItem.InitialSize & " MB, Max: " & objItem.MaximumSize & _
    " MB)" & vbCRLF
Next
WScript.Echo Output
While setting the page file to a fixed size prevent it from being fragmented
because it's not expanding, it doesn't defragment an already fragmented page
file. Use a third party defragmentation tool that support page file
defragmentation (must be a boot-time defragmentation).

Page file location is by default, at the root directory. The location and
file name is stored in the registry under value name "PagingFiles" and is
found under below registry path (long text warning). I'd suggest using a
third party tool if you aren't familiar with the registry.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol\Session Manager\Memory
Management
  #14  
Old June 12th 16, 04:13 PM posted to microsoft.public.windowsxp.general
Bill Cunningham[_2_]
external usenet poster
 
Posts: 441
Default pagefile.sys location


"Paul" wrote in message
...
Bill Cunningham wrote:
"Paul" wrote in message
...
Bill Cunningham wrote:


pagedefrag.exe doesn't work on my system. I am thinking becuase the
drive is mounted.

Bill



Don't the instructions say to reboot ?
It's probably loaded something into
the BootExecute key, so it can run before
the rest of the OS. Around page 3, the
suggestions become more reasonable.

http://forum.sysinternals.com/uninst...topic2696.html


The only thing that happens is that a small pop box pops up and says error
and you click ok and I believe the program closes. I tried a couple of times
then deleted it.

Bill


  #15  
Old June 12th 16, 04:17 PM posted to microsoft.public.windowsxp.general
Bill Cunningham[_2_]
external usenet poster
 
Posts: 441
Default pagefile.sys location


"JJ" wrote in message
...
On Sat, 11 Jun 2016 12:38:51 -0400, Bill Cunningham wrote:
IS there a way to get xp x64 to report the address of the location on
the HD of the page file? If not, is there a utility that anyone might
happene to know of that will? I set my pagefile.sys to a fixed size so
that
it doesn't fragment. IDK if its' location changes or not. I'm not sure
how
the OS managees it. And if that can be altered. I know you can put it on
another drive but I don't want that.


Use below VBScript.

Code:
 Set objWMIService = GetObject("winmgmts:\\.\ROOT\CIMV2")
 Set colItems = objWMIService.ExecQuery( _
  "SELECT * FROM Win32_PageFile", "WQL", &h30)
 Output = ""
 For Each objItem in colItems
  Output = Output & "File Name: " & objItem.Name & vbCRLF & _
    "File Size: " & objItem.FileSize / 1048576 & " MB (Initial: " & _
    objItem.InitialSize & " MB, Max: " & objItem.MaximumSize & _
    " MB)" & vbCRLF
 Next
 WScript.Echo Output

While setting the page file to a fixed size prevent it from being
fragmented
because it's not expanding, it doesn't defragment an already fragmented
page
file. Use a third party defragmentation tool that support page file
defragmentation (must be a boot-time defragmentation).

Page file location is by default, at the root directory. The location and
file name is stored in the registry under value name "PagingFiles" and is
found under below registry path (long text warning). I'd suggest using a
third party tool if you aren't familiar with the registry.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol\Session
Manager\Memory
Management


Thanks JJ. I'm also wondering if the OS puts anything in front of the
pagefile.sys. Or moves it around when other files are fragmenting. IDK if I
could stop that or not.

Bill


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 08:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.