Program says I don't have priviliges to run it even on admin account


  1. Posts : 3
    Windows 10 Home
       #1

    Program says I don't have priviliges to run it even on admin account


    I have been using visual studio code normally for about two months, but today, when I want to launch it, I get an error message: (rough translation) "Windows does not have access to the selected device or file. You probably don't have permission to access it". I am on the admin account. My version of windows is 17763.678.
      My Computer


  2. Posts : 7,607
    Windows 10 Home 20H2
       #2

    How did you run the code? Via a script? If so, what script?
      My Computer


  3. Posts : 3
    Windows 10 Home
    Thread Starter
       #3

    Matthew Wai said:
    How did you run the code? Via a script? If so, what script?
    Sorry, maybe I phrased it wrong, I can't start the VScode program itself to edit code
      My Computer


  4. Posts : 7,607
    Windows 10 Home 20H2
       #4

    Right-click on it and select "Run as administrator".
      My Computer


  5. Posts : 3
    Windows 10 Home
    Thread Starter
       #5

    Matthew Wai said:
    Right-click on it and select "Run as administrator".
    I tried it and it gave me the same error as before
      My Computer


  6. Posts : 928
    Win 10
       #6

    Restart the computer and try again.
    Program says I don't have priviliges to run it even on admin account-restart.png
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:02.
Find Us




Windows 10 Forums