Hi,
We could use Configuration Manager tools which located CD.Latest\SMSSETUP\Tools folder on the site server.
Out of all the tools, one important tool is distribution point job queue manager. The DPJobMgr tool helps you to troubleshoot and manage ongoing content distribution jobs to Configuration Manager distribution points.
it was stuck again at 99%, we could use these tools to trace which session causes this problem.
Here is the article we could refer to:
https://learn.microsoft.com/en-us/mem/configmgr/core/support/tools
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.