A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Office » Setup, Installing & Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Changing the Username



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2005, 04:52 PM
อะไรก็ตาม
external usenet poster
 
Posts: n/a
Default Changing the Username

All. Please accept my apologies for the lenght of this post.

A couple of years ago at work we created desktop images which had Office
XP on them. The problem with it is that the username being used is
incorrect for the logged-on user. It comes up as the username of the
person who created the Office install. When someone logs on for the
first time and runs Office each application is configured by Windows
Installer but the username on the Splash screen and Help/About isn't
changed to their username. This means that each document created in Word
for example, has the wrong username and using Review shows the wrong name.

In an attempt to resolve this issue I reimaged a machine today and
uninstalled Office before reinstalling it from AD (using an Admin
Install with an MST). The username didn't change so that approach is out.

I *think* the username is the one stored in
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\C ommon\UserInfo which
is stored as binary.

If that is they key we need to change, is it possible to just delete it
from each machine, and will Office recreate it with the correct key when
reinstalled from AD?

If not, how can we change this username without having to reimage 2000+
machines?


thanks for any help
  #2  
Old May 18th, 2005, 05:23 PM
อะไรก็ตาม
external usenet poster
 
Posts: n/a
Default

*ะไรก็ตาม wrote:

I *think* the username is the one stored in
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\C ommon\UserInfo which
is stored as binary.


This is stored as hex and not binary ;-)

  #3  
Old May 18th, 2005, 07:05 PM
Brodieman
external usenet poster
 
Posts: n/a
Default

Don't know if this still works... but when you do the Administrative install
point, instead of having a persons name in the name file enter User (which
should on each profile change what you see on the Splash screen)...



"*ะไรก็ตาม" wrote:

All. Please accept my apologies for the lenght of this post.

A couple of years ago at work we created desktop images which had Office
XP on them. The problem with it is that the username being used is
incorrect for the logged-on user. It comes up as the username of the
person who created the Office install. When someone logs on for the
first time and runs Office each application is configured by Windows
Installer but the username on the Splash screen and Help/About isn't
changed to their username. This means that each document created in Word
for example, has the wrong username and using Review shows the wrong name.

In an attempt to resolve this issue I reimaged a machine today and
uninstalled Office before reinstalling it from AD (using an Admin
Install with an MST). The username didn't change so that approach is out.

I *think* the username is the one stored in
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\C ommon\UserInfo which
is stored as binary.

If that is they key we need to change, is it possible to just delete it
from each machine, and will Office recreate it with the correct key when
reinstalled from AD?

If not, how can we change this username without having to reimage 2000+
machines?


thanks for any help

  #4  
Old May 19th, 2005, 06:41 AM
Bob Buckland ?:-\)
external usenet poster
 
Posts: n/a
Default

Hi ?????????,

The registry key can be changed,
http://support.microsoft.com/default...us;290528&FR=1
but the one you listed is for Office 2003 rather than Office XP.

You may be running into this issue:
http://support.microsoft.com/default...us;280546&FR=1


========
"?????????" nobody@home wrote in message ...
All. Please accept my apologies for the lenght of this post.

A couple of years ago at work we created desktop images which had Office
XP on them. The problem with it is that the username being used is
incorrect for the logged-on user. It comes up as the username of the
person who created the Office install. When someone logs on for the
first time and runs Office each application is configured by Windows
Installer but the username on the Splash screen and Help/About isn't
changed to their username. This means that each document created in Word
for example, has the wrong username and using Review shows the wrong name.

In an attempt to resolve this issue I reimaged a machine today and
uninstalled Office before reinstalling it from AD (using an Admin
Install with an MST). The username didn't change so that approach is out.

I *think* the username is the one stored in
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\C ommon\UserInfo which
is stored as binary.

If that is they key we need to change, is it possible to just delete it
from each machine, and will Office recreate it with the correct key when
reinstalled from AD?

If not, how can we change this username without having to reimage 2000+
machines?


thanks for any help
--
Let us know if this helped you,

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

Office 2003 Editions explained
http://www.microsoft.com/uk/office/editions.mspx


  #5  
Old May 19th, 2005, 04:26 PM
อะไรก็ตาม
external usenet poster
 
Posts: n/a
Default

Bob Buckland ?:-) wrote:
Hi ?????????,

The registry key can be changed,
http://support.microsoft.com/default...us;290528&FR=1
but the one you listed is for Office 2003 rather than Office XP.

You may be running into this issue:
http://support.microsoft.com/default...us;280546&FR=1



Thanks Bob.

I'm going to write a VB script to run for each user to get this changed.
Do you know how to get a VB script to only run if a certain registry
key is a certain value? Basically we don't want the Office user
information to change each time a user logs on. Once will be enough.

thanks again
  #6  
Old May 23rd, 2005, 10:01 PM
Bob Buckland ?:-\)
external usenet poster
 
Posts: n/a
Default


Hi ?????????,
You can't check the date on a registry key but
you can place a dummy file or registry entry that
could be checked by the script (i.e. if == exist
don't run the script).

=======
"?????????" nobody@home wrote in message ...
Thanks Bob.

I'm going to write a VB script to run for each user to get this changed.
Do you know how to get a VB script to only run if a certain registry
key is a certain value? Basically we don't want the Office user
information to change each time a user logs on. Once will be enough.

thanks again
--
Let us know if this helped you,

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

For Everyday MS Office tips to "use right away" -
http://microsoft.com/events/series/a...andtricks.mspx



  #7  
Old May 24th, 2005, 07:52 AM
อะไรก็ตาม
external usenet poster
 
Posts: n/a
Default

Bob Buckland ?:-) wrote:
Hi ?????????,
You can't check the date on a registry key but
you can place a dummy file or registry entry that
could be checked by the script (i.e. if == exist
don't run the script).

=======
"?????????" nobody@home wrote in message ...
Thanks Bob.

I'm going to write a VB script to run for each user to get this changed.
Do you know how to get a VB script to only run if a certain registry
key is a certain value? Basically we don't want the Office user
information to change each time a user logs on. Once will be enough.

thanks again


Hi Bob

We managed to write a script which checks to see if the registry value
is the one we want to delete, and if it is the key is changed. If it
isn't it's left alone so the users don't have to see the small dialogue
box which pops up when you first start an application. The one with your
name and initials in it.


Change the xxx to be the username you want to delete. The wrapping in
the e-mail may cause some lines to be wrong.


start script


Set WshShell = Wscript.CreateObject("WScript.Shell")

On error resume next
strValue =
WshShell.RegRead("HKCU\Software\Microsoft\Office\1 0.0\Common\UserInfo\UserName")
if err.number 0 then

On error goto 0

'Wscript.Echo "Error reading Username"

wscript.Quit
end if
On Error Goto 0

ReDim charValues (ubound(strValue))

for i=0 to ubound(strValue)-2 step 2
charValues (i)=Chr(strValue(i))
next
charString = join(charValues,"")

'msgbox charString

'msgbox len(charString)

'if charString = "xxx" then

'**** check the case before use ****

if charString = "xxx" then

WshShell.RegDelete("HKCU\Software\Microsoft\Office \10.0\Common\UserInfo\UserInitials")
WshShell.RegDelete("HKCU\Software\Microsoft\Office \10.0\Common\UserInfo\UserName")

'Wscript.echo "Values deleted"

End if


/end script

--


Neil
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorry guyz.... jim0861 Powerpoint 3 April 15th, 2005 03:39 PM
Changing default paragraph line spacing from auto to 0 BMarKcum General Discussion 0 March 30th, 2005 04:19 PM
How to get current username of system Abhi poddar Setting Up & Running Reports 3 January 10th, 2005 05:31 PM
Changing sort in Report afterit is created Suzanne Setting Up & Running Reports 0 July 12th, 2004 05:55 PM
Username Frank Kabel Worksheet Functions 5 May 30th, 2004 01:49 AM


All times are GMT +1. The time now is 04:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.