Go Back   Software Help and Support - Techask.com » Operating System » Windows XP

defragmentation

Submitted in Windows XP within the Operating System category.
Bookmark and Share   Email this Page   Show Printable Version
  #1 (permalink)  
09-29-2009, 06:47 PM
Bill Cunningham
Default defragmentation

I want to defragment the swap file. This should only need to be done
once. I have rename pagefile.sys on my XP MCE tp pag. I should be able to
run the defragmenter and it will defragment pag then I can erase the new
pagefile.sys sp creates and rename pag to pagefile.sys and have a defragged
swap.
This technique used to work with win386.swp from win 9x and I shouldn't
see why it wouldn't work with xp. What does others think that know more than
me?

Bill



Reply With Quote
  #2 (permalink)  
09-29-2009, 06:47 PM
JS
Default

Keeping in mind that some files are 'in use' and
that XP defrag tool can't handle these types of files.
Here is a tool that may help: PageDefrag v2.32
http://www.microsoft.com/technet/sys...ageDefrag.mspx

Note that on my PC the pagefile is a fixed size on another drive,
so it is already defragmented and stays defragmented.
On a typical PC PageDefrag may or may not help with the pagefile,
but it will with the others file types that it defrags.

JS
http://www.pagestart.com


Originally Posted by Cunningham
I want to defragment the swap file. This should only need to be done
once. I have rename pagefile.sys on my XP MCE tp pag. I should be able to
run the defragmenter and it will defragment pag then I can erase the new
pagefile.sys sp creates and rename pag to pagefile.sys and have a
defragged swap.
This technique used to work with win386.swp from win 9x and I shouldn't
see why it wouldn't work with xp. What does others think that know more
than me?

Bill
Reply With Quote
  #3 (permalink)  
09-29-2009, 06:47 PM
JS
Default

Updated Link to Page defrag:
http://technet.microsoft.com/en-us/s.../bb897426.aspx

JS


Originally Posted by JS
Keeping in mind that some files are 'in use' and
that XP defrag tool can't handle these types of files.
Here is a tool that may help: PageDefrag v2.32
http://www.microsoft.com/technet/sys...ageDefrag.mspx

Note that on my PC the pagefile is a fixed size on another drive,
so it is already defragmented and stays defragmented.
On a typical PC PageDefrag may or may not help with the pagefile,
but it will with the others file types that it defrags.

JS
http://www.pagestart.com




Reply With Quote
  #4 (permalink)  
09-29-2009, 06:47 PM
Bill Cunningham
Default

Keeping in mind that some files are 'in use' and
that XP defrag tool can't handle these types of files.
Here is a tool that may help: PageDefrag v2.32
Yes I tried that tool it is very nice. This opens another question. When
the registry files and now there are what about 6-8 of them are defragged
would they have to be defragged again unlike the swap file? It was so much
simpler with user.dat and system.dat. Does XP have registry import and
export capability like the old win9x ?

Bill
Reply With Quote
  #5 (permalink)  
09-29-2009, 06:47 PM
JS
Default

Once the files listed in the page defrag utility have been defragmented, at
least on my PC they stay defragmented for a very long time.

As to exporting a registry key it's easy to do, just select the key and
right click and choose the Export option. This method is not meant to export
the entire key (Example: HKEY_LOCAL_MACHINE) and then import it as a means
of defragmenting the registry. For that you should look into two tools:
ERUNT and NTREGOPT:
http://www.larshederer.homepage.t-online.de/erunt/

As always there is the slight possibility of something going wrong and
leaving you with an unbootable PC. Therefore create an Image Backup before
you start.

True Image 2009 - has a 15 day trial version available,
(Trial version can create a Restore CD/Rescue Media)
Note: it is critical that you create the 'Rescue' CD and the Image Backup
file must be stored on a second internal or external drive or DVD media will
do in a pinch.
http://www.acronis.com/homecomputing...cts/trueimage/
User's Guide: http://us1.download.acronis.com/pdf/...ge12_ug.en.pdf

JS
http://www.pagestart.com


Originally Posted by Cunningham


Yes I tried that tool it is very nice. This opens another question.
When the registry files and now there are what about 6-8 of them are
defragged would they have to be defragged again unlike the swap file? It
was so much simpler with user.dat and system.dat. Does XP have registry
import and export capability like the old win9x ?

Bill

Reply With Quote
  #6 (permalink)  
09-29-2009, 06:48 PM
philo
Default

I want to defragment the swap file. This should only need to be done
once. I have rename pagefile.sys on my XP MCE tp pag. I should be able to
run the defragmenter and it will defragment pag then I can erase the new
pagefile.sys sp creates and rename pag to pagefile.sys and have a
defragged
swap.
This technique used to work with win386.swp from win 9x and I
shouldn't
see why it wouldn't work with xp. What does others think that know more
than
me?

Bill

First off, it's kind of pointless
but if that's what you want...
all you need do is turn off your page file completely (in the control panel)

