SQL Server Setup failed to modify security permissions on registry key

“SQL Server Setup failed to modify security permissions on registry key SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\SuperSocketNetLib for user XXXX. To proceed, verify that the account and domain running SQL Server Setup exist, that the account running SQL Server Setup has administrator privileges, and that the registry key  exists on the destination drive.”

Add the following to the group in "administrative tools"

For some reason the software did not create the  necessary group. Make sure you replace YOURSERVERNAME with your server name.