In this tutorial, we will be discussing the steps to disable the UAC pop up on launching Command Prompt. CMD is a pretty handy tool for carrying out some of the PC’s most important tasks. Moreover, it is a big boon for many users who don’t like tweaking their Registry Editor. While dealing with the latter requires more effort and is quite dangerous if not done in the correct manner, CMD does the same with just a single line of command. Apart from that, if you’re an Android enthusiast, you might very well be knowing the importance of CMD while executing fastboot commands.
However, more often than not, to execute most of the tasks, you will be requiring to launch it as an Administrator. Well, that is quite understandable. But what more often than not irritates me is the User Access Control (UAC) pop up that appears every time we launch CMD as an admin. Since I have already logged in as an Administrator, I just wish this extra step could be done away with. Fortunately, that is very much possible. Today, we will be showing you how you could disable this UAC pop-up while launching Command Prompt as an admin. Also, check out 10 useful Windows Command prompt tricks.
Disable UAC on Launching Command Prompt
- Head over to the Windows Search menu and launch the Task Scheduler program.
- From the Actions menu situated at the right, click on Create Task.
- You will now be taken to the General tab. Enter RunCMD in the Name field and Run Command Prompt as Admin in the Description section (optional). Also, in the Security options, tick-mark the “Run with the highest privileges” feature.
- Next, go to the Actions tab and click on New. You’ll now have to point this scheduler to the application’s .exe file. For that, click on Browse and navigate to C:\Windows\System32. There you will find the cmd.exe file. Select it and hit OK.
- Now, there’s just one more thing left to do before we finalize this task. Head over to the Conditions tab and make sure to uncheck the option under the Power section that reads “Start the Task Only If the Computer Is on AC Power.”
Finally, Click OK to create this task. This was the first half of this guide on how to disable UAC on launching Command Prompt. Let’s proceed ahead with the rest of the instructions. Moreover, using Task Scheduler, you could also automatically open any app at a designated time on Windows. Refer to the guide to know more.
Creating a CMD Shortcut
- Now that we have created a task, it’s time to create a desktop shortcut and assign it to the newly created task. To do so, head over to your desktop, right-click and select New > Shortcut.
- You will now have to assign the task to this shortcut. The general command is
schtasks /run /tn "<taskName>"
- Since the name of our task is RunCMD, our code transforms to:
schtasks /run /tn "RunCMD"
- Click Next once you input this location. Finally, give this shortcut a name: Run CMD as Admin.
- That’s it. Just double click on the shortcut and you’ll see the CMD window open in no time, without the User Access Control pop-up.
So with that, we conclude this guide on how to disable the UAC dialog box when launching the Command Prompt window. Still, having trouble handling the task schedule? Drop-in your queries in the comments section below. And stick with us for more such Windows 10 tips and tricks.