• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Access to path is denied

AsterixenObelix

New Member
Joined
Nov 19, 2021
Messages
8 (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??
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,028 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
Hmm... disk full?
 
Joined
Oct 15, 2011
Messages
1,963 (0.43/day)
Location
Springfield, Vermont
System Name KHR-1
Processor Ryzen 9 5900X
Motherboard ASRock B550 PG Velocita (UEFI-BIOS P3.40)
Memory 32 GB G.Skill RipJawsV F4-3200C16D-32GVR
Video Card(s) Sapphire Nitro+ Radeon RX 6750 XT
Storage Western Digital Black SN850 1 TB NVMe SSD
Display(s) Alienware AW3423DWF OLED-ASRock PG27Q15R2A (backup)
Case Corsair 275R
Audio Device(s) Technics SA-EX140 receiver with Polk VT60 speakers
Power Supply eVGA Supernova G3 750W
Mouse Logitech G Pro (Hero)
Software Windows 11 Pro x64 23H2
Looks like the Windows permissions are screwed and you need to wipe the drive and do a clean install of Windows 10.
 

AsterixenObelix

New Member
Joined
Nov 19, 2021
Messages
8 (0.01/day)
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?
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,028 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
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
 
Joined
Jul 16, 2014
Messages
8,116 (2.28/day)
Location
SE Michigan
System Name Dumbass
Processor AMD Ryzen 7800X3D
Motherboard ASUS TUF gaming B650
Cooling Artic Liquid Freezer 2 - 420mm
Memory G.Skill Sniper 32gb DDR5 6000
Video Card(s) GreenTeam 4070 ti super 16gb
Storage Samsung EVO 500gb & 1Tb, 2tb HDD, 500gb WD Black
Display(s) 1x Nixeus NX_EDG27, 2x Dell S2440L (16:9)
Case Phanteks Enthoo Primo w/8 140mm SP Fans
Audio Device(s) onboard (realtek?) - SPKRS:Logitech Z623 200w 2.1
Power Supply Corsair HX1000i
Mouse Steeseries Esports Wireless
Keyboard Corsair K100
Software windows 10 H
Benchmark Scores https://i.imgur.com/aoz3vWY.jpg?2
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.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,028 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
Does this happen every single time or just rarely? What antivirus are you using? Any difference if you turn it off?
 
Joined
Oct 24, 2019
Messages
95 (0.06/day)
System Name Dark Flash Phantom
Processor i9-9900KS @ 5.3Ghz
Motherboard Z390 AORUS MASTER
Cooling RBG 2000 to 6000 rpm Fans
Memory 64Gb DDR4 3800Mhz
Video Card(s) RTX 4070 Super
Storage 5 Sabrent 2TB Rocket NVMe PCIe M.2 SSD Drives
Display(s) 55 inch Sony
Case Darkflash Phantom
Power Supply 1300 Watt
VR HMD Quest 3
Software Windows 11 / Linux Duel Boot
Benchmark Scores https://www.gpumagick.com/scores/show.php?id=34679 https://valid.x86.fr/cs4dc6
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
 
Joined
Oct 24, 2019
Messages
95 (0.06/day)
System Name Dark Flash Phantom
Processor i9-9900KS @ 5.3Ghz
Motherboard Z390 AORUS MASTER
Cooling RBG 2000 to 6000 rpm Fans
Memory 64Gb DDR4 3800Mhz
Video Card(s) RTX 4070 Super
Storage 5 Sabrent 2TB Rocket NVMe PCIe M.2 SSD Drives
Display(s) 55 inch Sony
Case Darkflash Phantom
Power Supply 1300 Watt
VR HMD Quest 3
Software Windows 11 / Linux Duel Boot
Benchmark Scores https://www.gpumagick.com/scores/show.php?id=34679 https://valid.x86.fr/cs4dc6
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
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,028 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit

AsterixenObelix

New Member
Joined
Nov 19, 2021
Messages
8 (0.01/day)
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?
 
Joined
Jul 16, 2014
Messages
8,116 (2.28/day)
Location
SE Michigan
System Name Dumbass
Processor AMD Ryzen 7800X3D
Motherboard ASUS TUF gaming B650
Cooling Artic Liquid Freezer 2 - 420mm
Memory G.Skill Sniper 32gb DDR5 6000
Video Card(s) GreenTeam 4070 ti super 16gb
Storage Samsung EVO 500gb & 1Tb, 2tb HDD, 500gb WD Black
Display(s) 1x Nixeus NX_EDG27, 2x Dell S2440L (16:9)
Case Phanteks Enthoo Primo w/8 140mm SP Fans
Audio Device(s) onboard (realtek?) - SPKRS:Logitech Z623 200w 2.1
Power Supply Corsair HX1000i
Mouse Steeseries Esports Wireless
Keyboard Corsair K100
Software windows 10 H
Benchmark Scores https://i.imgur.com/aoz3vWY.jpg?2

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,028 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
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
 

AsterixenObelix

New Member
Joined
Nov 19, 2021
Messages
8 (0.01/day)
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.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,028 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
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.
 
Joined
Mar 15, 2019
Messages
7 (0.00/day)
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.
 

AsterixenObelix

New Member
Joined
Nov 19, 2021
Messages
8 (0.01/day)
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.
 
Top