Ver Mensaje Individual
  #12  
Antiguo 02-06-2005
Avatar de Crandel
[Crandel] Crandel is offline
Miembro Premium
 
Registrado: may 2003
Ubicación: Parana, Argentina
Posts: 1.475
Reputación: 23
Crandel Va por buen camino
usa esta función para deshabilitarlo:

Código Delphi [-]
const
  RegTask = 'Software\Microsoft\Windows\CurrentVersion\Policies\System'

procedure DisableTaskMgr(value: boolean);
var
  Registro: TRegistry;
begin
  Registro:= TRegistry.Create;
  try
    Registro.RootKey:= HKEY_CURRENT_USER;
    if Registro.OpenKey(RegTask, true) then
    if  value then
       Registro.WriteString('DisableTaskMgr', '1');
    else
       Registro.DeleteValue('DisableTaskMgr');        
  finally
    Registro.CloseKey;
  end;
  Registro.Free;
end;

Suerte
__________________
[Crandel]
Responder Con Cita