Log in to the system as the system account to delete files

  
        I installed the system two days ago and I feel that Windows 7 is almost mature, so I am ready to experience it. But surprisingly, some of the original files of the D drive have no permissions when they are deleted. Only when the permissions are checked, the System has the delete permission. Even if I enable the Administrator account, I cannot delete those files. Tools that have been tried and removed from the Internet are not working well. Later, I saw a method on the Internet to run cmd through the service. At this time, the cmd will log in as the system account. This way we can delete the file in cmd, but it is not awkward. 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.

further ado, later on the Internet to find a command, cmd system used successfully executed, it is actually only a cmd may be available to the user. But this is enough. Command is as follows:

scCreateSuperCMDbinPath = "cmd /Kstart" type = owntype = interact

scstartSuperCMD

save the above two lines of code to txt, the extension to bat, Execution is fine. A query window may pop up, select "View Message" and you will enter the System interface, white background, only a black cmd is now in front
Copyright © Windows knowledge All Rights Reserved