How to make Nvidia-smi Unrestricted

I keep getting this prompt on CMD saying “Run ‘nvidia-smi -acp UNRESTRICTED’ as root/admin to enable this option for all users.”

How do I run this program as admin and enable this unrestricted option?

The message tells you exactly what to do if you want to give all users access to the application clock feature.

(1) Become the super user, e.g. with su or sudo (some versions of Linux don’t have a root account by default)
(2) Run the command: nvidia-smi -acp UNRESTRICTED

A relevant post from an NVIDIA blog: