New registry key adding patch