"Layne, Courtney" <[EMAIL PROTECTED]> writes: > How can I perform activities like adjusting performance options or > setting page size? Anyone have any advice for these configuration > activities? Thanks.
You write scripts. I try to use WMI interfaces whenever possible, since they are usually clean, well-documented, and most likely to be supported in future versions of Windows. And I can manipulate them using Perl. Which performance options do you want to adjust, specifically? The "Visual Effects Setting" does not appear to have a scriptable interface. You can use a registry tweak for the top-level control: http://www.winnetmag.com/Article/ArticleID/41554/ I did not see how to adjust the individual checkboxes, but they probably have registry hacks, too. Although registry hacks are evil. The "Processor Scheduling" setting (Programs vs. Background Services) can be changed using the Win32_OperatingSystem WMI class: http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_operatingsystem.asp I just tried changing it on a Win2k system. Changing the toggle from "Programs" to "Background Services" modified three settings: ForegroundApplicationBoost 2 -> 0 QuantumLength 2 -> 1 QuantumType 1 -> 2 I suspect the first one is the most important. The "Memory Usage" setting (Programs vs. System Cache) is equivalent to the LargeSystemCache property in the Win32_OperatingSystem class. The docs say it is read-only, but the docs are wrong. See: http://groups.google.com/groups?threadm=ORe92jRsDHA.1876%40TK2MSFTNGP09.phx.gbl (You know, I had completely forgotten about that thread. Amazing what you stumble across sometimes when searching Google.) Finally, if by "page size" you mean "page file size", you can adjust it using the Win32_PageFileSetting WMI class: http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_pagefilesetting.asp If you can be more specific about what you are trying to do, I can whip up some sample scripts. - Pat ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info
