Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Swapfile question

22 Jan 2009   #1
Beginning

Windows 7 Professional 64bit
 
 
Swapfile question

Ok.... I have XP Pro installed and to date I always use a small partition @ the start of my slave drive for a set pagefile. about 3.5 gigs. I wonder if I dual boot Windows 7 and XP will I be able to use the same pagefile for Windows 7? Seeing as both Windows 7 and XP uses a pagefile, but they aren't running @ the same time?


My System SpecsSystem Spec
.
22 Jan 2009   #2
johngalt

 

You might encounter problems as W7 has enhanced file and folder and drive security, and if you create a pagefile under one OS and try to access it from another the security parameters, permissions ,etc will be off.

However, You may *seem* to use the same one - as each OS that you boot into may over write the other one.

This is going to be tricky, to be sure....
My System SpecsSystem Spec
22 Jan 2009   #3
Beginning

Windows 7 Professional 64bit
 
 

Well I thought Windows created an up to date pagefile each time it started up? Which led to think maybe it could be used by any Windows OS. Hmmm... I wonder if I should attempt this path anyway..
My System SpecsSystem Spec
.

22 Jan 2009   #4
davehc
Microsoft MVP

Vista and now 7 in 32 and 64 bit.
 
 

Do you have any reason to keep the pagefile after use?
It can be yet another security leak, as it stores cookies etc as you work.
One way out of your dilemma, could be to clear the pagefile everytime you have finished. It adds a small amount to your switch off time, but nothing serious.
If that solution interests you, do this

Start Regedit. Navigate to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Select ClearPageFileAtShutdown from the list on the right.
Right on it and select Modify.
Change the value to 1 to enable.
Reboot your computer.
My System SpecsSystem Spec
22 Jan 2009   #5
smarteyeball

 
 

If it doesn't work well, then you'll know

Although it's probably not the best idea
My System SpecsSystem Spec
22 Jan 2009   #6
johngalt

 

If you use Dave's method to remove the pagefile then you're in effect making a new pagefile every time you boot - and thus removing it every time you shutdown / restart. This will have a bit of a performance impact, but the main thing is that you will still not be using the *same* pagefile.sys file.
My System SpecsSystem Spec
22 Jan 2009   #7
Romulinx2

Win7 Ultimate x64 on Desktop / Win7 Ultimate x86 on laptop / Win7 x86 Starter on Netbook
 
 

Quote   Quote: Originally Posted by Beginning View Post
Ok.... I have XP Pro installed and to date I always use a small partition @ the start of my slave drive for a set pagefile. about 3.5 gigs. I wonder if I dual boot Windows 7 and XP will I be able to use the same pagefile for Windows 7? Seeing as both Windows 7 and XP uses a pagefile, but they aren't running @ the same time?
You can have your page/swap file on another drive/partition without problems.
My System SpecsSystem Spec
22 Jan 2009   #8
Beginning

Windows 7 Professional 64bit
 
 

@davehc - No I don't do anything with it, I'm also a linux fan and almost every linux version out there uses a seperate small partition for the swapfile. I'm quite positive thats why most linux distro's are so quick. I'd like to give Windows 7 a partition for the swapfile also.. I just thought it may be able to use the same one.

@
smarteyeball - Hehehe... although it's not rocket science to reinstall everything now is it? It's just time consuming...
My System SpecsSystem Spec
22 Jan 2009   #9
Beginning

Windows 7 Professional 64bit
 
 

@ RomulinX2 - I've been doing it for years.... But now it sounds like davehc is saying it's a security risk? No don't tell me this now......
My System SpecsSystem Spec
22 Jan 2009   #10
johngalt

 

Not removing the swap file on your system *can* be a security risk.

It is not *definitely* a security risk, it is also dependent upon a variety of factors, including but not limited to:

what sort of info you actually store on your machine (usernames and PWs for sites, banking info, etc) as well as browser cache settings, etc.

In addition, it is a risk only if someone gets a hold of the file / drive and is able to extract data from it.

Then again it is only a risk if they can actually make out the data that is extracted.

A variety of factors. The bottom line, though, is that *sharing* swap *files* is not a good idea.

Sharing the space is fine - but the files themselves? Bad bad idea.

Also, *nix is not faster only* because of the small swap file at the beginning of the system, although this helps a bit. Other factors that help out in the speed factor are *much much smaller kernel code (on a P4 I was compiling kernel code in less than 45 minutes - I am pretty *positive* that compiling XP's kernel alone back then would have taken much much longer) and thus smaller apps as well - even a full blown GUI is not nearly as large as the Windows system -0 last I checked The latest KDE can be obtained on *CD ROM - but both W7 *and* Vista came on DVDs. Now, I know you'll say that those are OSs and that there are plenty of *nix distributions on DVD - and I'll turn right back around and say that those DVDs have a *lot* more installed with them than an OOB Windows install has with it.

If your system OSs are not all that mission critically important, have a go at it and see what happens - at worst you'll need to reinstall again, at best it *might* actually work simply because this is a Beta and W7 is going to be looking for multi-boot situations to deal with.
My System SpecsSystem Spec
Reply

 Swapfile question




Thread Tools





Similar help and support threads
Thread Forum
GPU question
I have a 8400gs 256mb but on dxdiag it shows 1011MB and on programs like gpu z it shows 256mb i usually play games that needs 256mb (minimum requirements) but my younger brother just bought Batman Arkham City, and the minimum requirements is 512MB gpu but i am playing very nice on low settings and...
Graphic Cards
Thermal Paste Question..(Noobish Question)
Hey guys, I recently purchased Corsair H40 that came with pre applied thermal paste. Before I placed the H40 sink on my processor, I applied a thin layer on the on the processor with Cooler Master thermal paste. So essentially I mixed the H40 pre applied thermal paste with the Cooler Master thermal...
PC Custom Builds and Overclocking
Answer Question, Ask Question.
First (hope you get the reference): In a world where a piano is a weapon, not a musical instrument, on what does Scott Joplin play "The Maple Leaf Rag"?
Chillout Room
Logitech 5.1 surround question and soundcard question IDT and Realtek
So my situation is unique lol i have a Dell inspiron n5010 laptop running Windows 7 ultimate 64 bit the soundcard for this is either IDT 92HD79B1, v.6.10.0.6267, A01 or A03 i dont know what the default one mine came with is. Documentation i hope that helps ^ and the attatchment i...
Sound & Audio
two question if i may!
1. Why do some programs only opens when i use "run as admin..."???? 2. if i have a program opened ( video player, adobe reader ) i can't open another one unless i closed the first?
General Discussion
optimizing Windows7 swapfile..??
OK, here's the scenario.. I'm currently running the 64-bit RC(7100) via an i965 Extreme CPU 6Gig RAM - Single 1 terabyte drive with 2 partitions (- my SSD's are temporarily un-installed..) - is it worth moving the Windows7 swapfile page away from the OS's partition..?? - is there an...
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:53.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App