Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Defragmenting pagefile.sys

Posted on 1997-09-01
5
Medium Priority
?
283 Views
Last Modified: 2013-12-28
Hi,
 I am trying to defragment a badly fragmented
pagefile on my computer. I only have one volume
(i.e. one hard disk) so I cannot copy the pagefile
elsewhere.

Can you tell me how to defragment the pagefile?
0
Comment
Question by:cpower
  • 3
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
j2 earned 200 total points
ID: 1782052
In a word: You can't!

Only workaround:

1. Turn of the swapfile
2. Defrag Disk
3. Reinitialize Swap

Best long term solutions

Use a _dedicated_ partition for swap... or better yet, do as i have done and use a dedicated harddisk for the job.
0
 

Author Comment

by:cpower
ID: 1782053
How do I turn off the swap file.

Is it just a metter of setting it to 0?
0
 
LVL 12

Expert Comment

by:j2
ID: 1782054
Precisely, i THINK that NT will remove the file automatically.. otherwise you can delete it upon next bootup.


0
 
LVL 12

Expert Comment

by:j2
ID: 1782055
Precisely, i THINK that NT will remove the file automatically.. otherwise you can delete it upon next bootup.


0
 

Author Comment

by:cpower
ID: 1782056
Thanks for that, sounds good to me?

Ciao :)
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question