Broken arduino uno USB

Well, the usb when connected to my pc won’t turn on, it is not the cable and it will work fine powered via the power barrel or if i connect the usb to a power bank and also it is not detected by my pc when power on. Should I just change the board or is there something I can do?

Have you tried multiple USB ports on the PC?

Not only multiple usb ports, but also 3 computers.

That's good, we can rule out a PC issue then. Are you using windows or mac?

I tryed on a windows pc, no power(but i didn’t test if powering it by the barrel it gets detected) and on linux no power and it is not detected.

I wouldn't. Powering an Arduino with two power supplies can damage them if anything goes wrong.
Can you post clear pictures of both sides of the board, especially the USB port?

Huh, this is strange,i removed everything and it works now. I had this small project running outside the pc(it is a rfid reader that powers on my pc via a relay and a lcd do display temperatures) and it was fine, but when I mounted it in the pc case it started not getting power. I think I will solder everything so the connection are better and also mount them better in the pc.

Make sure you Arduino is not powering too many items - you might be over loading the board

Is the USB connector on the board loose? Then you can retouch the solder pads.

Well before i mounted it to my pc it worked fine, I even had it on for like 6 hours, i switched the board now, but i would still like to know what could have happened.

Well after i took it out and removed everything, it worked fine. The strange thing was that it worked fine before it put it in the case.

Sounds like there occurred a short circuit somehow. Anyway, good to know that it is working now.

Yes, dumb me, the back of the arduino was mounted directly on the metal case of the pc.