To switch primary and secondary monitors in Windows 11, you need to open Windows Settings by pressing the Win+I button. Then, go to System > Display and expand the Multiple displays section. After that, if you see the Make this my main display checkbox is grayed out, it implies that your selected monitor is the primary monitor. If not, you need to select the desired monitor and tick that corresponding checkbox.