Hello @Niklas Hanft ,
Welcome to Microsoft Q&A forum.
Is there any limit on your machine such as rules, group policy, permission limits, extension or antivirus blocking?
The error message indicates that it’s a permission issue. If you try to run VS as administrator, will it work?
Besides, does ActivityLog.xml file list the unauthorized file/folder or path?
Please also try to reset VS settings(run devenv /ResetSettings
in Developer Command Prompt for Visual Studio 2022
).
Feel free to let us know the results.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.