Hello Albert Antony,
thank you for posting on the Microsoft Community Forums.
When you entered a generic key, it likely changed your Windows edition, causing the deactivation. Here are some steps that might help you revert to your original Windows 11 Pro Education activation:
- Check Your Original Product Key: Since you found a product key using the command prompt, make sure that it’s indeed the original key used for your Windows 11 Pro Education edition.
- Revert to Windows 11 Pro Education: To resolve the error code 0xc004f050, you can refer to the solution in Windows 11 license activation error (0xc004f050) - Microsoft Community.
Hope it helps.
Best regards,
Lei