The present invention relates to a method for controlling a probe for the treatment of brain tissue using an assembly comprising the probe and an acoustic window (1), the probe (2) including a plurality of transducers (21) for generating ultrasound waves, the method comprising: —;a phase of detection: •;of the probe transducers situated above the cranium (4) of the patient, and •;of the probe transducers situated above the acoustic window (1), so as to permit: •;deactivation of the transducers situated above the cranium (4) of the patient, •;activation of the transducers situated above the acoustic window (1).