Win7 environment successfully used the system account to execute cmd

  

win7 system is called one of the latest best operating system, Xiaobian also installed, and began to experience, and finally found that there are many problems in the process of use. For example, some files in the D drive have no permissions when they are deleted. Only the System permission has the delete permission when viewing the permissions. Even if I enable the Administrator account, I can't delete those files. How do I do this? And everyone knows SYSTEM is the supreme super administrator account. By default we are unable to log in to the Windows desktop environment as the SYSTEM account directly on the login dialog. In fact, the SYSTEM account has long been "drums" in the system, but it can not solve this problem, but fortunately, later found a good way on the Internet, that is, run the cmd command through the service.

Run cmd through the service, the cmd will log in as the system account. This way we can delete the file in cmd, but the day is not desirable. Set up a task, do not know what is going on, always do not execute, and later view the history of task execution, 103 and 203 errors, the result is no success.

Gossip less, later found a command on the Internet, successfully using the cmd executed by the system, in fact, only one cmd can be used by users. But this is enough. The command is as follows:

sc Create SuperCMD binPath= "cmd /K start" type= own type= interact

sc start SuperCMD

Save the above two lines of code to txt , change the extension to bat, and execute it. A query window may pop up, select “View message" on it, it will enter the operation interface of the system, the white background, only a black cmd is now in front.

After reading this tutorial, did you find that win7 is not as good as you think? In fact, it is not such a calculation. Although win7 still has some functions that are not perfect, but overall it is still very good, more and more. Good features are waiting for you to develop..

Copyright © Windows knowledge All Rights Reserved