Solved

Virtual Memory Scripting

Posted on 2008-10-22
3
276 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 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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…

778 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