the script that i showed was written for a Citrix environment but if you were running the logon script on PCs then yes you would need to register the dll on any box that ran the script.

as far as examples, that is why this board is here, all you need to do is ask. in addition here is a Link that will give you info on each command.
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)