This problem occurs because the script.exe and conhost.exe process registers for notification exits without first unregistering from the NSI service. Therefore, the registration leak in NSI causes the memory leak in the NSI service. Additionally, the NPP leaks memory in the NSI Proxy Contexts Tag NSpc (NSI.dll).