Windowsのレジストリとサービスの問題を修正しようとしています。sfcコマンドを実行してみましたが、これは表示されるエラーメッセージですか?
C:\Windows>sfc /scannow
Beginning system scan. This process will take some time.
There is a system repair pending which requires reboot to complete. Restart
Windows and run sfc again.
C:\Windows>
しかし、このメッセージが最初に表示されてから何度か再起動しました。セーフモードとコンソールモードでコマンドを実行しようとしても、同じメッセージが表示されます。どうすれば取り除くことができますか?
このファイルはwinsxsフォルダーにあります:C:\ Windows \ winsxs \ cleanup.xml
これはコンテンツです:
<?xml version='1.0' encoding='utf-16'?>
<PendingTransaction >
<POQ postAction="NoReboot">
<DeleteFile path="\??\D:\$$DeleteMe.CbsMsg.dll.01c85bd2f5893b40.0000"/>
</POQ>
</PendingTransaction>
これは何かでしょうか?これが原因ですか?このファイルを削除しても安全ですか?
更新
名前を変更しようとしましたが、操作に失敗しました。
管理者特権でexplorer.exeを実行し、その場所に移動しました。UAC確認プロンプトが表示され、次に以下のエラーが表示されます。
Destination Folder Access Denied
You need permission to perform this action
このファイルの名前を変更または削除するにはどうすればよいですか?cmdを使用する必要がありますか、それともセーフモードにする必要がありますか?
アップデート2
コマンドプロンプトでセーフモードを開始し、ファイルの所有権を取得してから名前を変更しました。名前の変更に失敗しました。
C:\Windows\winsxs>ren cleanup.xml cleanup.xml.old
Access is denied.
C:\Windows\winsxs>takeown /f "cleanup.xml"
SUCCESS: The file (or folder): "C:\Windows\winsxs\cleanup.xml" now owned by user
"mycomputername\username".
C:\Windows\winsxs>ren cleanup.xml cleanup.xml.old
Access is denied.
C:\Windows\winsxs>
以下のコマンドも発行しました。
C:\Windows\system32>icacls "C:\Windows\winsxs\cleanup.xml" /grant username:F
processed file: C:\Windows\winsxs\cleanup.xml
Successfully processed 1 files; Failed processing 0 files
C:\Windows\system32>cd ..\winsxs
C:\Windows\winsxs>ren cleanup.xml cleanup.xml.old
Access is denied.
C:\Windows\winsxs>
それでも、名前を変更することはできません。これらの最後の2つのコマンドを通常のWindowsモードで発行しました。それは問題ですか?...私は再起動を試みます。
cleanup.xml
ますが、ファイルがありません。それが原因だとは思いません。