Unable to execute, error 5 access denied.

statxi

New member
Local time
9:15 PM
Messages
4
Recently whenever I have attempted to install virtually any program, I've been constantly receiving this error message "unable to execute file in the temporary directory error 5 access is denied". From several google searches I have understood that the general cause of this error message is a lack of privileges regarding the temp folder. However this has not helped me since I have the permissions required so I cannot give myself them. I've found a few suggestions to use the "hidden" administrator account or make another administrator account and install via those, this does not work either. This has only begun happening recently and I would prefer to fix the issue instead of restoring/formatting.

All help is appreciated, thank you!
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional N 64bit

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    HP Pavilion 6751c
    OS
    Win7, Win10, Win11
    Internet Speed
    100 Mbps
    Antivirus
    Norton 360
    Browser
    IE 11
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    HP ENVY 750-514 & Dell XPS 8960
    OS
    Win7, Win10, Win11
    Antivirus
    Norton 360
Having looked I don't actually have any restore points before when I first received the error unfortunately.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional N 64bit

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
AMD Ryzen 5 2400G Processor with Radeon RX Vega 11 Graphics
Motherboard
ASRock X470 Master SLI/AC AM4 AMD Promontory X470 SATA 6Gb/s
Memory
G.SKILL Ripjaws V Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM D
Graphics Card(s)
2047MB NVIDIA GeForce GTX 1060 6GB (EVGA)
Sound Card
Motherboard Built in
Monitor(s) Displays
Acer R240HY bidx 23.8-Inch IPS HDMI DVI VGA (1920 x 1080) Wi
Screen Resolution
1920 x 1080
Hard Drives
1TB Sandisk SSD PLUS (Main drive)
500 GB Seagate 7200 RPM (Games)
500 GB Western Digital 7200 RPM (Virtual Machines)
PSU
CORSAIR TX Series TX650M 650W 80+ Gold Modular Power Supply
Case
CORSAIR CARBIDE SPEC-02 Mid-Tower Gaming Case, Red LED Fan
Cooling
220mm, two 120mm, and four 60mm fans
Keyboard
Wired Dell keyboard
Mouse
Wireless Logitech mouse
Internet Speed
250mb down, 30mb up
Antivirus
Panda Cloud Antivirus
Browser
Chrome-ish x64
Other Info
Your awesome for reading this.
Recently whenever I have attempted to install virtually any program, I've been constantly receiving this error message "unable to execute file in the temporary directory error 5 access is denied". From several google searches I have understood that the general cause of this error message is a lack of privileges regarding the temp folder. However this has not helped me since I have the permissions required so I cannot give myself them. I've found a few suggestions to use the "hidden" administrator account or make another administrator account and install via those, this does not work either. This has only begun happening recently and I would prefer to fix the issue instead of restoring/formatting.

All help is appreciated, thank you!

Did you use the steps listed below?

Navigate to %temp% or C:\Users\[Username]\AppData\Local and right click on the Temp folder and choose properties, then click the security tab and click advanced.

On the permissions tab you should see the permissions that are there. There should be 3 which are:

1. 'SYSTEM' with Full control which applies to 'This folder, subfolders and files'
2. 'Administrators' with Full control which applies to 'This folder, subfolders and files'
3. 'Your Username' with Full control which applies to 'This folder, subfolders and files'
and all 3 should be inherited from the C:\Users\[Username]\ folder.

If you don't have the 'Include inheritable permissions from this object's parent' option ticked, then tick it and click continue; if there are any problems, then remove the permissions that aren't inherited.
Once you click 'Apply' and click 'OK' you should have the permissions to write to the directory and you won't get those error messages any more.
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Professional x64
CPU
Intel i5 quad processor
Motherboard
DP67BG
Memory
16 GB
Graphics Card(s)
Radeon HD 5770
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Samsung SyncMaster
Screen Resolution
1920X1080
Hard Drives
WD 2TB (SATA Internal)
WD 1TB (USB External)
PSU
Corsair GS800
Case
Tower (Generic)
Cooling
3 Internal Fans
Keyboard
MS Wireless
Mouse
MS Optical Wired
Internet Speed
54 mbps
Antivirus
Emsisoft
Browser
IE-Version 9, Palemoon-Version 24.2.0
Recently whenever I have attempted to install virtually any program, I've been constantly receiving this error message "unable to execute file in the temporary directory error 5 access is denied". From several google searches I have understood that the general cause of this error message is a lack of privileges regarding the temp folder. However this has not helped me since I have the permissions required so I cannot give myself them. I've found a few suggestions to use the "hidden" administrator account or make another administrator account and install via those, this does not work either. This has only begun happening recently and I would prefer to fix the issue instead of restoring/formatting.

All help is appreciated, thank you!

Hello,

Missing old restore points.

Did you recently do a fresh install of Windows?

Did you delete your old restore points?

If you have not done either, you may be infected. This would account for system changes and missing files.

John
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    HP Pavilion 6751c
    OS
    Win7, Win10, Win11
    Internet Speed
    100 Mbps
    Antivirus
    Norton 360
    Browser
    IE 11
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    HP ENVY 750-514 & Dell XPS 8960
    OS
    Win7, Win10, Win11
    Antivirus
    Norton 360
I have followed the steps and unfortunately it hasn't resolved the issue, I'm running a virus scan at the moment whilst at uni so hopefully that will have some good news when I get back.

Also I don't have any recollection of removing previous restore points however when I did format I didn't really use the pc too much during the summer though the lack of restore points does concern me somewhat.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional N 64bit
I have followed the steps and unfortunately it hasn't resolved the issue, I'm running a virus scan at the moment whilst at uni so hopefully that will have some good news when I get back.

Also I don't have any recollection of removing previous restore points however when I did format I didn't really use the pc too much during the summer though the lack of restore points does concern me somewhat.

Hello Statxi,

Just for good measures. It would be a sound choice to check for Virus and Malware before continuing to diagnose your issue.

What do you use for Internet Security?

After you have ran a virus scan and removed any threats it finds.

Download Malwarebytes, and Junkware Removal Tool, run a scan and remove whatever is found, as well.

Afterwards, let us know if there is any improvement.

Hope this helps,
John
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    HP Pavilion 6751c
    OS
    Win7, Win10, Win11
    Internet Speed
    100 Mbps
    Antivirus
    Norton 360
    Browser
    IE 11
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    HP ENVY 750-514 & Dell XPS 8960
    OS
    Win7, Win10, Win11
    Antivirus
    Norton 360
Ironically I can't install junkware removal tool because access is denied to temp folder. Running malwarebytes at the moment but I'll be away or a few days so I'll necro topic then.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional N 64bit
Ironically I can't install junkware removal tool because access is denied to temp folder. Running malwarebytes at the moment but I'll be away or a few days so I'll necro topic then.

Hello Statxi,

If you are unable to install JRT by selecting RUN, then select SAVE AS
to the Desktop.

Double-click to open the App. Press any key to start the scan.

Be patient, takes about 10 minutes to complete.

Review JRT Log to make sure everything has been deleted.

Post the log if not sure.

Hope this helps,
John
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    HP Pavilion 6751c
    OS
    Win7, Win10, Win11
    Internet Speed
    100 Mbps
    Antivirus
    Norton 360
    Browser
    IE 11
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    HP ENVY 750-514 & Dell XPS 8960
    OS
    Win7, Win10, Win11
    Antivirus
    Norton 360
Back
Top