Setup execution fails with Access Denied error

rpk2006

New member
Local time
5:32 PM
Messages
2
Location
Central India
I have four partitions on my hard drive, viz., C, E, F and G. Partitions C and G are NTFS whereas E and F are FAT32.

I downloaded wxRuby Setup to the partition E. When I tried to execute the Setup, Windows 7 displayed an error: "Unable to execute file in the temporary directory. Setup aborted. Error 5: Access is denied"

I tried to execute it as an administrator by right-clicking and selecting "Run as Administrator". It again displays the same error.

I brought the slider level of UAC to the lowest level to turn UAC off and restarted the PC, still I am getting the same error.

I have created Windows Temp folder in the partition E by changing the Environment Variables. I did this to avoid fragmentation on the partition that contains OS. I have even changed the path of the Windows page (swap) file. I right-clicked this Temp folder to check the rights. I changed the ownership and allowed all rights, still the problem is there.

I changed the Windows Temp folder location to Windows default and restarted the machine. I get the same error when I try to execute the Setup.

Here please note that I am logging in as an Administrator. It is not a Guest account.

How to get rid of this problem?
 

My Computer My Computer

OS
Windows 7
Try this. With explorer navigate to the drive. Right click on it and choose properties, go to the sharing tab, it will probably say not shared, either click on the share button or the advanced sharing button, in the top space type everyone, click the permissions tab and select full control, click apply, apply again and OK. the partition should be shared now.
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ALWAYS UNDER CONSTRUCTION
    OS
    Windows 11 Pro
    CPU
    Ryzen 9 5900X
    Motherboard
    Asus X570 Crosshair Viii Hero
    Memory
    32GB G Skill DDR4-3600
    Graphics Card(s)
    EVGA RTX 3080 FTW 3 Ultra
    Sound Card
    On Board/Sennheiser PC37X Headset
    Monitor(s) Displays
    3 X Asus 27"
    Screen Resolution
    2560x1440
    Hard Drives
    2 X 1 TB NVME drives
    PSU
    EVGA 850
    Case
    Phanteks Eclipse P400A
    Cooling
    EVGA 280 AIO
    Keyboard
    Logitech G510s/ Logitech G13
    Mouse
    Logitech G502
    Internet Speed
    24/1
    Antivirus
    ESET/MBAM Pro/SAS Pro
    Browser
    Chrome/ Firefox/ Edge
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell 16 Plus
    OS
    Windows 11 Pro
    CPU
    Intel Ultra 9 288V
    Memory
    32 GB LPDDR5X 8533
    Monitor(s) Displays
    16" Mini-LED HDR600 Touch 90 Hz
    Screen Resolution
    2560X1600
    Hard Drives
    1 TB NVME
Have you gone back into properties and made sure the partition is shared and the permissions are full control?

These tutorials are for vista but work the same in Windows 7. They may help you.
Take ownership
This tutorial See option 2 Take ownership
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ALWAYS UNDER CONSTRUCTION
    OS
    Windows 11 Pro
    CPU
    Ryzen 9 5900X
    Motherboard
    Asus X570 Crosshair Viii Hero
    Memory
    32GB G Skill DDR4-3600
    Graphics Card(s)
    EVGA RTX 3080 FTW 3 Ultra
    Sound Card
    On Board/Sennheiser PC37X Headset
    Monitor(s) Displays
    3 X Asus 27"
    Screen Resolution
    2560x1440
    Hard Drives
    2 X 1 TB NVME drives
    PSU
    EVGA 850
    Case
    Phanteks Eclipse P400A
    Cooling
    EVGA 280 AIO
    Keyboard
    Logitech G510s/ Logitech G13
    Mouse
    Logitech G502
    Internet Speed
    24/1
    Antivirus
    ESET/MBAM Pro/SAS Pro
    Browser
    Chrome/ Firefox/ Edge
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell 16 Plus
    OS
    Windows 11 Pro
    CPU
    Intel Ultra 9 288V
    Memory
    32 GB LPDDR5X 8533
    Monitor(s) Displays
    16" Mini-LED HDR600 Touch 90 Hz
    Screen Resolution
    2560X1600
    Hard Drives
    1 TB NVME
Back
Top