Hello youcefgamer, welcome to the Microsoft community, my name is Bruno Leonel, an independent consultant and I would be happy to help you.
Before performing the procedures, make a backup of your files for greater security.
1 - Run Bootrec.exe
Bootrec.exe is the utility provided by Microsoft in the Windows recovery environment. Any problem related to MBR, BCD, boot sector can be corrected using bootrec.exe.
You can make use of Bootrec.exe if the reason for the inability to reset the PC is missing an error in the required drive partition is corruption in the MBR. Follow the steps to open the Bootrec.exe utility.
Initially, insert the Windows installation disc or the bootable USB. Press any key to boot from the DVD. Select the language and time and click OK.
Choose Install Windows on the screen and select Repair your computer.
From the repair menu, select Troubleshoot >> Advanced options >> Command prompt
Type exeno command prompt
Once the operation is complete, type exe / fixmbr
Type bexe / fixboot
Type bexe / scanos
Type bexe / rebuildbcd
If these commands fail to correct the problem “the PC cannot be reset, a required drive partition is missing”, try the next method provided below.
2 - Run CHKDSK
The computer's disk usually suffers errors when the MBR is corrupted, to correct errors caused by the MBR or the BCD CHKDSK. CHKDSK is the utility used at the command prompt to correct logical errors on the drive.
Follow the same procedure shown in method 1 until step 3 that indicates in the repair menu select Troubleshoot >> Advanced options >> Command prompt
Type chkdsk E: / f and Enter (E is the name of the drive you need to check)
If the above procedure also fails to correct the required drive partition is missing error, follow the next method.
3 - Run the SFC (System File Checker)
Sometimes, missing or damaged system files can lead to the error of not restarting the PC, a required drive partition is missing. To correct the error, try the Windows system file checker tool.
Access command prompts by following the same procedure as method 1 through step 3.
Type sfc / scannow. This option checks for missing system files on the entire hard drive.
After the process is complete, check if the necessary partition is missing. If you still encounter the error message, try to define the partition as an active partition.
Set Partition to Active Partition
For this method, you will need to use a command line tool called DISKPART that will help you to define your partition as active. Access Command Prompt through Windows Repair mode described in Method 1, running through step 3. Then, follow the steps below.
4 - Type diskpart and run the DISKPART command line tool
Type list disk to list available hard drives
Type select disk x to select disk, x represents the number of disks discovered by diskpart
Type list partition to get a list of available partitions on your hard drive. For example, you can get partitions like partition 1, partition 2…. partition x. It depends on how many partitions your computer has.
Enter select partition (number) to select a partition
Entering active to make the selected partition act as an active partition.
Type Exit exit the diskpart line
Type Exit to exit from Command Prompt
Click Turn off your PC
Restart computer and check if the error could not reset the PC. A required drive partition is missing.
I hope this helps, If the error still occurs, feel free to post again. We will be ready to help!