To fasten this process a bit, you can use this script, which will add an option in context menu for the file.
Right click on the file --> Send To --> OwnThefile.
Here's the code for the script:
Dim Act : Set Act = CreateObject("Wscript.Shell")
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
Dim File, File1, File2
For Each File1 in Wscript.Arguments
Act.Run("takeown /f " & File1),0,True
Act.Run("icacls " & File1 & " /grant administrators:F"),1,True
File2 = Split(File1,".")
Set File = Fso.GetFile(File1)
File.Copy(File2(0) & "_Original." & File2(1))
NextSave it as .vbs file and run it.Or you can use attached file which actually is self extracting .vbs script.
OwnTheFile.rar 54.05K
205 downloads















