Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5936
  • Last Modified:

Configuring Virtual Memory Settings via GPO

Hi,

Is it possible to configure Windows XP virtual memory settings to 'system managed' page file size using Group Policy?

Thanks,

Mike
0
Barnardos_2LS
Asked:
Barnardos_2LS
  • 5
  • 3
1 Solution
 
johnb6767Commented:
I dont think there is a GPO for it, but here is  areg command that will do it. Can easily deploy it in a login script, or PSEXEC?
0
 
johnb6767Commented:
Guess the reg command might be helpful....

reg add "hklm\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v pagingfiles /t reg_multi_sz /d "C:\pagefile.sys 0 0" /f
0
 
Barnardos_2LSAuthor Commented:
I wanted to avoid using login scripts if possible...
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Barnardos_2LSAuthor Commented:
How does the reg command work?
0
 
johnb6767Commented:
From a command prompt.....if you have a listing of PCNames, you could use PSEXEC as well...

Are you famiiliar with that?
0
 
johnb6767Commented:
Or take a shot at creating a custom ADM file....

Using Administrative Template Files with Registry-Based Group Policy
https://www.microsoft.com/downloads/details.aspx?FamilyId=E7D72FA1-62FE-4358-8360-8774EA8DB847&displaylang=en
0
 
Barnardos_2LSAuthor Commented:
I'll take a shot at creating the ADM...
0
 
johnb6767Commented:
This is a great reference, probably a little overkill for you now though.....

Windows System Policy Editor
http://www.oreilly.de/catalog/winsyspe/chapter/ch08.html
0
 
JohnWolskiCommented:
Just a note to anyone who views this: According to the document http://www.frickelsoft.net/blog/downloads/howto_admTemplates.pdf creating a custom ADM file won't work in this case as the registry key containing the Paging File settings is a REG_MULTI_SZ which (along with REG_BINARY) can't actually be modfied by group policy. (I just tried) For any registry key which is not one of these two types creating a custom ADM should work fine however.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now