Hi MR_张,
According to your description, I understand that you see the "undoing changes" message after a reboot if you enable the Hyper-V feature.
Please open cmd and run the commands
sfc /scannow
dism.exe /Online /Cleanup-image /Restorehealth
Then enable the Hyper-V feature and reboot again. Pleas disable the antivirus temporarily if it is running on the computer. Uninstall the third-party virtualization software, like virtualbox, if any.
If the issue persists, please see if there are any errors in the CBS log file %windir%\Logs\CBS\CBS.log
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.