Hello all,
I set a script to add registry key "HKLM:\software\classes\<program folder name>" -Force. I also added the license key and other info it asks at first sign in which all worked well. The problem is that I get a popup box saying "<program name> has updated the registry and must be restarted.". This only shows up once for each user the first time they try to run the application but was told it is still annoying.
How can I handle this pop-up? I was thinking if there is a way I can find out which registry entry is making this pop-up and delete it perhaps ? or a way to automate the clicking ok and restart the program in PowerShell? IDK. The name of the program is Respondus and below is the reg entry I used:
New-Item -Path "HKLM:\Software\Classes\Respondus" -Force New-ItemProperty -Path "HKLM:\Software\Classes\Respondus" -Name "language" -Value "0" -Force New-ItemProperty -Path "HKLM:\Software\Classes\Respondus" -Name "kz1" -Value "blah blah company" -Force New-ItemProperty -Path "HKLM:\Software\Classes\Respondus" -Name "kz2" -Value "me@company.com" -Force New-ItemProperty -Path "HKLM:\Software\Classes\Respondus" -Name "kz3" -Value "blahblahlicensekey" -Force New-ItemProperty -Path "HKLM:\Software\Classes\Respondus" -Name "proj" -Value "C:\Respondus Projects" -Force
Thank you for any insight