After installing the system two days ago, I think Windows 7 is almost mature. Result some files in drive d do not have the permission to be deleted. Only the system permission has the permission to delete the files. Even if the administrator account is enabled, the files cannot be deleted. 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, but it is not easy. 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. The white background has only one black CMD in front.