Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Virtual Memory Scripting

Posted on 2008-10-22
3
Medium Priority
?
282 Views
Last Modified: 2010-04-24
Is there a way that I can create a script or push a registry change to allow all my workstations accross the domain to use the setting "system managed" for their virtual memory settings?

I could do it manually but If possible I would like to script it because editing the settings manually on 100+ computers could be a bit time consuming.

0
Comment
Question by:itvizion
  • 2
3 Comments
 
LVL 23

Expert Comment

by:debuggerau
ID: 22781902
I don't know offhand, but I'd use regmon to get the registry settings when making a change to it locally, then find the particular key that way..
0
 
LVL 21

Accepted Solution

by:
AmazingTech earned 2000 total points
ID: 22783539
Change computername to the one you want to modify. A reboot is necessary for the setting to take effect.

This is DOS but you could modify it and put it into VBS.

reg add "\\Computername\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v "PagingFiles" /t REG_MULTI_SZ /f /d "C:\pagefile.sys 0 0"

Open in new window

0
 
LVL 23

Expert Comment

by:debuggerau
ID: 22818828
My preference is to have a fixed size pagefile that is 1.5 times the memory.
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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

972 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