'Run as administrator' results in error

Discussion in 'Windows 10 Help and Support' started by iamstuckplshelp, Feb 2, 2016.

  1. iamstuckplshelp

    iamstuckplshelp New Member

    Joined:
    Feb 2, 2016
    Messages:
    3
    Likes Received:
    0
    I'm facing a new problem with my computer today.

    There is a file on my desktop. I can double click it to run it normally. No problems at all.

    However when I run the file as administrator (right click file -> Run as administrator) I receive the following error message: "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

    I tried searching on google, and have found much, but none of the solutions worked. Also, the problems I found were not caused by "Run as admin"; I couldn't find anything like what I'm experiencing. Again, the file runs perfectly fine when it is opened normally, however when I run it as admin, the error pops up and the file does not run.

    My operating system is Windows 10 Home. Any help is appreciated!
     
  2. MinecraftKid45

    MinecraftKid45 Well-Known Member

    Joined:
    Jun 1, 2015
    Messages:
    72
    Likes Received:
    7
    Are you logged on as an Administrator? Does the File belong to someone else? What is the Application?
     
  3. Neemobeer

    Neemobeer Windows Forum Team
    Staff Member

    Joined:
    Jul 4, 2015
    Messages:
    2,412
    Likes Received:
    366
    Does the file point to a network location?
     
  4. iamstuckplshelp

    iamstuckplshelp New Member

    Joined:
    Feb 2, 2016
    Messages:
    3
    Likes Received:
    0
    I am logged in as an Administrator (went to control panel -> user accounts, underneath my logged in account it says Administrator).

    The file belongs to me (right clicked file -> properties -> security -> advanced, next to "Owner: " is my account name).

    The file is an AutoHotkey (.ahk) file that is supposed to run an automatic keyboard script. I need to run it as Admin because what I'm using it for is game-related, and apparently you need to run as admin for it to work in some games.

    The file, as far as I know, does not point to anywhere? It is not a shortcut, just a file on the desktop that I created.
     
  5. ussnorway

    ussnorway Windows Forum Team
    Staff Member Premium Supporter

    Joined:
    May 22, 2012
    Messages:
    2,540
    Likes Received:
    318
    basic administrator does not have permission to go to another accounts desktop...
    move the file off the desktop and than have a shortcut (on the desk top) pointing to the file.
     
  6. iamstuckplshelp

    iamstuckplshelp New Member

    Joined:
    Feb 2, 2016
    Messages:
    3
    Likes Received:
    0
    I tried putting it in various locations such as my C drive, Documents folder, Downloads folder, and somewhere in my User account folder, but the same problem persists wherever the file is.

    Also, I think my computer only has one active account. I'm the only one who uses it. The files on my desktop are stored within my user account (C:\Users\Me\Desktop). There are several other folders in C:\Users, such as an invisible folder named Default, a folder named Public, and a few that have to do with "postgres" (which I don't think is related to the issue).
     
    #6 iamstuckplshelp, Feb 3, 2016
    Last edited: Feb 3, 2016

Share This Page

Loading...