Home > other >  As an administrator to run on Windows cannot identify 'choco' command
As an administrator to run on Windows cannot identify 'choco' command

Time:01-20


I was installed according to the information on the website Chocolatey (https://chocolatey.org/install),
"Chocolate" command works well, when I was in CMD running normally, but returns, as an administrator to run the following error:
C: \ WINDOWS \ system32 & gt; Choco install wget - y 7 zip.com mandline
'choco' is not recognized as an internal or external command,
Operable program or batch file.

Installation if you don't run as an administrator choco install wget - y 7 zip.com mandline failure,
How to fix in the administrator CMD 'not recognized' mistakes?









+ 0

Search on this web site has not * been identified as internal or external command *, it will be tens of thousands of existing posts about the same problem, in fact, when you release, you can see many of them may be repeated; They are related in * * * * in the list - & gt;> And, of course, at least one of them will tell you how to solve this problem, at least do a simple search here is part of efforts to find a solution before release, -











+ 0

I have been in the browse the posts over the past 30 minutes, when I as an administrator to run CMD, this command doesn't work, I check the PATH, it set up correctly, however, only when I open the CMD normal (not administrator), the command works, can you please point out all I mention as an administrator to run CMD problem? -











CodePudding user response:


I was able to install and use the C: \ ProgramData \ chocolatey \ bin \ choco exe install wget - y 7 zip.com mandline work, I still want to know why when run CMD as an administrator, choco command doesn't work, I would appreciate any help, cheers!

CodePudding user response:

The building Lord find the problem reason, I also is such
  • Related