I like this!! Set Screen Saver Timeout! [Smile]

You can set system parameters this way:

code:
$API = CreateObject("wshAPIToolKitObject.ucATO")
$ScreenSaverTimeout=300
$rc = $API.CALLAPI("user32.dll","SystemParametersInfoA",15,$screenSaverTimeout,NULL,&1)

The only trick to this is to know what the parameter 15 points to... in this case it sets the screen saver with "SPI_SETSCREENSAVETIMEOUT"

See reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/sysinfo_4p67.asp

I found the number(15) somewhere else... so I'm not sure where, but the integers identifying the system property get/set attribute should be available somewhere.

Brian