Solved

Windows 2008 R2 Moving Virtual memory

Posted on 2012-03-21
6
1,326 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
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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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 article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

792 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