Windows 10: cmd running as administrator access is denied

Discus and support cmd running as administrator access is denied in AntiVirus, Firewalls and System Security to solve the problem; I'm trying to run C:\Program Files x86\win64>python3.8 setup.py install running installrunning buildrunning build_pyrunning install_libcreating... Discussion in 'AntiVirus, Firewalls and System Security' started by Hao S, Mar 28, 2021.

  1. Hao S Win User

    cmd running as administrator access is denied


    I'm trying to run [COLOR=var--highlight-color]C:\Program Files x86\win64>python3[/COLOR][COLOR=var--highlight-namespace].8[/COLOR][COLOR=var--highlight-color] setup.py install[/COLOR]


    [COLOR=var--highlight-color]
    [COLOR=var--highlight-color]
    running installrunning buildrunning build_pyrunning install_libcreating C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python[COLOR=var--highlight-namespace].3.8_3.8.2288.0[/COLOR]_x64__qbz5n2kfra8p0\Lib\site-packages\gurobipyerror: could [COLOR=var--highlight-keyword]not[/COLOR] create [COLOR=var--highlight-variable]'C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2288.0_x64__qbz5n2kfra8p0\Lib\site-packages\gurobipy'[/COLOR]: Access [COLOR=var--highlight-keyword]is[/COLOR] denied
    [/COLOR]



    However I am already running as administrator so why is access denied???
    [/COLOR]

    :)
     
    Hao S, Mar 28, 2021
    #1
  2. Yolvi Ell Win User

    net user administrator /active:no keeps saying access denied.

    Hi Rebekah,

    It's possible that you're not using an elevated command prompt, causing the Access Denied error. We suggest following these steps to properly disable the built-in administrator account:

    • Right-click the Start button.
    • Choose Command Prompt (Admin).
    • Copy and paste net user Administrator /active:no and press
      Enter
      . If the command isn't successful, please post a screenshot so that we can study it further.

    Let us know if you're able to hide the administrator account after following these steps.
     
    Yolvi Ell, Mar 28, 2021
    #2
  3. chirag1 Win User
    windows 10 administrator cmd access denied

    hi,i am learning bash scripting.so like said in teaching books about bash script I tried this below command as a administrator from administrator cmd.Dont know why I searched it in google that but it simply said that I have to open cmd like search it then
    click left click from mouse then choose administrator option then some promt will pop up then hit yes to open a administrator cmd I did exactly.and I am sure that I am doing this in administrator cmd but don't know why I am getting access denied


    cmd running as administrator access is denied d672a786-8284-4f22-b03f-ab405a438ffe.png
     
    chirag1, Mar 28, 2021
    #3
  4. PeteSHP Win User

    cmd running as administrator access is denied

    net user administrator /active:no keeps saying access denied.

    Can't send screen shot. Entering Command prompt(admin) get "Do you want this app..." box with NO as the only choice. I have tried everything I've found on the net to enable the built in administrative account to no avail. Running Win10 OS build: 16299.125.
    HELP!

     
    PeteSHP, Mar 28, 2021
    #4
Thema:

cmd running as administrator access is denied

Loading...
  1. cmd running as administrator access is denied - Similar Threads - cmd running administrator

  2. Administrator Denied Access

    in Windows 10 Gaming
    Administrator Denied Access: I am the administrator on Windows 11 Pro and can not view all folder in file explorer. When trying to view the folders in “C:\Users\All Users”, I am denied access.This a home computer and I am the only user/account. How do I gain access to my own computer?...
  3. Administrator Denied Access

    in Windows 10 Software and Apps
    Administrator Denied Access: I am the administrator on Windows 11 Pro and can not view all folder in file explorer. When trying to view the folders in “C:\Users\All Users”, I am denied access.This a home computer and I am the only user/account. How do I gain access to my own computer?...
  4. can't run CMD as administrator?

    in Windows 10 Gaming
    can't run CMD as administrator?: can't run CMD as administrator?missing msdmo.dll filekeep getting the error "a file associated with this cannot be found" or "device associated............etc"...
  5. weird access denied error on cmd when running...

    in Windows 10 Gaming
    weird access denied error on cmd when running...: helloi found a forum thread on here about how to remove unwanted hacky organisations of your pc it told me to run a list of commandsall went fine except for this one:"HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies"i was told that 'access was denied'...
  6. weird access denied error on cmd when running...

    in Windows 10 Software and Apps
    weird access denied error on cmd when running...: helloi found a forum thread on here about how to remove unwanted hacky organisations of your pc it told me to run a list of commandsall went fine except for this one:"HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies"i was told that 'access was denied'...
  7. Administrator access denied

    in Windows 10 Gaming
    Administrator access denied: Hi guys accidently on my window 11Education version a I deleted administrator account and now I'm facing problem because unable to install any software because my laptop ask for administrator privilege to install any thing...
  8. Administrator access denied

    in Windows 10 Software and Apps
    Administrator access denied: Hi guys accidently on my window 11Education version a I deleted administrator account and now I'm facing problem because unable to install any software because my laptop ask for administrator privilege to install any thing...
  9. CMD access denied

    in Windows 10 Ask Insider
    CMD access denied: I wanted to change my backup folder for iTunes. For that i need to type "mklink "C:\Users\morit\AppData\Roaming\Apple Computer\MobileSync\Backup" D:\iTunes\Backup" into the cmd. I started the cmd as administrator but it still denies the access. I already turned kaspary off...
  10. CMD - Access Denied

    in Windows 10 Customization
    CMD - Access Denied: [ATTACH] 1 question. Why? https://answers.microsoft.com/en-us/windows/forum/all/cmd-access-denied/9e96bbf5-05f4-4931-ad21-8eecfdd355c8