Permanent clicks when recording with new PC

Hi, recently I got my new PC and I just tried to record something very quiet and I noticed that every few seconds I got clicks on the recording, around -50dB loud. I tried both with Cubase and Sound Forge and it’s the same problem.
The new PC is a i7 CPU with Windows 11 and 64GB RAM, no graphics card. The old PC was a i5 from 2012 with Windows 10. All other Hardware is exactly the same.
I use a Steinberg UR22 with the latest drivers. I’ve never had this issue with the old PC.
Any ideas where I should look to solve this? So far I’ve tried changing buffer size up and down and checking PowerCFG.CLP which is set to full power.