![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih92dXinkRG1nc5eL_yagt9H0hyphenhyphenrwPw_G9wocULqxiwyXt71fsOaCMgmMsnG-pZW8JS7Jaa0fh6e60HFfZ8yElMm_0bGAGmpArqFZRkj3hAQsT9SFoVcvdpKqwY0WdKyhXFi6LT3njWW0/s800/VistaLogo80x80.png)
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. Read more...