Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:[RECURRING]: NVidia telemetry - Unable to disable NvTelemetry64.dll #447

Open
bobcate opened this issue Nov 11, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@bobcate
Copy link

bobcate commented Nov 11, 2024

Description

I've just installed the program, v0.13.6, and during the process of the batch file I got the same error as reported in #308.
I haven't read the whole thread but the solution mentioned there worked.
Since that issue is closed and the problem is still present, I just wanted to remind that the solution was not integrated into the program.

How can the bug be recreated?

  1. Run the program
  2. Search for nvidia
  3. Check Disable Nvidia telemetry drivers
  4. Run the script

Operating system

Windows 10 Pro 22H2

Script file

privacy-script.txt

Screenshots

No response

Additional information

No response

@bobcate bobcate added the bug Something isn't working label Nov 11, 2024
@jarelllama
Copy link

Indeed the error is still happening:

--- Disable Nvidia telemetry drivers
Searching for items matching pattern: "C:\Windows\System32\DriverStore\FileRepository\NvTelemetry*.dll".
Iterating files and directories recursively.
Initiating processing of 1 items from "C:\Windows\System32\DriverStore\FileRepository\NvTelemetry*.dll".
Processing file: "C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_9425e4c3b1ac1c47\NvTelemetry64.dll".
$pathGlobPattern = "C:\Windows\System32\DriverStore\FileRepository\NvTelemetry*.dll"; $expandedPath =
[System.Environment]::ExpandEnvironmentVariables($pathGlobPattern); Write-Host "Searching for items matching pattern:
`"$($expandedPath)`"."; $renamedCount   = 0; $skippedCount   = 0; $failedCount    = 0; $foundAbsolutePaths = @();
Write-Host 'Iterating files and directories recursively.'; try { $foundAbsolutePaths += @(; Get-ChildItem -Path
$expandedPath -Force -Recurse -ErrorAction Stop | Select-Object -ExpandProperty FullName; ); } catch
[System.Management.Automation.ItemNotFoundException] { <# Swallow, do not run `Test-Path` before, it's unreliable for
globs requiring extra permissions #>; }; try { $foundAbsolutePaths += @(; Get-Item -Path $expandedPath -ErrorAction
Stop | Select-Object -ExpandProperty FullName; ); } catch [System.Management.Automation.ItemNotFoundException] { <#
Swallow, do not run `Test-Path` before, it's unreliable for globs requiring extra permissions #>; };
$foundAbsolutePaths = $foundAbsolutePaths | Select-Object -Unique | Sort-Object -Property { $_.Length } -Descending;
if (!$foundAbsolutePaths) { Write-Host 'Skipping, no items available.'; exit 0; }; Write-Host "Initiating processing
of $($foundAbsolutePaths.Count) items from `"$expandedPath`"."; foreach ($path in $foundAbsolutePaths) { if (Test-Path
-Path $path -PathType Container) { Write-Host "Skipping folder (not its contents): `"$path`"."; $skippedCount++;
continue; }; if($revert -eq $true) { if (-not $path.EndsWith('.OLD')) { Write-Host "Skipping non-backup file:
`"$path`"."; $skippedCount++; continue; }; } else { if ($path.EndsWith('.OLD')) { Write-Host "Skipping backup file:
`"$path`"."; $skippedCount++; continue; }; }; $originalFilePath = $path; Write-Host "Processing file:
`"$originalFilePath`"."; if (-Not (Test-Path $originalFilePath)) { Write-Host "Skipping, file `"$originalFilePath`"
not found."; $skippedCount++; exit 0; }; if ($revert -eq $true) { $newFilePath = $originalFilePath.Substring(0,
$originalFilePath.Length - 4); } else { $newFilePath = "$($originalFilePath).OLD"; }; try { Move-Item -LiteralPath
"$($originalFilePath)" -Destination "$newFilePath" -Force -ErrorAction Stop; Write-Host "Successfully processed
`"$originalFilePath`"."; $renamedCount++; } catch { Write-Error "Failed to rename `"$originalFilePath`" to
`"$newFilePath`": $($_.Exception.Message)"; $failedCount++; }; }; if (($renamedCount -gt 0) -or ($skippedCount -gt 0))
{ Write-Host "Successfully processed $renamedCount items and skipped $skippedCount items."; }; if ($failedCount -gt 0)
{ Write-Warning "Failed to process $($failedCount) items."; } : Failed to rename
"C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_9425e4c3b1ac1c47\NvTelemetry64.dll" to
"C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_9425e4c3b1ac1c47\NvTelemetry64.dll.OLD": Access to
the path is denied.
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException

WARNING: Failed to process 1 items.

@eiqnepm
Copy link

eiqnepm commented Dec 31, 2024

On the standard preset the NVIDIA App is removed. I wasn't aware this would happen as the standard preset mentions that all apps and system services will remain functional. I'd suggest not removing the NVIDIA App on the standard preset and only applying patches that keep the NVIDIA App functional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants