'delete PendingFile
Set WshShell = Ws cript.CreateObject("Ws cript.Shell")
WshShell.RegDelete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations"
Set WshShell = Nothing
将上面的脚本保存到文本文件里,文本文件扩展名由TXT改名为VBS即可
例如:Delete PendingFile(解决重启问题).vbs
适合懒人使用