reboot

recreate your page file

then reboot

you have a new one
Reply With Quote
  #7 (permalink)  
09-29-2009, 06:48 PM
Ken Blake
Default

I want to defragment the swap file. This should only need to be done
once. I have rename pagefile.sys on my XP MCE tp pag. I should be able to
run the defragmenter and it will defragment pag then I can erase the new
pagefile.sys sp creates and rename pag to pagefile.sys and have a
defragged swap.
This technique used to work with win386.swp from win 9x and I shouldn't
see why it wouldn't work with xp. What does others think that know more
than me?

What I think is that it's entirely unnecessary and shouldn't be bothered
with.
Reply With Quote
  #8 (permalink)  
09-29-2009, 06:48 PM
Twayne
Default

I want to defragment the swap file. This should only need to be
done once. I have rename pagefile.sys on my XP MCE tp pag. I should
be able to run the defragmenter and it will defragment pag then I can
erase the new pagefile.sys sp creates and rename pag to pagefile.sys
and have a defragged swap.
This technique used to work with win386.swp from win 9x and I
shouldn't see why it wouldn't work with xp. What does others think
that know more than me?

Bill
That sounds a little iffy, I'm not certain. When you switch the
pagefile back, it may no longer agree with the tables and indexes from
the pagefile you deleted. I would think turning the pagefile completely
OFF and deleting it would be better, would it not? If you turn it off,
then you can delete the pagefile itself, defrag, and then simply turn it
back on.
Zero defragmentation of the pagefile, BTW, isn't really practical as
a permanent target. It really depends on how many fragments it's in. A
few isn't going to be meaningful, where a few hundred or thousand
especailly might make a difference. How many fragments is it in? It's
not unusual for the pagefile to be in a few fragments, and not usually
bad.
Be sure to do Restarts between each step of course.

HTH
Reply With Quote
  #9 (permalink)  
09-29-2009, 06:48 PM
Bill Cunningham
Default

Once the files listed in the page defrag utility have been defragmented,
at least on my PC they stay defragmented for a very long time.

As to exporting a registry key it's easy to do, just select the key and
right click and choose the Export option. This method is not meant to
export the entire key (Example: HKEY_LOCAL_MACHINE) and then import it as
a means of defragmenting the registry. For that you should look into two
tools: ERUNT and NTREGOPT:
http://www.larshederer.homepage.t-online.de/erunt/
[snip]

There's a tool called powerdefrag at www.powerdefrag.com that is
supposed to defrag the swap file too. I just don't understand how you can
defrag pagefile.sys when it's in memory. Hence my idea of renaming it. To
create a new registry what keys need to be exported? There are about six reg
files now.

Bill
Reply With Quote
  #10 (permalink)  
09-29-2009, 06:48 PM
JS
Default

The only way I know of that a utility could defragment the page file is for
it to run when you reboot your PC.
The utility would run prior to when Windows starts to load/run, therefore
since Windows is not running the pagefile is not in use and the utility can
defrag the pagefile, once the process/defragmentation has completed the
utility would stop running and allow the boot process to complete, which
means Windows is now loaded and running.

As for the registry I did not mean to imply that exporting an entire
registry key and then importing it would create a new defragmented registry
file. Note: I DO NOT recommend that you try this as you could very well end
up with a PC that will not boot.

Unless the registry files are severely fragmented I would not attempt any
fix as a few fragments are not likely to hurt performance.

However if you insist then take a look at:
ERUNT and NTREGOPT:
http://www.larshederer.homepage.t-online.de/erunt/

*** Also as mentioned in my earlier post:
There is always the slight possibility of something going wrong and
leaving you with an unbootable PC. Therefore create an Image Backup before
you start. Be safe and backup, take the time to learn True Image, it may
just
end up being your life line.

True Image 2009 - has a 15 day trial version available,
(Trial version can create a Restore CD/Rescue Media)
Note: it is critical that you create the 'Rescue' CD and the Image Backup
file must be stored on a second internal or external drive or DVD media will
do in a pinch.
http://www.acronis.com/homecomputing...cts/trueimage/
User's Guide: http://us1.download.acronis.com/pdf/...ge12_ug.en.pdf

JS
http://www.pagestart.com


Originally Posted by Cunningham

[snip]

There's a tool called powerdefrag at www.powerdefrag.com that is
supposed to defrag the swap file too. I just don't understand how you can
defrag pagefile.sys when it's in memory. Hence my idea of renaming it. To
create a new registry what keys need to be exported? There are about six
reg files now.

Bill
Reply With Quote
Reply
Page 1 of 2
1 2

Tags
defrag , defragment , defragmenter , drive , files , handle , http , microsoft , pagefile , rename , windows xp

vBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.3.1 © 2009, Crawlability, Inc.
Contact Us - TechAsk Home - Archive - Top
©2009 TechAsk.com, All Rights Reserved.