Checkout Microsoft's Tweakomatic. It will help you generate vbScripts to customise the OS. Scriptomatic is also very useful for accessing WMI via VBScript.

www.microsoft.com/technet/treeview?url="">


> ATTACHMENT part 3.6 message/rfc822
To: "Layne, Courtney" <[EMAIL PROTECTED]>
CC: "Unattended Info \([EMAIL PROTECTED])" <[EMAIL PROTECTED]>
Subject: Re: [Unattended] Configure OS Questions
From: "Patrick J. LoPresti" <[EMAIL PROTECTED]>
Date: 24 Mar 2004 19:59:55 -0500

"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



> ATTACHMENT part 3.7 message/rfc822
From: "Jeff Black" <[EMAIL PROTECTED]>
To: "'Patrick J. LoPresti'" <[EMAIL PROTECTED]>
CC: "'Unattended Info'" <[EMAIL PROTECTED]>
Subject: RE: [Unattended] Re: unattended-info digest, Vol 1 #338 - 5 msgs
Date: Wed, 24 Mar 2004 20:21:23 -0600


>Could someone upload a WinImage-created .imz file somewhere and send
> me a pointer? I would like to take a look at it...
>
> If I cannot figure out how to generate WinImage-compatible .imz files,
> I will change the extension in our next release. (I would just use
> .img.gz, but I recall that made ISOLINUX unhappy.)
>
> - Pat

Wget ftp://www.hansonsystems.com/cdboot.imz
Wget ftp://www.hansonsystems.com/cdboot.img

2 images, compressed and uncompressed both open fine in winimage...

The 3rd (less intresting) image is ftp://www.hansonsystems.com/cdboot.gz
And is a gzip compressed version of cdboot.img

-Jeff





> ATTACHMENT part 3.8 message/rfc822
From: Brad Erdman <[EMAIL PROTECTED]>
To: "'Patrick J. LoPresti'" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: RE: [Unattended] Obtaining values from a spreadsheet
Date: Wed, 24 Mar 2004 21:08:19 -0500

Hi,

Just some ideas. I am not much of a coder so I can't really offer samples.

Everyone is going to want to do things differently. Would it be possible to
offer a variety of mechanism (spreadsheet(s), SQL, text file, etc.) to store
the relent information? A configuration file or config.pl could specify
what mechanism will be used for that particular site. Support for each
could be added incrementally.

I personally would like to store the information in AD (LDAP).


My 2 cents
Brad



> ATTACHMENT part 3.9 message/rfc822
From: "Jeff Black" <[EMAIL PROTECTED]>
To: "'Unattended Info'" <[EMAIL PROTECTED]>
Subject: RE: [Unattended] Re: unattended-info digest, Vol 1 #338 - 5 msgs
Date: Wed, 24 Mar 2004 20:10:15 -0600

> Could someone upload a WinImage-created .imz file somewhere and send
> me a pointer? I would like to take a look at it...
>
> If I cannot figure out how to generate WinImage-compatible .imz files,
> I will change the extension in our next release. (I would just use
> .img.gz, but I recall that made ISOLINUX unhappy.)
>
> - Pat

I sent a compressed and uncompressed floppy image to your personal email.

Hopefully 2 MB won't overload your inbox ;)

-Jeff





> ATTACHMENT part 3.10 message/rfc822
To: "Jeff Black" <[EMAIL PROTECTED]>
CC: "'Unattended Info'" <[EMAIL PROTECTED]>
Subject: Re: [Unattended] Re: unattended-info digest, Vol 1 #338 - 5 msgs
From: "Patrick J. LoPresti" <[EMAIL PROTECTED]>
Date: 24 Mar 2004 22:11:36 -0500

"Jeff Black" <[EMAIL PROTECTED]>writes:

> Wget ftp://www.hansonsystems.com/cdboot.imz
> Wget ftp://www.hansonsystems.com/cdboot.img
>
> 2 images, compressed and uncompressed both open fine in winimage...
>
> The 3rd (less intresting) image is ftp://www.hansonsystems.com/cdboot.gz
> And is a gzip compressed version of cdboot.img

Thank you.

It appears that a WinImage .imz file is not just a compressed .img
file; it is actually a ZIP archive containing the .img file. Except
the archive member is named .ima.

I have created a pair of test files and uploaded them to
, test1.imz and test2.imz.
One of them is a ZIP file containing a .img file; the other contains a
.ima file. Could you please see if WinZip can open either or both of
them directly?

If this works, tomorrow I will test whether PXELINUX/ISOLINUX can
handle them.

- Pat



_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Reply via email to