I have run Defraggler many times and it will not defrag pagefile.sys file. If anyone knows how to get this done please contact me by email. This is a fairly large file 4.1 gigs. I am running Windows XP Home Edition.......
Failure to Defrag
Started by Marc387, Feb 09 2010 12:17 AM
3 replies to this topic
#1 OFFLINE
Posted 09 February 2010 - 12:17 AM
#2 OFFLINE
Posted 09 February 2010 - 12:41 AM
You cannot defrag c:\pagefile.sys because it's locked by the Operating System you will need to use a boot cd like BartPE to gain exclusive access to the file or alternative run Sysinternals PageDefrag (once only).
Even if you could run Defraggler under BartPE it's coded not to touch c:\pagefile.sys (still unsure why though) however to remove this limitation you need to edit Defraggler.exe and modify the unicode string "pagefile.sys" stored twice.
Alternative you could use Sysinternals Contig running under BartPE to defrag pagefile.sys which is just as effective.


Richard S.
Even if you could run Defraggler under BartPE it's coded not to touch c:\pagefile.sys (still unsure why though) however to remove this limitation you need to edit Defraggler.exe and modify the unicode string "pagefile.sys" stored twice.
Alternative you could use Sysinternals Contig running under BartPE to defrag pagefile.sys which is just as effective.

Richard S.
#3 OFFLINE
Posted 16 February 2010 - 02:54 AM
redhawk, on Feb 8 2010, 06:41 PM, said:
You cannot defrag c:\pagefile.sys because it's locked by the Operating System you will need to use a boot cd like BartPE to gain exclusive access to the file or alternative run Sysinternals PageDefrag (once only).
Even if you could run Defraggler under BartPE it's coded not to touch c:\pagefile.sys (still unsure why though) however to remove this limitation you need to edit Defraggler.exe and modify the unicode string "pagefile.sys" stored twice.
Alternative you could use Sysinternals Contig running under BartPE to defrag pagefile.sys which is just as effective.


Richard S.
Even if you could run Defraggler under BartPE it's coded not to touch c:\pagefile.sys (still unsure why though) however to remove this limitation you need to edit Defraggler.exe and modify the unicode string "pagefile.sys" stored twice.
Alternative you could use Sysinternals Contig running under BartPE to defrag pagefile.sys which is just as effective.

Richard S.
I thought I recognized that username... fellow sysinternals forum member.
Oh, btw redhawk- convert c: /fs:ntfs
#4 OFFLINE
Posted 20 February 2010 - 09:48 AM
jawz101, on Feb 16 2010, 02:54 AM, said:
I thought I recognized that username... fellow sysinternals forum member.
Oh, btw redhawk- convert c: /fs:ntfs
Oh, btw redhawk- convert c: /fs:ntfs
This is what i did and so far and nothing wrong..
http://support.microsoft.com/kb/307886
after i did this i ran the defrag. then just reversed it.











