Hi, @Mohammed, Shazad
Thank you for posting in Microsoft Q&A forum.
Please try to fix it by changing the Task Sequence Set Variable for Drive Letter to TRUE and set BDE Drive to Do not assign a drive letter to this partition.
For the details:
(Please Note: Since the website is not hosted by Microsoft, just for your reference.)
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 "Add 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.