Solved

Windows 2008 R2 Moving Virtual memory

Posted on 2012-03-21
6
1,338 Views
Last Modified: 2012-03-23
Hi,

I have tried to move pagefile.sys from C to D but for some reason it just stays in C...

In Virtual Memory settings, I performed the following steps:

- unchecked "Automatically manage paging file..."
- selected C then "No paging file"
- clicked on SET

- then selected D
- selected "System Managed Size"
- Click on SET.

I was prompted to reboot the server, server rebooted. I now see two paging files, one is C for 34 gig and one in D.

Why the paging file is not removed from C and how can I remove it from C? or is there a way to reduce the size to its original size.

The paging file just increased to 34 gig when I initially had an issue with a software that was causing memory leak. So since the software was using all the memory, windows increased the size of pagefile.sys, the software was fixed so I got lots of RAM available now. Shouldn't windows now reduce the size?

Thanks
0
Comment
Question by:ezzadin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 37750871
Go to the Virtual Memory configuration screen and select C: so that it's highlighted.  Click on the radio button for "No paging file" and click the set button.  If you don't see this, please post a screen shot using the attach file feature here.
0
 

Author Comment

by:ezzadin
ID: 37750899
Hi,

Thanks, but as you can see I already mention that in my post. I have done that but the paging file is still in C.
0
 
LVL 7

Accepted Solution

by:
PaulNSW earned 350 total points
ID: 37751625
if it still says that C has no paging file, try deleting it manually

If it's really not in use, you will be able to delete it
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:ezzadin
ID: 37752623
Hi Paul,

I never tried to deleted it since there is a little lock on the file. So I'm assuming it is locked and Windows won't allow me to delete it.

I will give that a try.

Thanks.
0
 
LVL 5

Assisted Solution

by:CarlosDominguez
CarlosDominguez earned 150 total points
ID: 37752948
- uncheck "Automatically manage paging file..."

- first select D
- select "Custom size"
- specify size of pagefile based on the amount of physical memory (x2 is a good rule).
- Click on SET.

- select C
- select "No paging file"
- click on SET.

Restart.
If you see the pagefile.sys file in C: and you also see the pagefile.sys file in D: with the size specified, and you see these options set in the virtual memory configuration, then it seems like you can try to manually delete the C:\pagefile.sys
0
 

Author Closing Comment

by:ezzadin
ID: 37758005
It deleted the file manually and that worked.

Thanks for your help.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

749 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