Microsoft® Windows® 2000 Scripting Guide
« Previous | Next »
The Windows 2000 operating system supports virtual memory. With virtual memory, a special file on a hard disk (known as a page file or a swap file) is used to supplement the physical memory installed on a computer. When a computer begins to run low on physical memory, data can be «swapped out» to the page file. This has the following advantages:
- It frees up physical memory.
- It makes it relatively fast and easy to retrieve the data, because the system knows exactly where to look for it.
Page files and virtual memory are extremely important to fast and effective computing. Without page files, computers would need double or triple the amount of physical memory in order to achieve the same level of performance.
System administrators need to review page file settings as part of a management routine that ensures that page files have been sized optimally and that each drive on a computer has its own page file. In addition, page file usage should be monitored on a regular basis; excessive paging often means that a computer has too little physical memory to carry out the tasks assigned to it.
WMI has several classes that can be used to help manage page files, including the Win32_PageFile class, which returns detailed information about each page file on a computer. Table 10.10 shows several of the key properties of this class.
Table 10.10 Win32_PageFile Properties
| Property | Description |
|---|---|
| CreationDate | File creation date. |
| CSName | Name of the computer system. |
| Description | Description of the object. |
| Drive | Drive letter (including colon) of the file. |
| EightDotThreeFileName | MS-DOS compatible file name for this file. |
| FileSize | Size of the file (in bytes). |
| InitialSize | Initial size of the page file, in megabytes. |
| InstallDate | Date the page file was created. |
| MaximumSize | Maximum size of the page file as set by the user. The operating system does not allow the page file to exceed this limit. |
| Name | File name of the page file. |
| Path | Path of the file. This includes leading and trailing backslashes. |
Scripting Steps
Listing 10.19 contains a script that enumerates the properties of all the page files on a computer. To carry out this task, the script must perform the following steps:
- Create a variable to specify the computer name.
- Use a GetObject call to connect to the WMI namespace root\cimv2, and set the impersonation level to «impersonate.»
- Use the ExecQuery method to query the Win32_PageFile class.
This returns a collection of all the page files on the computer.
- For each page file in the collection, echo the values of such properties as the file name, current file size, initial file size, and maximum file size.
Listing 10.19 Enumerating Page File Properties
|
|
| Send us your feedback | « Previous | Next » |
First published on TECHNET on Dec 14, 2007
The page file is one of those pieces of the operating system that administrators know that they need to have — but they can’t always explain why they need it, or how to accurately size it. Since Windows 95, Windows-based operating systems have used a special file that acts as a sort of «scratch pad» to store modified pages that are still in use by some process. Page file space is reserved when the pages are initially committed, however the page file locations are not chosen until the page is written to disk. So, in simplistic terms, the page file is used by Windows to hold temporary data which is swapped in and out of physical memory in order to provide a larger virtual memory set.
When the system boots up, the Session Manager process determines the list of page files to open by reading the value in the HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\PagingFiles. This value contains the name of the paging file as well as the minimum and maximum size of each paging file. Windows supports up to 16 page files. On a 32-bit system running the normal kernel, the maximum size of each page file is 4095 MB. On x64 systems and x86 systems with the PAE kernel, the maximum page file size is 16 terabytes (16TB). On IA-64 systems, each page file can be as large as 32 terabytes.
To view the list of page files, you can either look at the HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\PagingFiles registry value. The paging file configuration settings are managed through the System utility in Control Panel. Below are two examples of page file settings:
In the example above, the page file size is being managed by the Operating System. As you can see from the registry entry, there is just an entry for pagefile.sys — no drive letter or page file size is specified. Contrast this with the example below on a system where the page file has been statically configured:
As you can see, the registry entry in the second example has both a discrete path name for the paging file and also specific size parameters. Once a page file has been opened, it cannot be deleted while the system is running because the System process maintains an open handle to each page file on the system. That is why any changes made to the paging file configuration require a system reboot.
If there are no paging files specified, a Windows 2000 system will create a default 20MB page file on the boot partition. On Windows XP and Windows Server 2003 systems, this temporary paging file is not created. This means that the system virtual memory commit limit is based on the available memory. If the system is managing the page file size on Windows XP or Windows Server 2003, the size of the default page file is determined by the amount of physical memory, as shown below:
|
System Memory |
Minimum Page File |
Maximum Page File |
| < 1GB | 1.5 * RAM | 3 * RAM |
| > = 1GB | 1 * RAM | 3 * RAM |
Therefore, on a 32-bit system with 512MB of RAM, the page file size would range from 768MB to 1536MB. On a 32-bit system with 2GB of RAM, the page file size would range from 2GB to 4GB (remember that 4GB is the maximum size of a page file on 32-bit operating systems). However, now consider a system managed page file on a 64-bit server with 32GB of RAM. The page file size would range from 32GB to 96GB! This is why understanding the performance of your server is so important. Although there are general recommendations about page file sizing that are based on the amount of physical RAM in a system, this is not 100% valid. If you think about it, the more memory you have, the less likely you are to need to page data out.
The page file needs of an individual system will vary based on the role of the server, load etc. There are some performance counters that you can use to monitor private committed memory usage on a systemwide or per-page-file basis. There is no way to determine how much of a process’ private committed memory is resident and how much is paged out to paging files.
Committed Memory and Page File Performance Counters
|
Performance Counter |
Description |
| Memory: Committed Bytes | Number of bytes of virtual memory that has been committed. This does not necessarily represent page file usage — it represents the amount of page file space that would be used if the process was completely made nonresident |
| Memory: Commit Limit | Number of bytes of virtual memory that can be committed without having to extend the paging files. |
| Paging File: % Usage | Percentage of the paging file committed |
| Paging File: % Usage Peak | Highest percentage of the paging file committed |
So with this information in mind, what’s the best way to determine the correct page file size? The first thing is to gather a baseline. Set up a page file that is statically sized to 1.5GB of RAM. Then monitor the server using Performance Monitor over a period of time. Ensure that the peak usage times of the server are monitored as this is when the server will be under the most load (for example, month-end / year-end processing etc). Using the information from the counters above and also examining the Peak Commit Charge number in Windows Task Manager (shown below) will give you an idea how much page file space would be needed if the system had to page out all private committed virtual memory.
If the page file on the system is too large, the system does not use it any more or less. In other words, increasing the size of the page file unnecessarily does not change the system performance — it just means that the system has more nonshareable committed virtual memory. If the page file is too small on the other hand, you may see error messages such as the «system is running low on virtual memory».
Remember however, that you should also check whether there is a process that is leaking memory or a pool memory leak as those will also cause error messages relating to system resources and virtual memory to be displayed.
So finally, a quick word on system-managed versus statically defined page files. Some administrators will allow the system to manage the page file sizes. However, while this ensures that you are unlikely to encounter page file related resource depletion, it can lead to severe disk and page file fragmentation as the page file continuously shrinks and expands to keep up with the needs of the system. If you are in a situation where there is severe disk fragmentation and you have a dynamic page file, I would strongly recommend reconfiguring the server with a static page file. You will also want to make sure that the disk is properly defragmented. To do this, you will need to schedule an appropriate maintenance window for your server. Then modify the page file settings on the server so that there is no page file defined. Reboot the server for the change to take effect and then defragment the disk as you normally would. Once the defragmentation process is completed, reconfigure the page file to the appropriate static size (same minimum and maximum values) and reboot the server again.
OK — that will do it for this quick look at the basics of the page file. Until next time …
—
CC Hameed
Tek-Tips is the largest IT community on the Internet today!
Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!
-
Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!
-
Home
-
Forums
-
Desktops, Portables & Smartphones
-
Desktop Hardware & Smartphones
-
PC Hardware & Smartphones
-
PC hardware — General discussion
You should upgrade or use an alternative browser.
How to delete the Paging file in windows 2000 ?
-
Thread startervrcatherine
-
Start date
- Status
- Not open for further replies.
-
#1
Is there a way i can delete this paging file, so
that i can free up some space on my C:\ drive.
—Thanks
Cathy
-
#2
"Properties"
"Advanced"
"Performance Options"
"Change" under "Virtual Memory" settings.
The easiest is to set the page file to about twice the amount of RAM you have. Default settings are generally left to let it go dynamically between 384 MB and 768 MB. It’s better to set a static value (like between 768 and 768). That way your page file size doesn’t grow and shrink so much.
Even better is if you can get the page file on a separate disk, but you will run into problems if you plan on collecting dump data from crashes, if you take away all the page file space from the system drive (C:\).
Hope that helps.
J.R.
-
#3
Some tips about constraining the size of the paging file, free utilities to monitor it, and to deframent the paging file can be found in this article:
It is written in the context of XP, but applies equally in all particulars to Win2k.
-
#4
-
#5
-
#6
Partition 1 : 5 to 20GB for your Windows OS
Partition 2 : (What is left) — 2 to 5GB for your system page file/memory swap file.
Partition 3 : 2 to 5GB or the 2x(total RAM in system)+20% for your system pagefile/memory swap file.
If you have a harddisk drive around 10GB or smaller it is sort of pointless to use this method with operating systems like Windows 2000 and Windows XP. It does work very well with Windows 98 though.
Keeping your system pagefile/memory swap file separate from your Windows partition can help preventing fast and extreme fragmentation and can speed up the time it takes to defrag your system
- Thread starter
-
#7
I am sure they have to be modified, guide me
what to do :
DISK SPACE
===========
C:\ 1.99GB ( free space 200mb)
D:\ 7.31GB ( free space 1.1GB)
Paging size
============
C:\ 500-550mb (initial)
D:\ 550-800mb (maximum)
Allocated 1050mb
Total system ram is 256MB.
Is there a way i can have my paging only on D:\ drive
as its having some space ?
—Cathy
-
#8
Keep in mind that if you are using Win98, you’ll see a performance decrease when you get above 128mb ram.
Something else to consider is — Virus activity exploiting your pagefile to fill the hard drive.. have we done a scan lately?
-IQ
-
#9
Reboot, and all will reset.
Please note what I mentioned earlier about crash dump files. So you may want to leave about 100MB there for that specific purpose. Or not; it’s up to you.
J.R.
- Thread starter
-
#10
I am running windows 2000 server and this is my
domain server, domain controller, DHCP server ..etc
Virus activity ??????
Even that might also be a possible hickup.
I will run the scan as well.
—Thanks
Cathy
- Thread starter
-
#11
As per your suggestions i can set the page file
for C:\ drive as 0 (min) and 0 (max)
and for D:\ drive 1024 (min) and 1024 (max)
What is this Crash dump ?
I havent used it till now, anything important ?
Or do u want me to set the C:\ drive to 0(min) , 100(max) ?
—Thanks
CATHY
-
#12
Any time your server crashes it may create a dump file. Pretty much useless to you to read, but it may give MS something to work with if you intend to call them for support. So no it’s not a necessity; it all comes to personal preference.
If you DO want to get the file that’s generated after a crash, you will need at least 64MB for the file on your root drive (usually C:\). That’s way I suggested perhaps 100 MB of extra swap space for the C:\ drive. But again, personal preference puts it up to you!
Setting the min and max to the same number keeps the page file from growing and shrinking all the time. It’s supposed to help keep file fragmentation down.
Hope that helped.
J.R.
-
#13
Do a defrag on your main System drive/partition(the one with windows installed, this might free up some space when compacting the files.
Also see if you can empty your Temp folders:
(System Root):\Documents and Settings\(User Account)\Local Settings\Temp
and
(System Root):\WINDOWS\Temp
or
(System Root):\WINNT\Temp
- Thread starter
-
#14
- Status
- Not open for further replies.
Similar threads
-
Home
-
Forums
-
Desktops, Portables & Smartphones
-
Desktop Hardware & Smartphones
-
PC Hardware & Smartphones
-
PC hardware — General discussion
-
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
-
Add bookmark
-
#1
Ok, I am all suited up w/ flame-retardant clothing and I’ve got some skewers ready. <P>I know this is n00bie material and all; I did a search but got several different thread (I read them) that did not explain the difference.<P>So, could someone be so kind as to explain these to an 8 year-old? View image: /infopop/emoticons/icon_biggrin.gif
-
Add bookmark
-
#2
From the Windows 2000 help file,<P><BLOCKQUOTE><font size=»-1″>quote:</font><HR>»A hidden file on the hard disk that Windows 2000 uses to hold parts of programs and data files that do not fit in memory. The paging file and physical memory, or RAM, comprise virtual memory. Windows 2000 moves data from the paging file to memory as needed and moves data from memory to the paging file to make room for new data. Paging file is also called a swap file.»<HR></BLOCKQUOTE><P>Your computer holds data it’s working with in memory. Virtual memory allows your computer to use more memory than is available physically by using hard disk space. The hard disk space used is the page file.
-
Add bookmark
-
#3
Virtual memory is a whole lot more than a page file.<P>Each byte of computer memory has an address.<P>In a system without virtual memory, the addresses that a program can see directly correspond to a physical memory location. This has a number of side-effects. One big one is that a program can see all the memory, even things that don’t concern it — it just has to look at the addresses that other programs are located. If a program inadvertantly writes to the wrong address, it might write on top of another program, damaging that program (that is, no memory protection). A program can’t easily load a file that’s bigger than the amount of memory installed in the computer. If your system has an ugly memory access scheme (for instance, segmented memory) you have to deal with that.<P>Virtual memory virtualizes memory addresses. It breaks the direct correlation between the memory addresses that programs can see, and the physical memory.<P>When done properly (MacOS since version 7 (IIRC) has virtualized addresses to make the memory space contiguous, where once it had holes, but doesn’t really do anything beyond that — this is «not properly») this gives you all sorts of benefits.<P>The way it’s done (glossing over the details) is to have a look-up table, that maps virtual addresses to real addresses. It divides the set of addresses along 4 kbyte borders, and each 4 kbyte section — called a page — is treated as a single unit (so, for instance, if the OS wants to rearrange things how they lie in memory then it has to move whole pages around; if it wants to make a bit of memory read-only, it does it for a whole page at a time, etc.).<P>The first thing you do is to give each program its own set of virtual addresses. When you do this, you make it such that the addresses that one program can see have no relationship to the addresses another program can see. This means that each program is isolated from the other programs. You have protected memory. This introduces other problems (like, sharing data between programs), but they’re solvable.<P>Because you have this indirection scheme (memory addresses get looked up), you can implement a disk paging scheme. Rather than a virtual address resolving to somewhere in-memory, it can resolve to somewhere on-disk — you can have a system whereby you pull the information into memory from disk as and when needed. The opposite can also happen — if a page isn’t needed for a long time, and something else needs the memory, it can write the page out to disk — the only drawback being, next time it needs to read it, it has to read it from the disk again. <P>With executables, it doesn’t actually have to write anything out to disk — it can get rid of its copy of the executable in memory, because it knows that it can read the original file again if it needs it back.<P>But with data, it can’t do this, because the data has no on-disk representation. So what the OS does is to create a big file called the pagefile, which it can use to store data pages in this way.<P>Virtual memory doesn’t require a pagefile — it’s a lot more than that (there are other things you can do that I haven’t mentioned, that use the same system of pages and indirection), but a pagefile is a common part of an OS using virtual memory.
-
Add bookmark
-
#5
Yes, thoroughly impressed.<P>I originally did think that VM and PF were the same, I have a description showing the difference in a book and even with all that cack, I still assumed they were the same, but you told us very clearly.<P>Thank you very much….Show off View image: /infopop/emoticons/icon_biggrin.gif
-
Add bookmark
-
#6
Peterb… You should’ve just told him, that his machine needs more physical memory. View image: /infopop/emoticons/icon_biggrin.gif <P>Nice discription…<P>Lasernet
-
Add bookmark
-
#7
Wow PeterB. Thank you! Although currently the eight year old is currently in a coma due to this, I am totally impressed and thankful for your explanation! (actually, it did change my perception of you, since a long time ago -you won’t remember, trust me, it’s not worth it View image: /infopop/emoticons/icon_biggrin.gif- we had a heated argument over some stupid thread at the BF). View image: /infopop/emoticons/icon_smile.gif<P>You’re <I>DA</I> MAN! View image: /infopop/emoticons/icon_razz.gif
-
Add bookmark
-
#8
Nice. PeterB, you’re right BTW, it was MacOS 7 that «fixed» things. View image: /infopop/emoticons/icon_smile.gif<P>There is a really, really good paper describing the basic workings of virtual memory here. I found this fascinating.<P>It’s a Sun document about Solaris — if anyone can produce something equally detailed regarding NT’s VM system, that would be awesome. But the basics are probably the same. (in fact I think the Solaris VM has changed a bit since this was published, but it’s still a good explanation of the basic issues)
-
Add bookmark
-
#9
Can anyone recommend some good books on <i>just</i> VM topics? More specifically Win32 (and I’m more interested in the NT-scheme, but all of Win32 isn’t a bad idea to read on).<P>TIA
-
Add bookmark
-
#10
VM and the Win32 API are separate topics in most documents I would think?<P>As far as OS design, including VM, Andrew Tannenbaum’s books are supposed to be good. Unix performance tuning books always discuss the VM but there doesn’t seem to be quite the same emphasis with NT books.
-
Add bookmark
-
#11
The NT VM scheme is described in some detail here, and with more Win32-specific details (and some overlap) here, here and here. I would expect the Inside Windows NT/2K books have more details if you need them.<P>Windows 9x is best left forgotten about.
-
Add bookmark
-
#13
Thanks man! Plenty of reading to do. View image: /infopop/emoticons/icon_smile.gif
Noodle
Ars Tribunus Angusticlavius
-
Add bookmark
-
#14
Isn’t there some hardware requirement to Virtual Memory as well? For example, could a 286 running a properly designed operating system use virtual memory? I vaguely remember there being some hardware limitation to how much memory can be addressed — not just how much physical RAM, but how much virtual memory. Is this the case? Specifics for the curious?<P>I’d like to be able to say that I did my research, like the original poster, but I can’t. I’m at work, and if I start researching something it’s a sure bet my phone will ring before I get to any relevant material.
-
Add bookmark
-
#15
<BLOCKQUOTE><font size=»-1″>quote:</font><HR>Originally posted by Noodle:<BR> Isn’t there some hardware requirement to Virtual Memory as well? For example, could a 286 running a properly designed operating system use virtual memory? I vaguely remember there being some hardware limitation to how much memory can be addressed — not just how much physical RAM, but how much virtual memory. Is this the case? Specifics for the curious?<BR><HR></BLOCKQUOTE><P>Yes, your processor needs a MMU (memory management unit). Almost every 32-bit processor has them built-in now except for some variants of embedded chips. The MMU contains a table called a translation lookaside buffer (TLB). This is used to translate quickly between a virtual address (value of a pointer in your program) and the physical address which can be thought of as the ‘location’ of the data in memory. <P>When the processor tries to access an address that is not listed in the TLB, it hands over control to the OS. There are many reasons this can happen:<BR>1. program tried to access a bad pointer (called an access violation, invalid page fault, or bus error)<BR>2. program tried to access memory which is paged out. In this case the OS loads the data from disk and updates the TLB.<BR>3. TLB miss. The TLB is an expensive piece of hardware like a cache. You can not make it simultaneously fast, cheap, and big enough to hold mappings for every page in memory. Sometimes you get a TLB miss which is a result of the TLB not being big enough to hold entries for all the memory in active use. <P>Chips designed for servers or other applications where a lot of memory is used typically have larger TLBs for this reason.
-
Add bookmark
-
#16
<BLOCKQUOTE><font size=»-1″>quote:</font><HR>Originally posted by splicer:<BR>Isn’t there some hardware requirement to Virtual Memory as well? For example, could a 286 running a properly designed operating system use virtual memory? I vaguely remember there being some hardware limitation to how much memory can be addressed — not just how much physical RAM, but how much virtual memory. Is this the case? Specifics for the curious?<BR>»<P>Yes, your processor needs a MMU (memory management unit). Almost every 32-bit processor has them built-in now except for some variants of embedded chips. The MMU contains a table called a translation lookaside buffer (TLB). This is used to translate quickly between a virtual address (value of a pointer in your program) and the physical address which can be thought of as the ‘location’ of the data in memory.<HR></BLOCKQUOTE><BR>Actually, you could do it without an MMU… by holding the TLB in system memory. The TLB is much <I>faster</I> but not technically required (as you noted, it’s more or less another kind of cache, beneficial but not technically required).
- Thread Status:
-
Not open for further replies.
-
spy1
Registered Member«Microsoft Windows-based computer operating systems utilize a special file as a «scratch pad» to write data when additional random access memory is needed. In Windows, Windows 95 and Windows 98, these are called Windows Swap Files. In Windows NT and Windows 2000 and Windows XP they are called Windows Page Files but they have essentially the same characteristics as Windows Swap Files. Swap files are potentially huge and most computer users are unaware of their existence. The size of these files can range from 20 million bytes to over 200 million bytes and the potential exists for these huge files to contain remnants of word processing, E-Mail messages, Internet browsing activity, database entries and almost any other work that may have occurred during past Windows work sessions. This situation creates a significant security problem because the potential exists for data to be transparently stored within the Windows Swap File without the knowledge of the computer user. This can occur even if the work product was stored on a computer network server. The result is a significant computer security weakness that can be of benefit to the computer forensics specialist. Windows Swap Files can actually provide the computer forensics specialist with investigative leads that might not otherwise be discovered.»
Rest of this very interesting article here: http://www.forensics-intl.com/def7.html . Pete
*PeteNote: Actually, that came from the ‘Definitions’ page on that site — lot of interesting stuff there: http://www.forensics-intl.com/define.html .
-
JacK
Registered MemberHi,
For Win2K/XP :
Go to and add
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\MemoryManagement : ClearPageFileAtShutdown Value 1It will empty the swap at Windows shut down (slow down the closing) and you will have a fresh one when booting.
Rgds,
JacK
-
Jack, thanks for the tip. I checked my registry and found it already st to 1 — maybe XPAntiSpy set it for me?
It begs the question, though — with all these disk wiping programs around, where’s one which will make forensics on main memory impossible? Hmm?
-
JacK
Registered MemberHello,
No, it does not, maybe some tweak utility like TweakXP ?
It already exist : in French un marteau-pilon
Cheers,
JacK
-
Again a quote from the IEClean Helpfile:
[hr]
Windows uses a «swapfile» as «virtual memory» on your hard disk to swap out programs and data when memory gets a bit thin and you want to start up another program. Many programs use the swapfile as temporary storage for data while shuffling things around in memory. A tremendous amount of sensitive data ends up in the swapfile and Microsoft provides no means to eliminate this stray data when it is no longer needed and thus it can remain behind in the swapfile for a very long time. A primary method of compromising a system by crackers is to get ahold of the swap file and download it since it contains passwords and abundant amounts of very sensitive information within it.
On Windows95, 98 and ME the swapfile is called WIN386.SWP while on NT and Windows 2000 it is called PAGEFILE.SYS. Selecting this item causes IEClean to completely overwrite the swapfile and then zero out its contents. Since the file is completely inaccessible while Windows is running, it can only be cleaned and zeroed out while the system is being shut down in the case of Windows NT and Windows 2000 and at reboot on Win95 and Win98 machines.
IMPORTANT WARNING TO WINDOWS ME USERS: Because Windows ME does not support NT file modes and also does not contain DOS at bootup, it is IMPOSSIBLE to clean the swap file on Windows ME boxes. We strongly advise people to not install Windows ME and if they already have it to discard Windows ME and replace it with either Windows98 or Windows 2000 which will allow this to be done. The release of IEClean was delayed several weeks while we tried to find a solution for Windows ME. There isn’t any solution.
IEClean is Copyright 1996-2001 by Privacy Software Corporation
[hr]
www.nsclean.com -
spy1
Registered MemberThank you for that info, Jan!
Shall I throw myself off the building now or later?
(That really is bad news for all us WinME users! And, it was such a good OS! ). Pete
-
I don’t understand «doesn’t contain DOS at boot»
Is there a reason a floopy can’t be used to boot to DOS?
There used to be some DOS based Swap file cleaners
Scorch was one I think.
These conversations always bring me back to REFORMAT LOL -
http://home.att.net/~craigchr/mutilate.html
Mutliate Sawp file wiper DOS 95/98
WIn ME
2 ways:
1. Use a Win98 boot disk [www.bootdisk.com] boot to real dos
enter del c:\windows\win386.swp reboot.2. in c:\windows\system.ini under section heading [386Enh] change the location of the swap file. Delete the old swap file. Afterward change it to the old location.
Example:
system.ini
[386Enh]
PagingFile=C:\WINDOWS\SWAPFILE\WIN386.SWP!backup
copy c:\windows\system.ini c:\windows\system.in0
attrib +r c:\windows\system.in0
!create folder
md c:\windows\swapfile!edit
edit c:\windows\system.ini!reboot
del c:\windows\win386.swp!revert to the old location
del c:\windows\system.ini
copy c:\windows\system.in0 c:\windows\system.ini!reboot
-
For WinME:
You can also install 512mb RAM and not use a swap file. The difference between the «Conservative» setting and none at all is interesting. With it OFF, at 512mb, it speeds your system up. Unless you’re doing high end graphics work, it works just fine.
I know there are those who say not to disable the swap file. The plain truth is, it is simply not needed with 512mb RAM and basic run of the mill computing.
-
spy1
Registered Membercontroler and helpin — Thanks! Pete
-
You can delete your swapfile on 98 / ME. Rightclick my computer > properties > (I forget the rest LOL ) and disable virtual memory. MAKE SURE YOU HAVE 128MB OR MORE OF RAM OR DON’T DO THIS. Reboot, then delete c:\win386.swp. I used to do this before defragging (just dumped ME for XP).
Redo your settings and boot again. Or you can boot to a floppy, delete it from dos, then reboot. That would probably be quicker.XPAntispy lets you clear pagefile on exit.
-
spy1
Registered MemberThanks, Mike!
Kinda casts doubts on the flat statement made by IEClean, doesn’t it? Pete
- Thread Status:
-
Not open for further replies.
