While they are in school? That's tough and the student has to be very careful not to cross any lines. CPT and pre-completion OPT sometimes work but there are significant restrictions and conditions that must be met. Oftentimes, the solution is to take a leave of absence and switch to a work via (if possible and it oftentimes isn't).