Suggestions:
Unplug external hard drives, USB drives, printers, scanners
Remove SD cards if any
Disconnect Bluetooth devices
Windows 11 needs at least 30–35 GB free on C: during upgrade.
Update BIOS and all the drivers before proceeding.
Disable AV or, Internet Security if any.
Reset Windows Update Components
Open Command prompt as Admin and type:
sfc /scannow and hit the Enter key.
DISM /Online /Cleanup-Image /RestoreHealth and hit the Enter key.