Arduino IDE 2.0.0-beta.5 Unable to install libraries

A few weeks ago, I installed the new IDE and tried to code a bit. My Problem is that I can’t install the library for the Arduin Uno. It always gives me this error: Error: 2 UNKNOWN: installing tool arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7: moving extracted archive to destination dir: rename c:\Users*user*\AppData\Local\Arduino15\tmp\package-139450727\avr c:\Users*user*\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7: Zugriff verweigert
The end just says: access denied
I installed the IDE through the WIndows 10 installer and ran it as administrator.
I also deleted Arduino15 folder in AppData but ater trying it again, the folder appeared but the same error appeared in a later step.

This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on.

If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.

Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to whitelist the Arduino software.

Thanks for the quick help.
I added an Exeption for the Arduino15 folder and it now works. Do you think that's a too high of a security risk when I add a permanent Exeption for only this folder so it won't be scanned?

Unfortunately, I'm not very knowledgeable about security matters. I think that configuring the antivirus to allow benign processes of the Arduino IDE is definitely the right approach.

Best practices is to restrict the scope of this relaxation of the antivirus restrictions to the minimum necessary to accomplish your goal. So you might consider experimenting with changing the exception to a subfolder (e.g., c:\Users\*user*\AppData\Local\Arduino15\packages).