Hi Ahmad. I'm Greg, 10 years awarded Windows MVP, specializing in Installation, Performance, Troubleshooting and Activation, here to help you.
It's a permissions error with fixes here:
https://www.lifewire.com/how-to-fix-error-code-...
https://www.majorgeeks.com/content/page/windows...
https://www.makeuseof.com/fix-the-windows-acces...
Most common Upgrade issues and solution:
https://www.lifewire.com/fix-when-windows-11-wo...
https://www.ubackup.com/articles/windows-11-ins...
https://windowsreport.com/windows-11-installati... (Avoid ad links which intrude into editorial copy, especially avoid Restoro and Reimage ads)
https://www.youtube.com/watch?v=3MzA-K8QuyM
If you haven't yet you can try running the ISO or installation media from https://www.microsoft.com/en-in/software-downlo.... If you make the installation media you'll have it in case you need to Clean Install.
If all else fails you can do a Clean Install following these steps:
https://www.groovypost.com/howto/clean-install-...
https://pureinfotech.com/clean-install-windows-11/
But keep in mind these are consumer solutions because Community is an end-consumer forums. You may get better help as an IT Pro at our sister forums for IT Professionals, Q&A forums here: https://docs.microsoft.com/th-th/answers/index.... as Community is strictly an end-consumer forum.
There are also equally good (and sometimes busier) IT Pro forums here:
https://www.techrepublic.com/forums/
I hope it helps.
______________________________________________
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.