well, does the program produce the box or kixtart? wkix32.exe should not itself produce a window if you don't make it to (in that case -i needed)
your simple script just needs to silence the outcome. so, instead of: WRITEPROFILESTRING ("C:\windows\GSS.INI" ,"LAN" , "User ID" , @USERID) just use: $returncode=WRITEPROFILESTRING ("C:\windows\GSS.INI" ,"LAN" , "User ID" , @USERID)
that is explained in faq. think it was "console displays 0's and 1's or similar, check that out. and then, once this correction is done, just fire the proggy up with run. this way, the script will exit. if you fire it with shell, your script will stay there and reserve some 2-6 megabytes of ram.