"Windows cannot access the specified device, path, or file." error on windows 8, WITH JUST INSTALLATION EXE , NOT executable shortcuts

7,591

I found the solution in changing a registry key which exactly does what I need but some side effects too. Thanks to user1832687 I was able to fully disable UAC in windows 8.

I went to:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System

And found:

Ena‌​bleLUA

and changed the value from 1 to 0

closed the Registry Edit window and rebooted.

Results:

  1. I don't receive any UAC prompt over running any EXE file, whether or not it is installation package and whether or not it is being run through other places than windows explorer, e.g IDM download list.
  2. I still have "Run As Administrator" visible and functional in my right clicks context menu
  3. And finally and most importantly, on running exe installation files, THE ERROR BELOW NO LONGER HIT MY SCREEN:

" Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

Side Effect:

I can't run any metro app! any idea?

Share:
7,591
K.MED
Author by

K.MED

Updated on September 18, 2022

Comments

  • K.MED
    K.MED over 1 year

    I am the Admin on windows 8 enterprise, I have my UAC prompt turned off. I ALWAYS (regardless of UAC prompt settings) receive this error when running ALL EXE files which are only installation packages but no problem with running EXE shortcut of already installed apps.

    The error is: " Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

    I can't post the image as I need 10 reputation points but the title bar of error window states the address of my "temp" folder which sounds that must be accessible during installation process.

    I can bypass the error by right click and Run As Administrator. but I don't want this.

    I need to make it as default in my system so that no more right click is needed. Moreover I would be able to run them from inside IDM download list where no Run As Administrator is found in its right click menu.

    your help is highly appreciated.

    • Ramhound
      Ramhound about 10 years
      indows 8 changed how UAC works. Even if you disable it, its still turned on, whats disabled is the elevation prompts. You have to disable it through a group policy change
    • Ƭᴇcʜιᴇ007
      Ƭᴇcʜιᴇ007 about 10 years
      Are you on a work computer or your personal home machine?
    • K.MED
      K.MED about 10 years
      thanks for the link, I did the same changes and restarted the system but this is not doing the job. still have the problem.
    • K.MED
      K.MED about 10 years
      Is there any possibility of problems with temp folder access privileges, as I noticed that the title bar of my error notification window states the address of my temp folder.
  • Vinayak
    Vinayak about 10 years
    In my opinion, disabling UAC is a really bad idea. There's a reason why computers with UAC turned off are far more prone to malware infestations than computers with UAC turned on. That being said, from your question it seems to me that the problem you're facing has to have something to do with incorrect NTFS permissions set for the "Temp" folder. If you have Adobe Acrobat XI installed, that could be the reason for the permissions reset.
  • K.MED
    K.MED about 10 years
    @Vinayak yes I have acrobat XI installed. Is there any solution to revert those changes without uninstalling the program?
  • Vinayak
    Vinayak about 10 years
    The solution is to either buy the software or uninstall it. From what I gather this problem only affects people who have pirated versions of Acrobat XI installed
  • K.MED
    K.MED about 10 years
    Can it be solved by uninstalling and reinstalling on different partition?
  • Vinayak
    Vinayak about 10 years
    I'm sorry. I can't help you if you use pirated software.