Thanks.

My next question. I want this to run when the user logs off. So I created a GPO and in the logoff script properties I specified the logoff.bat file, which will be located in:
\\domainname.com\SysVol\domainname.com\Policies\{AD4DEG97-AS8C-4470-B8C8-2E13B477245V}\User\Scripts\Logoff

I have the kix32.exe and my logoff.kix script (which we worked on above) in this directory too. The logoff.bat file reads:

kix32.exe logoff.kix

I receive this error when it's ran.
ERROR: failed to find/open script [logoff.kix]!