Solved

Virtual Memory Scripting

Posted on 2008-10-22
3
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 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