SLMGR (Software License Management Tool) lets users run commands required to perform Windows license activation tasks. Users can also use this command to change their product key.
Error 0xc004f025, Access denied, requires elevated privileges
If you are experiencing this error on your system, the following solutions may help you:
1] Run the activation command in the elevated Command Prompt
The slmgr.vbs is a command-line licensing tool that you can use to configure licensing in Windows devices. It also helps to see the current licensing status of your Windows 10 installation. Many users do not know that Windows license activation requires administrative privileges. They enter the command slmgr.vbs -rearm to activate the product key or to expand the expiration time of the Windows server by launching the Command Prompt in normal mode. This is the reason why they get this error. If you are making the same mistake, try to execute the command in an elevated Command Prompt. To do so, type cmd in the Windows search box, right-click on the Command Prompt app, and select Run as administrator. If you get a UAC (User Account Control) window, click Yes. Many users have found this solution helpful. Read: SkipRearm lets you use Windows without activating.
2] Run Windows 10 Activation Troubleshooter
In most cases, the first method fixes the problem. If not, you can try running the Windows 10 Activation Troubleshooter. It is a built-in tool that helps resolve licensing issues.
3] Contact Microsoft Support Team
If the above two methods did not work for you, we suggest you contact Microsoft Support Team. Contact and ask them to activate the license of your Windows operating system. This will definitely resolve your issue. Hope this helps. Related post: Error 0x80070005, Access denied, The requested action requires elevated privileges.