Hi there,
You can configure a Low Disk Space Alert by Using the Performance Logs and Alerts Feature
https://learn.microsoft.com/en-us/troubleshoot/windows-server/backup-and-storage/configure-low-disk-space-alert-performance-logs
There are certain blogs indicated in this thread which might also be helpful for you
https://learn.microsoft.com/en-us/answers/questions/330457/how-to-edit-a-logical-disk-spcace-threshold-for-a.html
Hope this answers all your queries, if not please do repost back.
If an Answer is helpful, please click "Accept Answer" and upvote it : )