Поскольку вы создаете проект, и он добавляет эти значения, возможно, проверьте в событиях prebuild / postbuild в Visual studio
![Visual studo build events](https://i.stack.imgur.com/o0eRe.png)
Если это не так, вам может потребоваться сделать простую запись в реестре при запуске приложения
public static bool WriteRegistryValue<T>(RegistryHive hive, string key, string value, RegistryValueKind kind, T data)
{
bool success = false;
using (RegistryKey baseKey = RegistryKey.OpenRemoteBaseKey(hive, String.Empty))
{
if (baseKey != null)
{
using (RegistryKey registryKey = baseKey.OpenSubKey(key, RegistryKeyPermissionCheck.ReadWriteSubTree))
{
if (registryKey == null)
{
using (RegistryKey createdRegistryKey = baseKey.CreateSubKey(key, true))
{
registryKey.SetValue(value, data as string);
}
}
else
{
registryKey.SetValue(value, data as string);
}
success = true;
}
}
}
return success;
}