Fixed registry key permissions