Windows7 to obtain system permission problem solution _dos/bat

Source: Internet
Author: User

Windows7 under the authority of the problem, but the mysterious ubiquitous system is larger than the administrator and can not log in is really people can not understand, especially a lot of directories actually have to system permission to delete, really let a person headache.

Here's a script that can get the system permission under the command line, but the principle is simple, because the service is actually running with system privileges, it's hard to understand. But, this idea is really very handsome, I like:

Copy Code code as follows:

SC Create supercmd binpath= "cmd/k start" type= own type=

SC start Supercmd


The essence of these two sentences is to establish an interactive service that runs CMD, when this service is started, Windows handles this by displaying a hint, as long as the message can open cmd, this cmd is the system permissions, so you can do what you want to do.

Finally, think of a way to the brothers, the idea is really too handsome.

Attached: Another article

Previously, under Windows XP, you can use the AT command to start a program to gain system permissions, but this method is no longer working under XP, and after searching, a method is found:

1 start the command prompt.

2 Execute the following two statements in turn.

Copy Code code as follows:

SC Create supercmd binpath= "cmd/k start" type= own type=
SC start Supercmd

Then you'll see a window, click "View Message", and you get a command prompt that executes with system privileges.

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.