se a qualcuno può interessare ho trovato la soluzione

codice:
procedure frmPrinc.SettaDebuggerIE(Valore:String);
Var reg: Tregistry;
begin
  reg := Tregistry.Create;
  reg.OpenKey('\Software\Microsoft\Internet Explorer\Main',False);
  reg.WriteString('DisableScriptDebuggerIE', Valore);
  reg.CloseKey;
  reg.Free;
end;
dove valore può valere 'yes' o 'no'

ciao