Retrieve Owner of a Folder

Demonstration script that reads the security descriptor for a folder (specified by the strFolderName variable) and retrieves the domain and name of the owner of the folder from th

 
 
 
 
 
(0)
Add to favorites
Security
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Error when running script
    2 Posts | Last post April 23, 2010
    • When running this script, which I simply copy, pasted, and pointed to a share on my network via unc \\server\share\folder, I get and Windows Script Host error.
      
      Line: 3
      Char: 1
      Error: Not found
      Code: 80041002
      Source: SWbemServicesEx
    • Is there any way to expand this script so it writes the records to a text file?
      
      I have a folder with lots of subfolders which I need to check so this would be very useful as opposed to a messagebox