Hi,
I took your reg key and made a VB script for Windows 7:
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\Policies\Microsoft\Windows\AppCompat\DisablePCA",00000001,"REG_DWORD"
I also added to my script the program compat Flag, in my case Visual studio 2005:
WshShell.RegWrite "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\{5f66dbae-cad3-468a-83d0-77ace8abc1f6}",00000004,"REG_DWORD"
as described here
How to disable program fixes and Program Compatibility Assistant warnings in Windows Vista
This stopped Program Compatibility Assistant warning when installing Visual studio 2005 .
You must run the script and program as admin