• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Access to path is denied

Joined
Nov 19, 2021
Messages
9 (0.01/day)
Using the latest version of NVCleanstall. after selecting the NVIDIA driver version and the desired components, NVCleanstall starts preparing sources by copying installer files. When this is almost finished, I get an error message, stating "Copy failed for .nvc/Display.Driver.nvc
Access to the path
'C:\Users\Roger\AppData\Local\Temp\NVcleanstall\.nvc\Display.Driver.nvc' is denied."

Error.jpg


Tried several versions of the NVIDIA driver. always the same error. seems strange to me that all other files can be copied, except this one. I found one previous posting regarding a similar message, using an earlier version of NVCleanstall. that one was solved after a new version of the app was made.

So, anybody any idea??
 
Hmm... disk full?
 
Looks like the Windows permissions are screwed and you need to wipe the drive and do a clean install of Windows 10.
 
Sorry, can't imagine that that's the cause of this problem. None of the programs I install, none of the programs I'm running have a problem with permissions. Windows 10 runs very smooth, as does every program I use. The cause has to be something else. Where does NVCleanstall puts its temporary files? Or where can I find the extracted NVidia driver? Maybe the file above has wrong properties?
 
Where does NVCleanstall puts its temporary files? Or where can I find the extracted NVidia driver?
In your Temp folder, which is "C:\Users\Roger\AppData\Local\Temp" on your system, the standard location
 
Sorry, can't imagine that that's the cause of this problem. None of the programs I install, none of the programs I'm running have a problem with permissions. Windows 10 runs very smooth, as does every program I use. The cause has to be something else. Where does NVCleanstall puts its temporary files? Or where can I find the extracted NVidia driver? Maybe the file above has wrong properties?
Download and do a clean install (but use DDU first), the driver from the nvdia's website. If install completes without a hitch, your all set.
 
Does this happen every single time or just rarely? What antivirus are you using? Any difference if you turn it off?
 
Using the latest version of NVCleanstall. after selecting the NVIDIA driver version and the desired components, NVCleanstall starts preparing sources by copying installer files. When this is almost finished, I get an error message, stating "Copy failed for .nvc/Display.Driver.nvc
Access to the path
'C:\Users\Roger\AppData\Local\Temp\sNVcleantall\.nvc\Display.Driver.nvc' is denied."

View attachment 225799

Tried several versions of the NVIDIA driver. always the same error. seems strange to me that all other files can be copied, except this one. I found one previous posting regarding a similar message, using an earlier version of NVCleanstall. that one was solved after a new version of the app was made.

So, anybody any idea??
Take ownership of that folder
To remove sNVcleantall folder open command as admin type

cd C:\Users\Roger\AppData\Local\Temp
then
takeown /r /d y /f sNVcleantall
then to take ownership of the folder type
icacls sNVcleantall /reset /t

you can now delete folder

Try to reinstall once the folder is gone
 
Why would that be needed?
Sometime folders get trusted installer locked and won't allow you to remove them thus access denied errors just a suggestion to try
 
Does this happen every single time or just rarely? What antivirus are you using? Any difference if you turn it off?
Happens every single time I run NVCleanstall, whatever driver version I choose. I use Bitdefender Total Security. Turning it off makes no difference. What seems strange to me is that every folder in the location where NVCleanstall stores its files, is read only. That obviously has no effect on the files that are copied in there, except for the one mentioned in my opening post. Changing the read only status during the copying phase, has no effect. Can that be a cause for the error message?
When the error shows up, below the green progress bar it says "Dsiplay Driver (decompress)". Copying of the files is almost finished.

Download and do a clean install (but use DDU first), the driver from the nvdia's website. If install completes without a hitch, your all set.
I can install the NVidia driver without a hitch. Minimum options selected, but that seems to be more than NVCleanstall will install when choosing Minimum.

You write that when the driver installs without a hitch, I'm all set. What do you mean with this?
 
read only
When you get the error message, don't close the error window. Go to the Display.Driver.nvc file in Explorer, is it read-only? Remove read-only status and click on retry
 
When you get the error message, don't close the error window. Go to the Display.Driver.nvc file in Explorer, is it read-only? Remove read-only status and click on retry
I’ve looked into that. what seems strange to me is that the folder \.nvc is read-only, but the file Display.Driver.nvc isn’t, no check boxes are marked. All the directories are read-only, BTW.
Although I tried removing the read-only status of the folders, without any positive effect, I’ll give it another try. Keep you informed.
 
The square "readonly" checkbox on the folder seems normal, same on my system. The checkmark checkbox on a file is actually what makes it readonly. Folders themselves can't be readonly on Windows.
 
Happens every single time I run NVCleanstall, whatever driver version I choose. I use Bitdefender Total Security. Turning it off makes no difference. What seems strange to me is that every folder in the location where NVCleanstall stores its files, is read only. That obviously has no effect on the files that are copied in there, except for the one mentioned in my opening post. Changing the read only status during the copying phase, has no effect. Can that be a cause for the error message?
When the error shows up, below the green progress bar it says "Dsiplay Driver (decompress)". Copying of the files is almost finished.


I can install the NVidia driver without a hitch. Minimum options selected, but that seems to be more than NVCleanstall will install when choosing Minimum.

You write that when the driver installs without a hitch, I'm all set. What do you mean with this?
There's your problem: BitDefender.

It is a colossal pain in the rear. Picks a fight with every file, locks them down until you deal with them and even then, you have to reboot. Worst of all, "disabled" doesn't actually do bugger all, including disabling anything. It will just carry on, happy as Larry, blocking files. For which it'll notify you of at some point, ten minutes after the fact.

I learned this the hard way after 2 days of Battlefield 2042 errors, which left my Windows install borked, my BIOS corrupt and my boot sector nuked. The culprit? BitDefender. Why and how it caused all of that I still do not know.

You will need to create exceptions out the wazoo and fight it constantly. Just assume every error you get is BitDefender and start there, you'll be better off.
 
Wow, you seem very clear about your opinion regarding Bitdefender. So even when I switch off any protection, Bitdefender will still have influence, do I understand this correct? I don’t understand why any other file is written to the directory, nit this particular one isn’t. When Bitdefender causes this problem, it should do that right from the beginning, right?
Anyway, I will turn Bitdefender off and give it a try.
 
Back
Top