[THIN] Re: Office Username Dialog box
- From: "Jim Kenzig Kenzig.com" <jkenzig@xxxxxxxxx>
- To: thin@xxxxxxxxxxxxx
- Date: Tue, 31 May 2005 15:41:27 -0700 (PDT)
There is even a more simpler way to combat this...by default Outlook 2003 uses
WORD as the default editor. The first time word runs it needs those initials.
Use the group policy object to make Outlook the default editor and not Word and
you wont get that prompt...of course you will the first time you run word.
JK
Michael Boggan <mboggan@xxxxxxxxxxx> wrote:
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
>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 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
> >
- References:
- [THIN] Re: Office Username Dialog box
- From: Michael Boggan
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
- [THIN] Re: Office Username Dialog box
- From: Michael Boggan