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.