Posted On March 31, 2019

SUBINACL and TAKEOWN

kimconnect 0 comments
blog.KimConnect.com >> Windows >> SUBINACL and TAKEOWN
Change owner:

subinacl /file C:\demofile.doc /setowner=SS64Dom\AliceT

subinacl /subdirectories "C:\Documents and Settings\USER\Desktop\FOLDER\*.*" /setowner=DOMAIN\USER

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Get Connected Port by Process Name

# getProcessConnectionPort.ps1 $computerlist=@' SQL1 SQL2 '@ $computernames=@($computerList -split "`n")|%{$_.Trim()} $processname='sqlservr' $state='Established' $results=@() foreach ($computername in…

Penetration Testing of Active Directory

Foreword: the following information is intended as educational contents and advisories on security topics. Please…

Show Users Logons per Computer Names

# This script is to obtain log on information from a set of target computernames…