Has any scripted the deployment for a custom dictionary for MS Word 2010?

I have the .dic file and I believe it needs to go into C:\Users\%username%\AppData\Roaming\Microsoft\UProof

Then a registry modification such as:

reg add "HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries" /v "1" /t REG_SZ /d CUSTOM.DIC /f

reg add "HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries" /v "1_state" /t REG_BINARY /d 01000000 /f

reg add "HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries" /v "2" /t REG_SZ /d OpenMedSpel100.dic /f

reg add "HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries" /v "2_state" /t REG_BINARY /d 01000000 /f

reg delete "HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries" /v "2_culturetag" /f

 

But it keep getting a fail from SCCM pushing to Windows 7 x86 clients. 

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

In which context are you running your script? System or Logged in User's context?

If you are executing the script directly then it should be run in logged in user's context..

If you are executing the script through ActiveSetup for every user then you will have to Create the ActiveSetup via System Context and call your script through ActiveSetup..

Answered 01/29/2013 by: jagadeish
Red Belt

  • I am running it as a .bat from SCCM - It uses a sysem account..
Please log in to comment
Answer this question or Comment on this question for clarity