Recently I got an error saying failed to change state with error code 32788 on Hyper-V 2012 R2 host while attempting to power on the selected virtual machine. There could be several reasons for this issue. If you encounter the same issue, you are at the right place to find the working solutions. Here are the possible ways to solve the problem and power on the virtual machine on Hyper-V.
This is the error message when tried to power on the VM.
The Reason For Error Code 32788 on Hyper-V
This is basically related to the conflict in the virtual machine configuration. Something has changed on the host that is connected to particular VM, possibly the virtual network switch. In my case, I changed the name of the virtual switch recently but it was not properly configured in the virtual machine settings.
How to Fix?
Open the settings of the particular virtual machine from Hyper-V console. You can just go through the all other settings, but firstly go to the Network Adapter settings and see whether any conflict (Configuration Error) is there.
For me, it was looking for the old virtual switch which in not present now. Changing the virtual switch and attaching the correct Virtual switch helped me to power on the particular VM without any errors or warnings.
Hope this small guide would be useful if you are facing the similar problem on Hyper-V virtualization environment. You can find more virtualization tips and solutions here.