question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Program 'az.cmd' failed to run: The system cannot find the file specifiedAt line:1 char:1

See original GitHub issue

Program ‘az.cmd’ failed to run: The system cannot find the file specifiedAt line:1 char:1

+ az --version
+ ~~~~~~~~~~~~.
At line:1 char:1
+ az --version
+ ~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

i am facing this error , not getting how to fix it , as i am using windows 10 machine ,powershell 3.10 is installed

_Originally posted by @gyalamanch in https://github.com/Azure/azure-cli/issues/9562#issuecomment-897265333_

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gyalamanchcommented, Aug 15, 2021

reimaged the laptop to fix the issue

1reaction
jiaslicommented, Apr 15, 2022

I found these posts on internet:

The error doesn’t seem to come from az.cmd, but from some misconfiguration of CMD itself. Could you open Registry Editor by running regedit and check the value of

HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun

If there is any command, please remove it to see if the issue is solved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The term 'az' is not recognized as the name of a cmdlet ...
For those who get these error in local while trying to access AZ, try this command below in an admin PowerShell instance.
Read more >
How to Fix the System Cannot Find the File Specified - EaseUS
Right-click the Start button, type cmd in the Search, and select Command Prompt (Admin).
Read more >
Can not find kubectl executable in PATH - Server Fault
You need to install kubectl in your azure cli. Run this command: az aks install-cli. Then add "C:\Users{user}.azure-kubectl" to your PATH in ...
Read more >
11 Ways to Fix "The System Cannot Find The Path Specified ...
11 Ways to Fix "The System Cannot Find The Path Specified" Error on Windows · 1. Run Command Prompt as an Administrator ·...
Read more >
Docker Desktop for Windows
pipe/docker_engine: The system cannot find the file specified. At line:1 char:1. docker ps; + CategoryInfo : NotSpecified: (error during ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found