compstuff Posted January 5, 2009 Posted January 5, 2009 ArtBio thanks for the reply but I really don't think thats the problem since WMI is fully functional... here's some further info:I have been using Rogues script for numerous installs but now on a machine with 4Gig of Ram it too fails unless I change the "2" value to a max of 1.33If I change your "2" value to 1.2 the script runs and changes the pagefile size. Since I don't write VBS all my attempts to correct this have failed but I'm wondering if regonizing a max page file value of 4 gig would be the answer... buy I'm guessing
Trilox Posted January 29, 2010 Posted January 29, 2010 There is a limitation in VBS that does not allow setting a pagefile over the 4GB mark. I am not sure of the reasoning behind this, but you are right that detecting a value over to 4096 and reducing down is the answer. If you require a pagefile of bigger than 4gb then you'll most likely need to manually set the settings in windows.
cluberti Posted January 29, 2010 Posted January 29, 2010 I'm not sure there would ever be a need for a paging file that large, unless you have more than 4GB of RAM and are worried about having the paging file size available for crash dump recovery.
deathcon1 Posted December 30, 2010 Posted December 30, 2010 I'm getting error 800A0408 at script. How to fix it?
cluberti Posted December 31, 2010 Posted December 31, 2010 I wrote this awhile ago, and might work better depending on your needs.
belivakov Posted June 15, 2011 Posted June 15, 2011 wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=2048,MaximumSize=2048This can be run from command line (RunOnceEx).
XPerceniol Posted November 9, 2022 Posted November 9, 2022 On 11/22/2005 at 9:16 AM, Crash&Burn said: What I have stored in my registry at: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management Which is for D:\Pagefile.sys 1536 2048 So using this within a .cmd or such during unattended would preset the pagefile to where you want? Instead of having windows preselect the drive with the amount of space it believes it requires? My current settings. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "ClearPageFileAtShutdown"=dword:00000001 "PagingFiles"=hex(7):43,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,\ 00,65,00,2e,00,73,00,79,00,73,00,20,00,30,00,20,00,30,00,00,00,00,00 "PhysicalAddressExtension"=dword:00000001 "DisablePagingExecutive"=dword:00000001 "LargeSystemCache"=dword:00000000 "ExistingPageFiles"=hex(7):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,70,00,61,\ 00,67,00,65,00,66,00,69,00,6c,00,65,00,2e,00,73,00,79,00,73,00,00,00,00,00 "SessionPoolSize"=dword:00000000 "SessionViewSize"=dword:00000000 "PoolUsageMaximum"=dword:00000000 "SecondLevelDataCache"=dword:00000000 "NonPagedPoolQuota"=dword:00000000 "NonPagedPoolSize"=dword:00000000 "PagedPoolQuota"=dword:00000000 "PagedPoolSize"=dword:00000000 "WriteWatch"=dword:00000001 "SystemPages"=dword:00000000 "SessionImageSize"=dword:00000000 "IoPageLockLimit"=dword:08000000 I honestly don't' know what to do?
XPerceniol Posted November 9, 2022 Posted November 9, 2022 also curious about this. I've always had it this way, but I don't know if this is right.
jaclaz Posted November 10, 2022 Posted November 10, 2022 JFYI: https://msfn.org/board/topic/174002-windows-7-possible-advisable-to-disable-the-page-file/?do=findComment&comment=1101471 jaclaz 1
XPerceniol Posted November 10, 2022 Posted November 10, 2022 14 hours ago, jaclaz said: JFYI: https://msfn.org/board/topic/174002-windows-7-possible-advisable-to-disable-the-page-file/?do=findComment&comment=1101471 jaclaz On 6/22/2015 at 1:02 AM, jaclaz said: ...but it's not something that should be done at home... Thank you, jaclaz, I shall leave it be there with the kind of luck I've been having lately.
D.Draker Posted November 10, 2022 Posted November 10, 2022 3 hours ago, XPerceniol said: Thank you, jaclaz, I shall leave it be there with the kind of luck I've been having lately. I'd set as a fixed size, so it won't become fragmented, if you have 2Gb, leave at 4GB max. Minimum for you is 2048MB. Despite what some may say (no page file good/fast, etc), chrome likes pagefile. And yeah, I usually ride without it. But on my RAM sufficient machines. 1
XPerceniol Posted November 10, 2022 Posted November 10, 2022 17 hours ago, D.Draker said: I'd set as a fixed size, so it won't become fragmented, if you have 2Gb, leave at 4GB max. Minimum for you is 2048MB. Despite what some may say (no page file good/fast, etc), chrome likes pagefile. And yeah, I usually ride without it. But on my RAM sufficient machines. Thank you, you've always been kind and helpful to me. 1
UCyborg Posted November 10, 2022 Posted November 10, 2022 My recipe is taking a look at page file peek usage after having ran one or multiple programs that consume a lot of memory, just think about what your most memory intensive workload looks like, then taking that value and rounding it up to the next gigabyte or half-gigabyte to get the appropriate fixed size to set. Process Hacker may be used to read the value (Tools->Pagefiles). Also a method for those that like to have fun with PowerShell.
XPerceniol Posted November 11, 2022 Posted November 11, 2022 15 hours ago, UCyborg said: My recipe is taking a look at page file peek usage after having ran one or multiple programs that consume a lot of memory, just think about what your most memory intensive workload looks like, then taking that value and rounding it up to the next gigabyte or half-gigabyte to get the appropriate fixed size to set. Process Hacker may be used to read the value (Tools->Pagefiles). Also a method for those that like to have fun with PowerShell. Thank you
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now