Home > OS >  [original] Microsoft's remove stubborn file tools movefile! Refused to domestic bucket tool!
[original] Microsoft's remove stubborn file tools movefile! Refused to domestic bucket tool!

Time:09-22

Since Microsoft's acquisition of Sysinternals products, all Sysinternals tool software with Microsoft digital signature, this is well-placed to become Microsoft the son!

To introduce the movefile tools is Sysinternals today!

The official documentation and software download: https://docs.microsoft.com/en-us/sysinternals/downloads/movefile

Official software is introduced (translation) :
Some applications, such as Service Packs and HotFixes, must replace are in use and cannot replace files, therefore, provides MoveFileEx Windows API to rename or delete files, and allows the caller to specify the next System start at boot time (before the file is used to perform operations, Session Manager in registry key HKLM \ System \ CurrentControlSet \ Control \ through the Session Manager \ PendingFileRenameOperations value read from the registered rename and delete command to perform this task,

See here you should know that this is a Microsoft official replacement (delete) are using file the safest way to

Someone may ask, why those not directly lift are using state of the software security, from a developer perspective, file is in use, means that there is a process that opened this file, and have a handle to read and write operations, and the powerful removal tool, is often forced to shut down the handle to use this file (not the entire process), for is the process of using this file, the closing of the handle this great may lead to errors and throws an exception, if the program did not consider the special circumstances of exception handling and processing, often leads to the process of abnormal or even collapse, so, the so-called strong removal tool is not the most safe,

The movefile told the Session Manager is the principle "Session Manager" in the Windows boot the boot process (don't have any user program at this time, the service start, file it cannot become a are using state) to move or delete file operation,

Actual operation as shown in the figure below: (1) need to be run as an administrator)



As shown in figure after the operation, please restart Windows, in the process of starting next time, the target file will be deleted,

Although there is no 360 tools like that little mouse fool operation, but to boycott the 360 users, is a good choice!

CodePudding user response:

Movefile does any file can be deleted?
  • Related