That's what my UDF is doing, actually. The arguments for the userID/password were working fine. The problem was if you load an array by reading the service info via WMI, it returns STRINGS for some data. If you use the same array to perform the write, it failed because the values that WMI wants on write are numeric, not strings. Doh! That's why I added the validation code - if you specify the numeric vals, it works, but if you specify the strings as they were returned from the Query, it converts them to appropriate numeric values. This is contrary to some of the documentation on MSDN.

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