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

Install Files within the NewPCSetupFiles Template Directory

net use y: \\FILESERVER01.kimconnect.com\users\template\newPCSetup y: regedit.exe /s disable_uac_win7.reg cd NewPCSetupFiles dotnetfx-winfsc.exe /Q dotNetFx40_Full_x86_x64.exe /quiet /norestartdotnetfx45_full_x86_x64.exe…

Exchange: New-MoveRequest

New-MoveRequest -Identity '[email protected]' -TargetDatabase "DB01" -WhatIfNew-MoveRequest -Identity '[email protected]' -TargetDatabase "DB01"Get-Mailbox -Database DB01 | New-MoveRequest -TargetDatabase…

MS Exchange 2010: Mailbox Repair

PowerShell snippet to initiate repair # set user alias or email addresses here:$userAliases="user1","user2"foreach ($user in…