While I like User Account Control (UAC), there’s always that one application that you need to run that requires admin rights. This is especially problematic if you need to automate that application from a batch file, scheduled task, or code build. While I guess you can hire someone to click on the Continue button, it’d be much better to turn off UAC for that one application. Fortunately, the Knowledge Base Article 946932 shows you exactly how to do that.
Full credit to Charlie Russel and his excellent x64 blog for finding this gem.
Microsoft Azure and Amazon Web Services (AWS) are two of the most popular cloud platforms.…
Cloud management is difficult to do manually, especially if you work with multiple cloud…
Azure’s scalable infrastructure is often cited as one of the primary reasons why it's the…
https://www.youtube.com/watch?v=wDzCN0d8SeA Watch our "Unlocking the Power of AI in your Software Development Life Cycle (SDLC)"…
FinOps is a strategic approach to managing cloud costs. It combines financial management best practices…
Using Kubernetes with Azure combines the power of Kubernetes container orchestration and the cloud capabilities…
View Comments
It disables the prompt, all right, but it will run as the invoking user's unprivileged token, NOT with administrative rights. There's no way round it - if you need parts of your build to be elevated you'll need to run all of it from an elevated command prompt.
If it were possible to set a simple bit somewhere to avoid the prompt and run elevated, I'm sure malware would find it.
I was going to add Mike's point, but it's already been made. I'll add another: you don't need to command line to install an SDB. If you already have Compatibility Administrator open and running elevated, just right click on the database and select install.