Hello Fidel Reyes,
Thanks for joining the Q&A Forum.
Based on what you described, you’re seeing an “Access Denied” message in Command Prompt and error code 0xC004F050 when trying to activate Windows in Settings.
The “Access Denied” message could appear when a command requires administrator privileges, and error code above indicates that the key is invalid. Here are a few suggestions you can try:
If starting from Windows 10 Home, you need to upgrade to Windows 11 Home first. After that, you switch to Windows 11 Pro with a generic key and activate it with a product key.
To be more specific, please try the following steps:
- Install Windows 11 Home
See guidance at: Ways to install Windows 11
- Switch from Windows 11 Home to Windows 11 Pro using generic key
- Disconnect your device from the internet.
- Right-click Start > Terminal (Admin) or Command Prompt (Run as Administrator)
- Run
slmgr /ipk VK7JG-NPHTM-C97JM-9MPGT-3V66Tto upgrade to Pro. - Restart PC.
Tip: Make sure you use the correct generic key for your Windows edition:
Windows 11 Pro: VK7JG-NPHTM-C97JM-9MPGT-3V66T
Windows 11 Pro N: 2B87N-8KFHP-DKV6R-Y2C8J-PKCKT
Windows 11 Pro for Workstations: DXG7C-N36C4-C4HTG-X4T3X-2YV77
Windows 11 Pro N for Workstations: WYPNQ-8C467-V2W6J-TX4WX-WT2RQ
- Activate Windows 11 Pro
After reboot, go to Settings > System > Activation > Change product key, and enter your purchased Pro key to activate (internet required for final validation).
If you're doing the right steps but the issue still persists, could you please let me know:
- Where was the Pro key purchased - directly from Microsoft’s store or from a third‑party seller?
I look forward to your response and I'm here if you need further help!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.