Windows 10 and 11
Right-click This PC and select Manage.
Open Disk Management.
Select the disk from which you want to make a partition.
Right-click the Unpartitioned space in the bottom pane and select New Simple Volume.
Enter the size and click next, and you are done.