Also, you don't need to do this:
Code:
WriteLine($"reg add " & """HKLM\SOFTWARE\Microso
When this will suffice:
Code:
WriteLine($"reg add ""HKLM\SOFTWARE\Microso
-tg