Hello @Razieh Karimi
This might be due to the corrupted Windows update components.
- Reset windows update components
Right-click on the start button and select Powershell (admin) or Command Prompt (admin)
Copy each commands and hit enter after you paste each of them
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
Ren C:\Windows\System32\catroot2 Catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
- Restart the computer and try updating the PC to Windows 11.
You can also manually download the update and install it from the below link
https://www.microsoft.com/software-download/windows11
Hope this resolves your Query!!
--If the reply is helpful, please Upvote and Accept it as an answer--