Friday, 4 October 2013

File assocs grab between versions of MS Office

When, e.g., Office 2010 tries to take file associations from Office 2003 previously installed, and then back, and then back. Use this batch:

set P=HKCU\Software\Microsoft\Office

reg add %P%\11.0\Word\Options /v NoReReg /t REG_DWORD /d 1
reg add %P%\12.0\Word\Options /v NoReReg /t REG_DWORD /d 1
reg add %P%\15.0\Word\Options /v NoReReg /t REG_DWORD /d 1

reg add %P%\11.0\Excel\Options /v NoReReg /t REG_DWORD /d 1
reg add %P%\12.0\Excel\Options /v NoReReg /t REG_DWORD /d 1
reg add %P%\15.0\Excel\Options /v NoReReg /t REG_DWORD /d 1

... the same for PowerPoint, Access ...

1) Substitute here certain versions of MS Office (maybe 14.0, there is no 13.0, I think) from your machine.
2) Check whether other programs like OneNote have such branches in registry, I haven't checked.
3) Never use spaces around "=" sign in set operation :)

No comments:

Post a Comment