OK - try this:

; clear the array
ReDim $SvcInfo[9]

; Set the user ID and Password
$SvcInfo[8] = 'userid'
$SvcInfo[9] = 'passwd'

This way, only those two parameters are updated.

The WMI_Service function is very picky about variable types, and "empty" values. I'm adding some significant data validation code to the Modify process. I'll have an updated UDF and some test code posted later today..

Glenn
_________________________
Actually I am a Rocket Scientist! \:D