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.