?
Solved

Auto configure Virtual Memory

Posted on 2006-11-08
2
Medium Priority
?
487 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
[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 Comments
 
LVL 9

Accepted Solution

by:
DjDezmond earned 1000 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

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

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

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses

752 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