Getting and Setting the Owner of a File

This script gets or sets the owner of a given file .

This script should be run through the VB debugger. It allows you to view the current owner of a file. You can assign ownership to the currently logged in User. For example, if you have logged in as User "Darius" then you can acquire ownership by replacing NEWOWNER by Darius. Note that Windows does not allow you to assign ownership of a file to a third person. You can only acquire ownership, not grant it.

image\hdisk.gif ...VB\Security\File\Get&SetOwner\