A weak signal or radio interference is the most likely cause for intermittent wifi drop outs. First, use the computer right next to the router to eliminate a weak signal as the cause.
If the problem still occurs, reinstall the wifi driver on the computer with one provided by the hardware manufacturer. Not from MS updates, as that is sometimes the cause of the problem.