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

NVAPI_ACCESS_DENIED #9

Closed
JarBinks opened this issue Aug 4, 2018 · 10 comments
Closed

NVAPI_ACCESS_DENIED #9

JarBinks opened this issue Aug 4, 2018 · 10 comments
Labels
bug Something isn't working solved The issue was solved

Comments

@JarBinks
Copy link

JarBinks commented Aug 4, 2018

I am getting the message below when trying to update some settings.
DRS_SaveSettings failed: NVAPI_ACCESS_DENIED

Specifically when trying to modify "CUDA - Force P2 State" = "Off".
I am on Win10.
I have searched a few times and tried a few things:

  • DDU and reinstall NVidia drivers
  • Safe Mode, DDU and reinstall NVidia drivers
  • Looked for read only files
  • Logged in to local admin account

I am sure it is something about my setup but I have not been able to find it.
Any hit you can give would be appreciated.

I am comfortable examining, writing or modifying code if need be.

Thanks!!
image

@DeadManWalkingTO
Copy link
Owner

I try to find the problem. (Please give me few days. Thank you!)

@DeadManWalkingTO
Copy link
Owner

NVAPI_ACCESS_DENIED
The issue is that when you installed your NVIDIA driver it didn't installed correctly!

Solution:

  1. Look for the folder named Drs located in "C:\ProgramData\NVIDIA Corporation".
  2. Delete the folder "Drs" (if its not there goto next step).
  3. Create a new folder with name "Drs".

Thats all.

@DeadManWalkingTO DeadManWalkingTO added the solved The issue was solved label Oct 21, 2018
@JarBinks
Copy link
Author

JarBinks commented Oct 25, 2018

I am sorry to say that it did not fix the issue.

I added the directory "C:\Program Files\NVIDIA Corporation\Drs", which did not exist.

Things I did after, but they did not work:

  • I checked over the security on the new directory
  • I updated to the latest version of Profile Inspector
  • Rebooted the machine
  • Checked the directory security

image

@DeadManWalkingTO DeadManWalkingTO removed the solved The issue was solved label Oct 28, 2018
@DeadManWalkingTO
Copy link
Owner

  1. Remove all nVidia software and drivers. (Use Display Driver Uninstaller - DDU).
  2. Reinstalling the latest Driver and PhysX ONLY (no 3D drivers, no GFEX).
  3. Download the separate GeForce Experience package and install that afterwards.
  4. Feedback here!

Thank you!

@Squall-Leonhart
Copy link

It didn't work because you read the instructions wrong,

Deadman said "C:\ProgramData\NVIDIA Corporation"

You went to "Program Files"

@DeadManWalkingTO DeadManWalkingTO added bug Something isn't working solved The issue was solved labels Dec 24, 2018
@ohcibi
Copy link

ohcibi commented Feb 26, 2019

@Squall-Leonhart is right. I wouldn't call this issue 'closed' though since the program could just create the folder itself it its missing and not fail with a meaningless error.

A caveat of the workaround is: the Folder ProgramData is hidden. One way to get there is to simply copy the path C:\ProgramData\ into the address bar of the explorer window and hit enter. You don't need to enable hidden files with that approach.

@ohcibi
Copy link

ohcibi commented Mar 2, 2019

@deadmanwalking why has the issue been closed?? The bug is still present with the very latest version as I have said. The fact that one can workaround this does not mean that the problem itself got solved. For the matter of this issue the program should silently create the missing directory and not just fail with a meaningless error. Please re-open it.

@Squall-Leonhart
Copy link

no, it shouldn't create the folder, nor should it create the drs file if it is not present.
The folder should already exist and have files in it.
if it doesn't, run a Reset to Defaults in the NVCP.

@ohcibi
Copy link

ohcibi commented Mar 4, 2019

@Squall-Leonhart then the error message should be updated to tell the exact problem.

@DeadManWalkingTO
Copy link
Owner

DeadManWalkingTO commented Mar 6, 2019

The "C: \ ProgramData \ NVIDIA Corporation" folder should already exist after installing the driver.
Something in your system is messing with your drivers.

  1. Remove all nVidia software and drivers. (Use Display Driver Uninstaller - DDU).
  2. Reinstalling the latest Driver and PhysX ONLY (no 3D drivers, no GFEX).
  3. Check issue.
  4. Download and install the separate GeForce Experience package.

I insist that the solution to this issue is

NVAPI_ACCESS_DENIED
The issue is that when you installed your NVIDIA driver it didn't installed correctly!
Solution:

  1. Look for the folder named Drs located in "C:\ProgramData\NVIDIA Corporation".
  2. Delete the folder "Drs" (if its not there goto next step).
  3. Create a new folder with name "Drs".

Thank you!

Repository owner locked as resolved and limited conversation to collaborators Mar 6, 2019
@DeadManWalkingTO DeadManWalkingTO unpinned this issue Mar 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working solved The issue was solved
Projects
None yet
Development

No branches or pull requests

4 participants