New
#1
Your Recovery partition looks big enough to be a manufacturer's recovery partition - to restore your PC to as bought.
But you don't, for example, seem to have a Windows 10 Recovery partition (about 450 -500Mb) which supports automatic repair and advanced troubleshooting options, used when things go wrong. So I would expect that if you did a SHIFT click restart, you would not have the normal set of options available to you.
Whether you keep the manufacturer's recovery partition is up to you. For example, you might wish to use it when selling your laptop. And if it's a new laptop, then it would presumably restore it with Win 10, if older, Win 8, Win 7... whatever came with the laptop.
I would not delete any partition.
The 20 GB D: partition is actually the Recovery partition of the Laptop containing the original OS Windows 8 and other stuff for your Laptop. Usually such partitions are almost full.
To get rid of the message take all partitions except C: off the Disk optimisation list.
It's the only partition with a lot of changes.
Control Panel > Administrative Tools > Defrag and Optimise Drives > Change settings > Drives, Choose > Just tick the box for the C: partition.
A monthly schedule is enough.
These days with the way activation is handled on Windows 10. I would consider removing the manufacturer's partition, since you can easily download Media Creation Tool and install Windows again and Windows would automatically re-activate. After installation, its a simple matter of going to HP's website, entering your laptop's model number and installing the drivers and other software.
I would back up the contents of the tools partition and remove it. Another thing to consider, is the software thats on that partition is likely quite old, its better to download the newer software from the website.
Are you, or a backup software backing up to the D:\Recovery Partition? If so, stop the back up immediately. Remove any Backup files on the drive. Other then that, you shouldn't touch the Recovery Partition. This partition is used if you need to reinstall Windows to Default settings. It has the Windows OS, but it also includes any drivers that are required from the manufacturer as well.
If you have created a Recovery disc, you then can decide to delete the Partitions. Do not remove the small System Partition in the front of the drive as this has all of the Boot information. HP Notebook PCs - Removing the HP Recovery Partition | HP(R) Customer Support
It's used as I said to restore your PC to as it was when you bought it.
So if you were to follow the instructions for your PC to use it, you would find your PC running Windows 8, and all of your programs and data will have gone.
See:
Remove Your PC’s Recovery Partition and Take Control of Your Hard Drive
Maybe you are overthinking it, just disable the warning or increase recovery size, but that would be a wasted space.
Disable Low Disk Space Message in Windows 7 / 8 / 10
Resize a Partition for Free in Windows 7, 8.x, 10, or Vista
But then again, maybe Windows is looking for system recovery parition as dalchina mentioned.
What is System Reserved Partition in Windows 10/8/7
Remove the drive letter for the D drive and the nag screen will go away.
I would remove the drive letter for E too. They will still work, Windows doesn't need to see them though. Normally on a factory install they don't have drive letters. You must have set them, or something you did set them inadvertently.
What @alphanumeric said is all you have to do.
@fay, go back into disk management (your screenshot in post #1), right click on D: drive, select change drive letter and paths, remove the drive letter. Then do the same thing for E: drive.