2007年6月13日 星期三

How to Delete a System File in Windows Vista :: the How-To Geek

How to Delete a System File in Windows Vista :: the How-To Geek

To take ownership of the file, you'll need to use the takeown command. Here's an example:

takeown /f C:\Windows\System32\en-US\winload.exe.mui

That will give you ownership of the file, but you still have no rights to delete it. Now you can run the cacls command to give yourself full control rights to the file:

cacls C:\Windows\System32\en-US\winload.exe.mui /G geek:F

Note that my username is geek, so you will substitute your username there.

沒有留言: