For me, I always prefer to type rather than handwrite. While there are studies that say handwriting can help you retain information better, I handwrite at a fraction of a speed I can type, and the sore wrists from doing a lot of handwriting are far more distracting than the extra learning I could get from handwriting. The exception though is anything where I have to write mathematical formulas, where it is almost always faster to handwrite than remember the specific character sequences or keyboard shortcuts, though even then I prefer to write on my iPad, so I can easily reference it on my computer later.
Windows 11 on my main desktop PC, my laptop is a MacBook so macOS.