Solved

Auto configure Virtual Memory

Posted on 2006-11-08
2
475 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
ID: 17905009
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Server Backup Destination Size Limitation 8 90
SBS Disaster recovery 6 65
changing harddisk on computer in corporate 10 45
WD MybookLive Data disappear 6 37
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
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 install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

777 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