Hi Neil, Your'e right of course.=20 I've come across a few sites where some of the ullname fields weren't populated. Using @userid as a fallback isn't too bad ;-) Regards, Rick Ulrich Mack Volante Systems 18 Heussler Terrace, Milton 4064=20 Queensland, Australia tel +61 7 32467704 rmack@xxxxxxxxxxxxxx -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Braebaum, Neil Sent: Friday, 23 April 2004 8:26 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Where are the Office User information kept ? Not particularly in reply to your message, Rick, just that it's the latest in the thread that I've seen... When I wrote my initial script, I tended to use the @FULLNAME Kix macro, and fallback to the @USERID macro, if @FULLNAME didn't produce anything (it's not mandatory for those fields, for a user account). So if possible I wrote the full name of the user to the Office user details, or if not easily available, used the user account. Just a thought, if the OP is writing his own script. Neil > -----Original Message----- > From: thin-bounce@xxxxxxxxxxxxx > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Mack, Rick > Sent: 23 April 2004 11:12 > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: Where are the Office User information kept ? >=20 > Hi Daniel, >=20 > I've got one that does the initials as well (somewhere) but > this should =3D get you started. >=20 > ----- > ; Office2k.kix - patch office default path locations=3D20 > ; and some other office application settings >=20 >=20 > $regloc=3D3D"HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\" > $regloc1=3D3D"HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Co > mmon\UserIn=3D > fo" > $Version=3D3D"1" >=20 > ; check to see if we've run already, increase version to > change if readvalue($regloc+"Common","Version")=3D3D$Version=3D20 > goto end > endif >=20 > ; add user info fields for office XP > ; first determine length of string >=20 > $lenstr=3D3Dlen(@FULLNAME) > $unistring=3D3D"" > ;? "@FULLNAME, $lenstr" >=20 > ; now convert the characters to unicode >=20 > while $offset<>$lenstr=3D20 > $Offset=3D3D$offset+1 > $chr=3D3Ddectohex(asc(substr(@fullname,$offset,1))) > $unistring=3D3D$unistring +$chr+"00" > loop >=20 > $unistring=3D3D$unistring +"0000" >=20 > $result=3D3Dwritevalue($regloc1,"UserName",$unistring,"REG_BINARY") > $result=3D3Dwritevalue($regloc+"Common","Version","$Version","RE > G_DWORD") >=20 > :end > --- *********************************************** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error, please=20 notify the sender immediately and delete this=20 e-mail from your system. You must take no action based on this, nor must=20 you copy or disclose it or any part of its contents=20 to any person or organisation. Statements and opinions contained in this email may=20 not necessarily represent those of Littlewoods. Please note that e-mail communications may be monitored. The registered office of Littlewoods Limited and its subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. ************************************************ ******************************************************** This week's sponsor - Neoware Thin Clients Neoware makes computing open, secure, reliable,=20 affordable, manageable and obsolete-free.=20 Starting at $199!=20 http://www.neoware.com=20 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or=20 set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ******************************************************** This week's sponsor - Neoware Thin Clients Neoware makes computing open, secure, reliable, affordable, manageable and obsolete-free. Starting at $199! http://www.neoware.com ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm