Hello,
Thank you for posting in Microsoft Q&A.
Based on the description, I understand your question is related to allocate unallocated space to c drive.
Before making any changes, ensure you back up important data to avoid any potential loss.
Press Windows + X and select Disk Management.
Right-click on the D drive and select Delete Volume. This will convert the D drive into unallocated space.
Right-click on the C drive and select Extend Volume.
Follow the prompts in the Extend Volume Wizard to add the unallocated space to the C drive.
Have a nice day.
Best Regards,
Molly
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it