DRS_SaveSettings failed: NVAPI_ACCESS_DENIED

Author: alphmericCreated Aug 31, 2026Updated Sep 22, 2026
=== Exception Details ===
Type: nvidiaProfileInspector.Common.NvapiException
Message: DRS_SaveSettings failed: NVAPI_ACCESS_DENIED
Source: nvidiaProfileInspector
TargetSite: Void SaveSettings(IntPtr)
StackTrace:    at nvidiaProfileInspector.Common.DrsSettingsServiceBase.SaveSettings(IntPtr hSession)
   at nvidiaProfileInspector.Common.DrsSettingsService.<>c__DisplayClass19_0.<StoreSettingsToProfile>b__0(IntPtr hSession)
   at nvidiaProfileInspector.Common.DrsSettingsServiceBase.<>c__DisplayClass6_0.<DrsSession>b__0(IntPtr hSession)
   at nvidiaProfileInspector.Common.DrsSessionScope.DrsSession[T](Func`2 action, Boolean forceNonGlobalSession, Boolean preventLoadSettings)
   at nvidiaProfileInspector.Common.DrsSettingsService.StoreSettingsToProfile(String profileName, List`1 settings)
   at nvidiaProfileInspector.UI.ViewModels.MainViewModel.ApplyChanges()

Solution

As https://github.com/Orbmu2k/nvidiaProfileInspector/issues/266 suggested, I checked C:\ProgramData\NVIDIA Corporation\ folder and there is no Drs folder exist. By creating it, save was successful.

Bugfix

Before displaying NVAPI_ACCESS_DENIED, check the Drs folder existence. If it does not exist then create C:\ProgramData\NVIDIA Corporation\Drs folder.

Source: Orbmu2k/nvidiaProfileInspector