If you have deleted a partition and then failed to get access to Windows, you need to first make it bootable.
AOMEI Partition Assistant can help you. Create bootable media with a USB stick using this program > connect the USB to the unbootable PC > restore the deleted partition > boot correctly. Get a more detailed guide in the tutorial.