Consolidating previous answers and expounding upon them here.
Office products store disabled items in the registry under keys named HKEY_CURRENT_USERSoftwareMicrosoftOffice<version><product>ResiliencyDisabledItems
. For example, Excel 2010's disabled list is under HKEY_CURRENT_USERSoftwareMicrosoftOffice14.0ExcelResiliencyDisabledItems
.
Each disabled item is stored as a randomly-named key of type REG_BINARY
. The format of the byte array is:
- bytes 0-3 : ??? (perhaps a 32-bit uint type code, 1 = COM Addin)
- bytes 4-7 : 32-bit uint length (in bytes) for the first string (path)
- bytes 8-11 : 32-bit uint length (in bytes) for the second string (description)
- bytes 12-end : two strings of unicode characters, the byte length for each of which is stored in the uints above
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…