[THIN] Re: Office Username Dialog box
- From: "Michael Boggan" <mboggan@xxxxxxxxxxx>
- To: thin@xxxxxxxxxxxxx
- Date: Tue, 31 May 2005 15:51:58 -0500
I was actually able to do this by doing the following.
- loged in as administrator
- opened word and, in the tools - options - user information tab, removed
the username and initials that were there.
- then closed word
- change user /install
- opened word and put a single space in the username section.
- closed word
- change user /execute
So far this appears to have done it.
Michael Boggan
From: Greg Reese <gareese@xxxxxxxxx>
Reply-To: thin@xxxxxxxxxxxxx
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Office Username Dialog box
Date: Wed, 1 Jun 2005 08:11:03 +1200
Microsoft writes this to the registry in Hex whic makes it a bit of a
pain to manipulate. I have a Kix script that worked for me under
Office 2000 that will probably work for Office 2003 with a little
tweaking.
I got this from the Kix website a while back.
Greg
------------------------------------------------------------------------------------------------------------------------------
;Create basic office settings
;Registry locations
$ushelfolders='HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders'
$userwinkey='HKCU\Software\Microsoft\Windows'
$machinewinkey='HKLM\Software\Microsoft\Windows'
$mofckey='HKLM\Software\Microsoft\Office\11.0\'
$uofckey='HKCU\Software\Microsoft\Office\11.0\'
$company='Your Company Name Here'
MSUSERINFO
FUNCTION MSUSERINFO()
; Process Company Name
$x=1
$regexp=''
WHILE $x<(Len($company)+1)
$regexp=$regexp+DecToHex(Asc(SubStr($company,$x,1)))+'00'
$x=$x+1
LOOP
$regexp=$regexp+'0000'
$companybin=$regexp
; Process FullName
$x=1
$regexp=''
WHILE $x<(Len(@fullname)+1)
$regexp=$regexp+DecToHex(Asc(SubStr(@fullname,$x,1)))+'00'
$x=$x+1
LOOP
$regexp=$regexp+'0000'
$fullnamebin=$regexp
; Process UserID
$useridbin=SubStr(@wuserid,1,2)
$x=1
$regexp=''
WHILE $x<(Len($useridbin)+1)
$regexp=$regexp+DecToHex(Asc(SubStr($useridbin,$x,1)))+'00'
$x=$x+1
LOOP
$regexp=$regexp+'0000'
$initials=$regexp
$rc=AddKey($uofckey+$ver+'\Common\UserInfo')
$regkey=$uofckey+$ver+'\Common\UserInfo'
$rc=WriteValue($regkey,'Company',$companybin,'REG_BINARY')
$rc=WriteValue($regkey,'UserName',$fullnamebin,'REG_BINARY')
$rc=WriteValue($regkey,'UserInitials',$initials,'REG_BINARY')
ENDFUNCTION
----------------------------------------------------------------------------------------------------------------------------------
On 6/1/05, Michael Boggan <mboggan@xxxxxxxxxxx> wrote:
> We are setting up a published desktop and the users need there outlook
> setup. We don't use roaming profiles etc. They get a new profile
everytime
> they hit the box. Using the .prf file we create there email account
when
> they login but it still asks for there Username and Initials when they
run
> outlook. As you know, this would be fine if they kept there profile but
> since they don't, everytime they login and run Outlook, they get this.
Is
> there a way to turn it off or just have it except the default which is
there
> userid?
>
> Thanks,
>
>
> Michael Boggan
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's
FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> ********************************************************
> This Weeks Sponsor: ThinPrint GmbH
> Now available: The new version .print Engine 6.2 with SSL encryption
> and certificate management.
> http://www.thinprint.com
> **********************************************************
> Useful Thin Client Computing Links are available at:
> http://thin.net/links.cfm
> ThinWiki community - Excellent SBC Search Capabilities!
> http://www.thinwiki.com
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thin.net/citrixlist.cfm
>
********************************************************
This Weeks Sponsor: ThinPrint GmbH
Now available: The new version .print Engine 6.2 with SSL encryption
and certificate management.
http://www.thinprint.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm
_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
********************************************************
This Weeks Sponsor: ThinPrint GmbH
Now available: The new version .print Engine 6.2 with SSL encryption
and certificate management.
http://www.thinprint.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm
- Follow-Ups:
- [THIN] Re: Office Username Dialog box
- From: Jeremy Saunders
- [THIN] Re: Office Username Dialog box
- From: Jim Kenzig Kenzig.com
- References:
- [THIN] Re: Office Username Dialog box
- From: Greg Reese
Other related posts:
- » [THIN] Office Username Dialog box
- » [THIN] Re: Office Username Dialog box
- » [THIN] Re: Office Username Dialog box
- » [THIN] Re: Office Username Dialog box
- » [THIN] Re: Office Username Dialog box
From: Greg Reese <gareese@xxxxxxxxx> Reply-To: thin@xxxxxxxxxxxxx To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Office Username Dialog box Date: Wed, 1 Jun 2005 08:11:03 +1200
Microsoft writes this to the registry in Hex whic makes it a bit of a pain to manipulate. I have a Kix script that worked for me under Office 2000 that will probably work for Office 2003 with a little tweaking.
I got this from the Kix website a while back.
Greg ------------------------------------------------------------------------------------------------------------------------------
;Create basic office settings
;Registry locations
$ushelfolders='HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders'
$userwinkey='HKCU\Software\Microsoft\Windows'
$machinewinkey='HKLM\Software\Microsoft\Windows'
$mofckey='HKLM\Software\Microsoft\Office\11.0\'
$uofckey='HKCU\Software\Microsoft\Office\11.0\'
$company='Your Company Name Here'
MSUSERINFO
FUNCTION MSUSERINFO()
; Process Company Name
$x=1
$regexp=''
WHILE $x<(Len($company)+1)
$regexp=$regexp+DecToHex(Asc(SubStr($company,$x,1)))+'00'
$x=$x+1
LOOP
$regexp=$regexp+'0000'
$companybin=$regexp ; Process FullName
$x=1
$regexp=''
WHILE $x<(Len(@fullname)+1)
$regexp=$regexp+DecToHex(Asc(SubStr(@fullname,$x,1)))+'00'
$x=$x+1
LOOP
$regexp=$regexp+'0000'
$fullnamebin=$regexp
; Process UserID
$useridbin=SubStr(@wuserid,1,2)
$x=1
$regexp=''
WHILE $x<(Len($useridbin)+1)
$regexp=$regexp+DecToHex(Asc(SubStr($useridbin,$x,1)))+'00'
$x=$x+1
LOOP
$regexp=$regexp+'0000'
$initials=$regexp$rc=AddKey($uofckey+$ver+'\Common\UserInfo')
$regkey=$uofckey+$ver+'\Common\UserInfo'
$rc=WriteValue($regkey,'Company',$companybin,'REG_BINARY')
$rc=WriteValue($regkey,'UserName',$fullnamebin,'REG_BINARY')
$rc=WriteValue($regkey,'UserInitials',$initials,'REG_BINARY')ENDFUNCTION ----------------------------------------------------------------------------------------------------------------------------------
On 6/1/05, Michael Boggan <mboggan@xxxxxxxxxxx> wrote:
> We are setting up a published desktop and the users need there outlook
> setup. We don't use roaming profiles etc. They get a new profile everytime
> they hit the box. Using the .prf file we create there email account when
> they login but it still asks for there Username and Initials when they run
> outlook. As you know, this would be fine if they kept there profile but
> since they don't, everytime they login and run Outlook, they get this. Is
> there a way to turn it off or just have it except the default which is there
> userid?
>
> Thanks,
>
>
> Michael Boggan
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> ********************************************************
> This Weeks Sponsor: ThinPrint GmbH
> Now available: The new version .print Engine 6.2 with SSL encryption
> and certificate management.
> http://www.thinprint.com
> **********************************************************
> Useful Thin Client Computing Links are available at:
> http://thin.net/links.cfm
> ThinWiki community - Excellent SBC Search Capabilities!
> http://www.thinwiki.com
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thin.net/citrixlist.cfm
>
********************************************************
This Weeks Sponsor: ThinPrint GmbH
Now available: The new version .print Engine 6.2 with SSL encryption
and certificate management.
http://www.thinprint.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm
- [THIN] Re: Office Username Dialog box
- From: Jeremy Saunders
- [THIN] Re: Office Username Dialog box
- From: Jim Kenzig Kenzig.com
- [THIN] Re: Office Username Dialog box
- From: Greg Reese