View Single Post
16 Mar 2010   #
helenp

vista
 
 

Hi,

I took your reg key and made a VB script for Win7:

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
My System SpecsSystem Spec