Why is command prompt opening a second window to run command, and how do I fix it?

Smokey Vanid 30 Reputation points
2024-01-19T06:04:22.83+00:00

I went to open sdk platform-tools to work on my android device, and command prompt opens a second window to run the code. The command actually goes through and functions, but I am asked to give permission after every hit of the Enter Key, even with administrator active. The code flies through in one millionth of a second and disappears before I can read success or failure, and the only reason I know the commands are sometimes working is because when I reset the device by command, the device resets. Can anyone tell me what is going on and how I can fix it? Thanks.

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
0 comments No comments
{count} votes

Accepted answer
  1. Simon Ren-MSFT 40,341 Reputation points Microsoft External Staff
    2024-01-22T08:11:39.8433333+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    It seems the problem is NOT a MCM related problem, you may add the corresponding tag so that the experts who are familiar with that topic may help.

    If you are using Windows SDK, you can post new thread here:

    https://learn.microsoft.com/en-us/answers/tags/184/windows-app-sdk/

    For Android SDK, please see:

    https://developer.android.com/tools/releases/platform-tools

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    If the response is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Smokey Vanid 30 Reputation points
    2024-01-24T22:26:34.69+00:00

    My issues was not an SDK platform-tools problem as much as it was a system error within Windows itself. I ended up performing a full format and system restore to fix the issue. It probably happened when I removed Microsoft Defender from my system, but it had to be done as Defender just gets in the way of anything 3rd party - open source, and lacks the user controls to shut off completely when needed. But I believe I disabled something else along with my removal of Defender.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.