For example, in order to delete C:\pagefile.sys (Pagefile should be already disabled in Control Panel\System\Advanced System Settings\Advanced\Performance Setting\Advanced\Change\No Paging File) start CMD elevated (Shft+Ctrl+Enter) then:
>takeown /f c:\pagefile.sys
>cacls c:\pagefile.sys /G username:F
Replace [username] with a real name of the user which took ownership of the file. After that the file should become deletable.
0 comments:
Post a Comment