---
type: note
tags: [commands, pwershell, stubborn, note]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-01-02T01:39:32.364Z
---# Powershell for Stubborn files

For stubborn files.\n\ntakeown /f "C:\Path\To\File"\nicacls "C:\Path\To\File" /grant YourUsername:F\nRemove-Item "C:\Path\To\File"\n


---
**Keywords:** commands, pwershell, stubborn, note
