If the Windows 11 installation is stuck at 99% for more than an hour, you can manually run the setup.exe file to continue the installation. To do this, open File Explorer and navigate to the following location:
C:\$GetCurrent\media
Once you are in the media folder, double-click on the setup.exe file to start the installation.
After starting the installation if the dialog box appears, select Not right now.
Finally click on next>next>Finish.