Used for taking ownership of dll’s and other system files that might cause problems when updating poorly coded software.
takeown /f C:\Windows\System32\filename.dll cacls C:\Windows\System32\filename.dll /G username:F