Automatically clean the current driver in Safe Boot, download the latest nvidia driver, remove the telemetry and finally install the driver. This is the cleanest and easiest way to install a nvidia driver.
There are a few more extras, you just need to edit them in the script.
$enableNvidiaProfileInspector = $true
$NvidiaProfileInspectorProfile = "NvidiaBaseProfile.nip"
$disableUsbC = $true
$disableHdAudioSleepTimer = $true
$disableHdcp = $true
$disableNvidiaTrayIcon = $true
$enableTweaksandDisableTelemetry = $true