Answer by
LeheckaG (1826)
With gloves & safety-glasses or goggles on, you need to carefully chisel out the mortar around the old basement window-frame (if you are replacing the entire window-frame, and not just the glass pane). You temporarily shim the new window to center it in the opening, and re-mortar around the frame.