Solved

Auto configure Virtual Memory

Posted on 2006-11-08
2
472 Views
Last Modified: 2013-11-15
I want to make sure all the laptops on my network (600) have Virtual Memory set to "System Managed". Is there a way I can do this through Group Policies or a script?
0
Comment
Question by:noodleNT
2 Comments
 
LVL 9

Accepted Solution

by:
DjDezmond earned 250 total points
Comment Utility
I took this script from http://redmondmag.com/forums/forum_posts.asp?tid=3039&pn=1.

I have one that does a similar job, but this one is tidier in my opinion:

------------------------------------------------------------------------------------------------------------
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colPageFiles = objWMIService.ExecQuery ("Select * from Win32_PageFileSetting")

For Each objPageFile in colPageFiles
    objPageFile.InitialSize = 0
    objPageFile.MaximumSize = 0
    objPageFile.Put_
Next
------------------------------------------------------------------------------------------------------------
Setting the Inital and Maximum size to 0 will set it to system managed.

I havn't tested this, so let me know how you get on.

Dez
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now