richeyd
asked on
Page File Issue
I have a win 7 enterprise computer. When I login I recieve a pop up - see attachment screenshot. When I click the change button on the performance options tab, I notice that my page file is set to zero. I have tried setting the page file to "auto manage" or custom size. However the changes don't stick. As soon as I reboot and login I recieve the same pop up window and the page file is always reset to zero.
Not sure what else to do. My only thought is perhaps to repair windows with the install cd.
Any thoughts or suggestions?
Thanks
win-7-page-file-error---Copy.docx
Not sure what else to do. My only thought is perhaps to repair windows with the install cd.
Any thoughts or suggestions?
Thanks
win-7-page-file-error---Copy.docx
When you change to system memory do you get the tick box for automatically manage page file for all drives?
ASKER
I don't think your read my description. I changed to auto manage. That does not stick.
Not sure why its got to zero in the first place, but try a defrag and then change it in safe mode?
ASKER
no, it's an ssd drive and don't see how that is relevant anyway. doubt making the change in safe mode will make a difference but i guess it's worth a try.
Hi Richeyd,
Try setting the pageing file to zero and then reboot. If it still doesn't stay checked, boot up from recovery partition or DVD and delete c:\pagefile.sys. Then reboot and try and set it.
I prefer to set my pagefile manually and have the Initial size and Maximum size both set to 1 and a half times the amount of memory installed in the computer. This allows for potential dumps and saves using resources to constantly change file size.
eg:- for 1Gb - Set to 1536Mb in both boxes.
Hope that helps
Mark
Try setting the pageing file to zero and then reboot. If it still doesn't stay checked, boot up from recovery partition or DVD and delete c:\pagefile.sys. Then reboot and try and set it.
I prefer to set my pagefile manually and have the Initial size and Maximum size both set to 1 and a half times the amount of memory installed in the computer. This allows for potential dumps and saves using resources to constantly change file size.
eg:- for 1Gb - Set to 1536Mb in both boxes.
Hope that helps
Mark
Hi -
Delete and reallocate the page file and set it to system managed -
1. Boot into safemode and delete the page file =
START | type cmd.exe | RIGHT-click on cmd.exe | Select "Run as Administrator" - then paste each line 1 at a time -
cd\
attrib -s -h pagefile.sys
del pagefile.sys
2. Turn pagefile back on - system managed settings
3. Re-boot into normal Windows
Delete and reallocate the page file and set it to system managed -
1. Boot into safemode and delete the page file =
START | type cmd.exe | RIGHT-click on cmd.exe | Select "Run as Administrator" - then paste each line 1 at a time -
cd\
attrib -s -h pagefile.sys
del pagefile.sys
2. Turn pagefile back on - system managed settings
3. Re-boot into normal Windows
cd\
attrib -s -h pagefile.sys
del pagefile.sys
ASKER
Interesting. So step one has me deleting the file. Your second step tells me to "turn pagefile back on" I'm assuming that the steps for doing that is as follows on a Win7 computer:
1. In the "system properties" menu click on the Advanced tab
2. Click the "performance>settings button
3. Advanced tab>change button
4. select the "automatically manage paging file size for all drives" option
5. click ok and reboot?
Please confirm.
Thank you!
1. In the "system properties" menu click on the Advanced tab
2. Click the "performance>settings button
3. Advanced tab>change button
4. select the "automatically manage paging file size for all drives" option
5. click ok and reboot?
Please confirm.
Thank you!
Yes for whichever solution.
Mark
Mark
ASKER
Not sure I understand. What exactly are you referring to when you say "for whichever solution"? Which solutions are you referring to? Thanks
Hi Rich,
Yes either solution mean that everyone agrees that you should delete the pagefile.sys and recreate it. Both solutinos after my suggestion, show details on how to do this.
But I would still set it to manual rather than system managed.
Let me know if you want me to describe in detail how to do it.
Thanks
Mark
Yes either solution mean that everyone agrees that you should delete the pagefile.sys and recreate it. Both solutinos after my suggestion, show details on how to do this.
But I would still set it to manual rather than system managed.
Let me know if you want me to describe in detail how to do it.
Thanks
Mark
Just for giggles, another method to do it......
start>run>cmd
reg add "hklm\SYSTEM\CurrentContro lSet\Contr ol\Session Manager\Memory Management" /v pagingfiles /t reg_multi_sz /d "C:\pagefile.sys 0 0" /f
Then reboot, and rerun the query.....
Might need to regrant yourself permissions to the fllowing regkey....
"hklm\SYSTEM\CurrentContro lSet\Contr ol\Session Manager\Memory Management"
start>run>cmd
reg add "hklm\SYSTEM\CurrentContro
Then reboot, and rerun the query.....
Might need to regrant yourself permissions to the fllowing regkey....
"hklm\SYSTEM\CurrentContro
ASKER
There is no pagefile so there is no option to delete the page file. Seems like it's not being created? Any further suggestion?
Johnb6767,
Concerned about your registry addition regarding permissions issues.
Johnb6767,
Concerned about your registry addition regarding permissions issues.
Please run this WMI-related app. A text file will open with results re: page file. Paste results into post.
http://jcgriff2.com/0x2/WM I_recovero s_pagefile _jcgriff2_ com_.exe
Regards. . .
jcgriff2
http://jcgriff2.com/0x2/WM
Regards. . .
jcgriff2
ASKER
okay, need to find a good time to gain access to the problem comptuer. I should be able to send you the results later today or tomorrow.
Some of the issues that I'm noticing is that coming out of standby results in the computer freezing and many errors. I need to hard shut down as a result. Does that sound like a related symptom to you?
Thanks
Some of the issues that I'm noticing is that coming out of standby results in the computer freezing and many errors. I need to hard shut down as a result. Does that sound like a related symptom to you?
Thanks
ASKER
Here are the results:
AutoReboot=TRUE
Caption=
DebugFilePath=%SystemRoot% \MEMORY.DM P
DebugInfoType=2
Description=
ExpandedDebugFilePath=C:\W indows\MEM ORY.DMP
ExpandedMiniDumpDirectory= C:\Windows \Minidump
KernelDumpOnly=FALSE
MiniDumpDirectory=%SystemR oot%\Minid ump
Name=Microsoft Windows 7 Enterprise |C:\Windows|\Device\Harddi sk0\Partit ion2
OverwriteExistingDebugFile =TRUE
SendAdminAlert=FALSE
SettingID=
WriteDebugInfo=TRUE
WriteToSystemLog=TRUE
AutoReboot=TRUE
Caption=
DebugFilePath=%SystemRoot%
DebugInfoType=2
Description=
ExpandedDebugFilePath=C:\W
ExpandedMiniDumpDirectory=
KernelDumpOnly=FALSE
MiniDumpDirectory=%SystemR
Name=Microsoft Windows 7 Enterprise |C:\Windows|\Device\Harddi
OverwriteExistingDebugFile
SendAdminAlert=FALSE
SettingID=
WriteDebugInfo=TRUE
WriteToSystemLog=TRUE
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Johnb6767,
If I run that command:
reg add "hklm\SYSTEM\CurrentContro lSet\Contr ol\Session Manager\Memory Management" /v pagingfiles /t reg_multi_sz /d "C:\pagefile.sys 0 0" /f
What is the worse thing that can happen? I need this guy with the problem computer to continue to work until I can reinstall it if all else fails.
Also, what do you mean when you say "Then reboot, and rerun the query....."
What query? Try to add the page file again?
It looks like I can't even create the page file. It does not exist and I can't get Win7 to create it.
What will happen if I don't have permission to the permissions to the fllowing regkey?
"hklm\SYSTEM\CurrentContro lSet\Contr ol\Session Manager\Memory Management"
Thanks
If I run that command:
reg add "hklm\SYSTEM\CurrentContro
What is the worse thing that can happen? I need this guy with the problem computer to continue to work until I can reinstall it if all else fails.
Also, what do you mean when you say "Then reboot, and rerun the query....."
What query? Try to add the page file again?
It looks like I can't even create the page file. It does not exist and I can't get Win7 to create it.
What will happen if I don't have permission to the permissions to the fllowing regkey?
"hklm\SYSTEM\CurrentContro
Thanks
Why are youy doing like this anyway?
Just Right Click Computer and choose properties
Choose Advance System Settings from the left menu
Choose Advance Tab
Click on Settings next to "Performance"
Then choose advance tab
Then under Virtual Memory choose "CHange"
For each drive listed, choose No Paging File.
Keep clicking OK until you have closed all the boxes.
Reboot
Then repeat the above process except choose 1 drive to set as "Custom Size" and make the custom size in both initial and Maximum = to 1.5 times total memory installed. eg:- if your system has 2Gb RAM, make the settings in both boxes 3Gb which in Mbytes, is 3072 Mb.
Click OK and reboot if asked too.
If this doesn't solve your problem, run a chkdsk on the drive. (Come back to me if you need instructions on how to do this.)
Mark
Just Right Click Computer and choose properties
Choose Advance System Settings from the left menu
Choose Advance Tab
Click on Settings next to "Performance"
Then choose advance tab
Then under Virtual Memory choose "CHange"
For each drive listed, choose No Paging File.
Keep clicking OK until you have closed all the boxes.
Reboot
Then repeat the above process except choose 1 drive to set as "Custom Size" and make the custom size in both initial and Maximum = to 1.5 times total memory installed. eg:- if your system has 2Gb RAM, make the settings in both boxes 3Gb which in Mbytes, is 3072 Mb.
Click OK and reboot if asked too.
If this doesn't solve your problem, run a chkdsk on the drive. (Come back to me if you need instructions on how to do this.)
Mark
ASKER
Mark,
The issue is that the page file does not exist and is not being created. It is already set to "no paging file"
What I'm trying to do is get win7 to create one. I can set the paging file but it won't stick after a reboot.
This is getting frustrating. I don't know how I can explain this anybetter. I guess my only hope is to reinstall.
John6767 any updates to my previous post?
The issue is that the page file does not exist and is not being created. It is already set to "no paging file"
What I'm trying to do is get win7 to create one. I can set the paging file but it won't stick after a reboot.
This is getting frustrating. I don't know how I can explain this anybetter. I guess my only hope is to reinstall.
John6767 any updates to my previous post?
"What is the worse thing that can happen?"
Worst thing to happen is nothing happens. If your permissions are shot to that key, which is why I am suggesting to set it that way in the registry....
Worst thing to happen is nothing happens. If your permissions are shot to that key, which is why I am suggesting to set it that way in the registry....
Might even try a newly created admin account.....
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I needed to reinstall the problem computer because of time constraints. Thanks for the suggestions.
My answer was correct. It was just a different way to do it.
Mark
Mark