Automatically run the bat file as an administrator

Source: Internet
Author: User

Automatically run the bat file as an administrator

When a bat file is running, the following error is always reported:

System Error 5. Access denied.

.

Temperature + tfUtq/temperature + z9tK7uPa/temperature/NTL0NC53MDt1LHIqM/eoaM8L3A + temperature/ysru/ydGho6zI5828y/temperature "http://www.2cto.com/uploadfile/Collfiles/20141226/2014122609230445.png" alt = "\">

Solution: Create a shortcut for the program. Right-click the shortcut and choose "properties"> "shortcut"> "Run as administrator, double-click the shortcut to bring up the User Account Control dialog box, and click "change the time when these notifications appear". The User Account Control settings are displayed, and the settings are changed to no notification ..



Then, place the shortcut in the C: \ ProgramData \ Microsoft \ Windows \ Start Menu \ Programs \ Startup Folder to enable automatic Start upon Startup.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.