On Windows 7, you need to run the command line as an administrator for this to work.
To do this, press the "Start" button, type "cmd" as usual, but instead of pressing Enter, hold CTRL + SHIFT together, then press Enter. A dialog box will appear, confirm it, and you will get administrative access, and the installation should work as expected.
source share