SQL 2008 Installation failed with error “Access Denied”

Recently while installing SQL 2008, it was getting failed with error “Access Denied”

After checking few settings, found the server was hardened per company policy and to SQL needed “Debug Programs” rights for the user ID which is been used to install.

Below is the setting to change it, can be done either in Local or Group policy. Add the current user to the setting.