This is for XenDesktop. By default, it does not set ClientName.. you have to use the SessionStateMonitor for that, and I need that information *before* SSM runs.

I *know* the key/value contains data - I have triple checked it with regedt32.exe. I'm not really sure how to display it to the screen.. I have tried calling it directly, using MessageBox (the box comes up with my text, but not the variable information for $CLIENTNAME). I've tried using the debug mode..

I'm hoping that setm will work as I hope.. but until I get some good data to put into it I can't be sure that I'm doing any of this correctly.

(again, thanks for the help.. :-)