Issue description
On Windows 11, these Team Developer IDE versions are unable to start:
- TD 5.x
- TD 6.x
- TD 7.x, except TD 7.3.6 (and higher), except TD 7.4.2 (and higher)
The issue is discussed in this forum thread:
viewtopic.php?f=26&t=73436
The crash occurs when TD is reading the list of registered COM components while starting up.
Investigation found that a particular registry entry causes it:
Computer\HKEY_CLASSES_ROOT\PackagedCom\ClassIndex\{D3E34B21-9D75-101A-8C3D-00AA001A1652}
Looking at this key it is linked to MsPaint.
This is the content of the key:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\PackagedCom\ClassIndex\{D3E34B21-9D75-101A-8C3D-00AA001A1652}]
[HKEY_CLASSES_ROOT\PackagedCom\ClassIndex\{D3E34B21-9D75-101A-8C3D-00AA001A1652}\Microsoft.Paint_11.2110.0.0_x64__8wekyb3d8bbwe]
Workaround
The idea of this workaround is to rename or delete the key from registry before TD is started.
MsPaint will still work but it is at this moment unclear what functionality will be unavailable when the key is deleted.
You can always revert by adding the key back to the registry.
There are several ways to apply the workaround.
1) Manually rename or delete the key using regedt32.
Go to the key and delete it.
Computer\HKEY_CLASSES_ROOT\PackagedCom\ClassIndex\{D3E34B21-9D75-101A-8C3D-00AA001A1652}
2) Using a batch file or command prompt
Execute this line:
reg delete HKEY_CLASSES_ROOT\PackagedCom\ClassIndex\{D3E34B21-9D75-101A-8C3D-00AA001A1652}
You may need to start cmd or the batch file as administrator.
A working batch file is available in the archive:
UsingBatchFiles\Win11_DeleteMsPaint.bat
3) Using a reg file
A reg file contains actions to be performed. See sample file in the archive:
UsingRegFiles\Win11_DeleteMsPaint.reg
Double click (or run as admin) the reg file to execute.
To revert the deletion of the key you can:
1) Manually add the key information using regedt32.
2) Using a batch file or command prompt.
Execute this line:
reg add HKEY_CLASSES_ROOT\PackagedCom\ClassIndex\{D3E34B21-9D75-101A-8C3D-00AA001A1652}\Microsoft.Paint_11.2110.0.0_x64__8wekyb3d8bbwe
You may need to start cmd or the batch file as administrator.
A working batch file is available in the archive:
UsingBatchFiles\Win11_AddMsPaint.bat
3) Using a reg file.
See sample file in the archive:
UsingRegFiles\Win11_AddMsPaint.reg
Double click (or run as admin) the reg file to execute.
Here the ZIP containing batch and registry files and a README.