Takeown.exe with VB.Net

  • Thread starter Thread starter -OSD-
  • Start date Start date
O

-OSD-

Guest
Hi,

In Windows 10, I am using command line takeown.exe to take the ownership of files /folder. Can I do the same with VB.Net?

Currently I am doing like the following but seems like something is not correct.

Dim psinfo As New ProcessStartInfo("takeown.exe /F")
psinfo.Arguments = "/F C:\Windows\System32\1.exe"
Process.Start(psinfo)

Continue reading...
 
Back
Top