Log on to the system as a system account to delete files

Source: Internet
Author: User

I installed the system two days ago and thought Windows 7 was almost mature. So I am ready to try it out. Unexpectedly, some original files on disk D do not have the permission to be deleted, and only the System has the permission to delete the files. Even if the Administrator account is enabled, you cannot delete those files. Tools that have been forcibly deleted from the Internet are not easy to use.

Later, I saw a method on the Internet. When I run cmd through the service, the cmd will Log On As A system account. In this way, we can delete the file in cmd. After setting a task, I don't know what is going on, and I always don't execute it. Later I checked the history records of the task execution, which were 103 and 203 errors. The result was that the task failed.


In my spare time, I found a command on the Internet and successfully used system to execute the cmd command. In fact, only one cmd can be used by users. However, 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 and change the extension to bat. A dialog box may pop up. You can select "view message" to go to the System operation interface, with a white background. Only one black cmd is in front.

Related Article

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.