You can do this by running the command prompt as a administrator, just right click and run as administrator.
You can also refer to the following link if the above solution does not work:
- sn.exe fails with Access Denied error message
- How To Create an Assembly with a Strong Name in .NET Framework SDK