Office 2010 - Suppress prompt for Users Name and initials
Does anybody know how to stop office 2010 asking for the Users Name and Intials on first load.
I have used the office 2010 oct tool for creating a silent install but whenever a user logs into the machine they get prompted for Name and Initials.
I understand that it can be set via a reg key under HKCU but thats not global and does not cover the next person who logs in.
Any ideas?
Cheers
I have used the office 2010 oct tool for creating a silent install but whenever a user logs into the machine they get prompted for Name and Initials.
I understand that it can be set via a reg key under HKCU but thats not global and does not cover the next person who logs in.
Any ideas?
Cheers
0 Comments
[ + ] Show comments
Answers (17)
Please log in to answer
Posted by:
usmclss
11 years ago
Posted by:
bardol
14 years ago
ORIGINAL: CordlezToaster
Does anybody know how to stop office 2010 asking for the Users Name and Intials on first load.
I have used the office 2010 oct tool for creating a silent install but whenever a user logs into the machine they get prompted for Name and Initials.
I understand that it can be set via a reg key under HKCU but thats not global and does not cover the next person who logs in.
Any ideas?
Cheers
You could put a "reg add (regkey) %username%" into the HKCU RunOnceEx of the Default User account...
Posted by:
anonymous_9363
14 years ago
Posted by:
CordlezToaster
14 years ago
Thanks for the response guys.
Its not a hassle if the users have to do it, its just these are lab machines being used by students that may see upto 10-15 different kids a day.
Its more of an annoyance.
I can get around it by putting the regkeys in the login script but i was hoping not to do that, and that there was an easier way.
Its not a hassle if the users have to do it, its just these are lab machines being used by students that may see upto 10-15 different kids a day.
Its more of an annoyance.
I can get around it by putting the regkeys in the login script but i was hoping not to do that, and that there was an easier way.
Posted by:
tron2ole
14 years ago
Posted by:
aogilmor
14 years ago
Posted by:
CordlezToaster
14 years ago
ORIGINAL: aogilmor
don't have time to test now, but I'm pretty sure I was able to do this with the OCT with no custom actions
Correct me if im wrong but it will work for the user who installs the application but the next user who logs onto that machine will get prompted.
Unless you have found a way of doing it.
Posted by:
sdugas
13 years ago
Hi,
If you know the registry key HKCU you want to change, you can use following batch file which will change this key in all users account and also the .DEFAUL too...
You can change the REG_SZ by REG_DWORD or others values, if you want...
-----------------------
@echo off
setlocal
set regcmd=%SystemRoot%\system32\reg.exe
set keypath= <- put here the path of your registry key (eg : Software\Microsoft\Office\14.0\ ) ->
set valuename1= <- put here the name of your registry key (eg : Name ) ->
:: update current user
set hive=HKCU
set key=%hive%\%keypath%
%regcmd% add "%key%" /v %valuename1% /d "<- put here the value of your registry key->" /t REG_SZ /f >nul
:: update all other users on the computer, using a temporary hive
set hive=HKLM\TempHive
set key=%hive%\%keypath%
:: set current directory to "Documents and Settings"
cd /d %USERPROFILE%\..
:: enumerate all folders
for /f "tokens=*" %%i in ('dir /b /ad') do (if exist ".\%%i\NTUSER.DAT" call :AddRegValue "%%i" ".\%%i\NTUSER.DAT")
endlocal
:: echo.
:: echo Finished...
:: echo.
:: pause
goto :EOF
:AddRegValue
set upd=Y
if /I %1 equ "All Users" set upd=N
if /I %1 equ "LocalService" set upd=N
if /I %1 equ "NetworkService" set upd=N
if %upd% equ Y (
%regcmd% load %hive% %2 >nul 2>&1
%regcmd% add "%key%" /v %valuename1% /d "<- put here the value of your registry key->" /t REG_SZ /f >nul 2>&1
%regcmd% unload %hive% >nul 2>&1
)
If you know the registry key HKCU you want to change, you can use following batch file which will change this key in all users account and also the .DEFAUL too...
You can change the REG_SZ by REG_DWORD or others values, if you want...
-----------------------
@echo off
setlocal
set regcmd=%SystemRoot%\system32\reg.exe
set keypath= <- put here the path of your registry key (eg : Software\Microsoft\Office\14.0\ ) ->
set valuename1= <- put here the name of your registry key (eg : Name ) ->
:: update current user
set hive=HKCU
set key=%hive%\%keypath%
%regcmd% add "%key%" /v %valuename1% /d "<- put here the value of your registry key->" /t REG_SZ /f >nul
:: update all other users on the computer, using a temporary hive
set hive=HKLM\TempHive
set key=%hive%\%keypath%
:: set current directory to "Documents and Settings"
cd /d %USERPROFILE%\..
:: enumerate all folders
for /f "tokens=*" %%i in ('dir /b /ad') do (if exist ".\%%i\NTUSER.DAT" call :AddRegValue "%%i" ".\%%i\NTUSER.DAT")
endlocal
:: echo.
:: echo Finished...
:: echo.
:: pause
goto :EOF
:AddRegValue
set upd=Y
if /I %1 equ "All Users" set upd=N
if /I %1 equ "LocalService" set upd=N
if /I %1 equ "NetworkService" set upd=N
if %upd% equ Y (
%regcmd% load %hive% %2 >nul 2>&1
%regcmd% add "%key%" /v %valuename1% /d "<- put here the value of your registry key->" /t REG_SZ /f >nul 2>&1
%regcmd% unload %hive% >nul 2>&1
)
Posted by:
nortonl
13 years ago
ORIGINAL: VBScab
I know. It's such a chore for poor users, having to type their name and initials ONCE! Doesn't anyone understand how BUSY THEY ARE?!?
Say the first time you use Word, you double-clicked a document in Explorer or it was launched by another application, the user name/initials dialog prevents the file being opened. Not the best user experience.
In the old Office 2003 Customization Wizard, you could call a script per user to apply the required registry settings but that doesn't seem to be possible with the 2007/2010 tools.
Posted by:
anonymous_9363
13 years ago
Posted by:
nortonl
13 years ago
Posted by:
nortonl
13 years ago
ORIGINAL: VBScab
that doesn't seem to be possible with the 2007/2010 toolsAs far as I can recall, you can still customise any registry data with the 2007/2010 tool. I can't recall what the screen is called but, from memory, it was screamingly obvious what its function was.
Yes you can and it might be possible to populate username using the %USERNAME% environment variable (and setting the reg key to unexpanded string type) but you need to apply some logic to extract initals.
Posted by:
Foleymon
13 years ago
ORIGINAL: CordlezToaster
Thanks for the response guys.
Its not a hassle if the users have to do it, its just these are lab machines being used by students that may see upto 10-15 different kids a day.
Its more of an annoyance.
I can get around it by putting the regkeys in the login script but i was hoping not to do that, and that there was an easier way.
If this is just for use by students you can populate the regkeys with something generic.
You can create the key and just import it into your default install so there is no need to run it at login.
Posted by:
nortonl
13 years ago
ORIGINAL: nortonl
Unless anyone has any better suggestions, I am going to pre-populate the registry with generic values then apply indivudual values by calling my script usign Active Setup.
Just to confirm this method worked for me. I also had to set the Active Setup key under HKEY_CURRENT_USER to be deleted in Office Customization Wizard so that Active Setup runs again if it was run before Office first use for the current user.
Posted by:
erm
13 years ago
You are on the right track. Use HKCU through Group Policy. I used the User Config --> Preferences --> Registry to accomplish the task. The main drawback is the I had to use %username% for both initials and User Name. We are in a stateless VDI environment and do not use roaming profiles, so I had to come up with a method to not annoy the user at each logon. Hope this resolves your issue.
Here are the keys used from the settings page. You can decide on if they should only be applied once.
Collection: Registry Wizard Values/HKEY_CURRENT_USER/Software/Microsoft/Office/Common/UserInfohide
Registry item: UserInfohide
Generalhide
Action Update
PropertiesHive HKEY_CURRENT_USER
Key path Software\Microsoft\Office\Common\UserInfo
Registry item: UserNamehide
Generalhide
Action Update
PropertiesHive HKEY_CURRENT_USER
Key path Software\Microsoft\Office\Common\UserInfo
Value name UserName
Value type REG_SZ
Value data %username%
Registry item: UserInitialshide
Generalhide
Action Update
PropertiesHive HKEY_CURRENT_USER
Key path Software\Microsoft\Office\Common\UserInfo
Value name UserInitials
Value type REG_SZ
Value data %username%
Registry item: CompanyNamehide
Generalhide
Action Update
PropertiesHive HKEY_CURRENT_USER
Key path Software\Microsoft\Office\Common\UserInfo
Value name CompanyName
Value type REG_SZ
Value data YOUR COMPANY NAME HERE
Here are the keys used from the settings page. You can decide on if they should only be applied once.
Collection: Registry Wizard Values/HKEY_CURRENT_USER/Software/Microsoft/Office/Common/UserInfohide
Registry item: UserInfohide
Generalhide
Action Update
PropertiesHive HKEY_CURRENT_USER
Key path Software\Microsoft\Office\Common\UserInfo
Registry item: UserNamehide
Generalhide
Action Update
PropertiesHive HKEY_CURRENT_USER
Key path Software\Microsoft\Office\Common\UserInfo
Value name UserName
Value type REG_SZ
Value data %username%
Registry item: UserInitialshide
Generalhide
Action Update
PropertiesHive HKEY_CURRENT_USER
Key path Software\Microsoft\Office\Common\UserInfo
Value name UserInitials
Value type REG_SZ
Value data %username%
Registry item: CompanyNamehide
Generalhide
Action Update
PropertiesHive HKEY_CURRENT_USER
Key path Software\Microsoft\Office\Common\UserInfo
Value name CompanyName
Value type REG_SZ
Value data YOUR COMPANY NAME HERE
Comments:
-
This works for me as well. But I believe the Value type should be "REG_EXPAND_SZ" - dsidler 11 years ago
Posted by:
anonymous_9363
14 years ago
I know. It's such a chore for poor users, having to type their name and initials ONCE! Doesn't anyone understand how BUSY THEY ARE?!?
Personally, I'd go the traditional route of creating a CurrentUser feature containing the registry setting and moving an existing feature containing an advertised shortcut to become a child of that feature but I know many people aren't fans of futzing with Office in that way. Alternatively, you could use ActiveSetup.
BTW, surely this only applies to a minute fraction of your users, i.e. those getting a newly-built machine? Wouldn't all the others have their current setting migrated?
Personally, I'd go the traditional route of creating a CurrentUser feature containing the registry setting and moving an existing feature containing an advertised shortcut to become a child of that feature but I know many people aren't fans of futzing with Office in that way. Alternatively, you could use ActiveSetup.
BTW, surely this only applies to a minute fraction of your users, i.e. those getting a newly-built machine? Wouldn't all the others have their current setting migrated?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.