Copy or Rename a set of Registry keys for Allusers (Recent locations in Office)


For an Office 2013 to Office 2016 migration, I would need to copy or rename this set of registry kys :

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\File MRU
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\File MRU
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\PowerPoint\File MRU
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\File MRU


HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\File MRU
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\File MRU
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\PowerPoint\File MRU
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\File MRU

I would usually use the scriptblock + Invoke-HKCURegistrySettingsForAllUsers , but here we don’t have a way to copy or rename the path from 15.0 to 16.0

any ideas on how to do this ?

Many thanks in advance