Solved

Newer Security translation tools alike subinacl for Windows 10

Posted on 2016-11-02
14
105 Views
Last Modified: 2016-11-08
Hello,
We are using subinacle for security translation of files. it is an old version and doesn't look that Microsoft updated this tool since 2012.

Does anyone know is there any newer tools available that do the same thing - Migrate security information about objects, replace the security information, etc


https://www.microsoft.com/en-us/download/details.aspx?id=23510
0
Comment
Question by:creative555
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
14 Comments
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 41870434
The only alternative that I know about is SetACL (https://helgeklein.com/setacl/ but it seems ist as old as subinacl.

Never tried if you could achieve similar things with Windows PowerShell but I'd expect that you can replace subinacl with some scripting.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 41871156
Please give an example of a command that does not work as expected with subinacl and name the OS Win10 version (10240, 1511, 1607?) that you are using, please.
0
 

Author Comment

by:creative555
ID: 41871175
it is getting hung on Cortana translation in Windows 10. In particular, it gets hung on interactive user.


C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\a669bb36[1].js : 1 change(s)
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\ab445dca[1].js : new ace for testtarget\john.doe
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\ab445dca[1].js : 1 change(s)
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\appcache[1].man : new ace for testtarget\john.doe
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\appcache[1].man : 1 change(s)
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\container.dat : new ace for testtarget\john.doe
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\container.dat : 1 change(s)
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\d64c2fba[1].css : new ace for testtarget\john.doe
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\d64c2fba[1].css : 1 change(s)
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\Init[1].htm : new ace for testtarget\john.doe
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AC\AppCache\RZUQKOVI\4\Init[1].htm : 1 change(s)
C:\Users\john.doe\AppData\Local\Packages\Microsoft.Windows.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:creative555
ID: 41871176
this is the anniversary edition Windows 10 14393 build
0
 
LVL 29

Expert Comment

by:serialband
ID: 41871191
I believe subinacl.exe was not updated because the built-in icacls.exe should do much of what it used to do and you don't have to go download it.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 41871207
Please tell me the command itself. You only quoted the output of the command.
0
 

Author Comment

by:creative555
ID: 41871295
Command line:
"C:\Windows\TEMP\SubInAcl.exe"  /outputlog="C:\Windows\TEMP\SubInACL.txt" /playfile "C:\Windows\TEMP\MSM-WMS\SubInACL_cmd.txt"

Let me know if this is it.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 41871298
Look, still I cannot see what is inside the playfile, so it needs to be quoted as well.
Or better, give a simple example of something that fails.
0
 

Author Comment

by:creative555
ID: 41871485
Here you go. See attached. this is the log of subinacle that failed at Cortana for interactive user. This user was logged in. It is at the very end.
subinaclFailedonCortana.txt
0
 

Author Comment

by:creative555
ID: 41871493
Let me know if you also want a successful Log were it didn't hang and finished. Like I said it is intermittent. Sometimes it works and sometimes it doesn't.

Do you know what is the best approach to organize this data into readable format so that I can understand what permissions are changed and were?


Once I know what and were we need to modify, then at least I know what script is needed.

 Also, need to learn what changes have been made to security in Win 10 so that the right script can be found that does security translation.

Please help.
thank you very much.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 41871669
Again... please upload the playfile. It is C:\Windows\TEMP\MSM-WMS\SubInACL_cmd.txt
0
 

Author Comment

by:creative555
ID: 41872802
here it is
SubinACL_cmd.txt
0
 
LVL 55

Accepted Solution

by:
McKnife earned 500 total points
ID: 41872847
Finally :-)
Ok, there is something wrong with your playfile, or at least it seems. Let's start by comparing our subinacl versions. Mine, when called by
subinacl /?
returns
SubInAcl version 5.2.3790.1180
Then, I created a playfile from a user profile folder (c:\users\admin) and I will quote some lines to make you aware how I think a playfile should look like:
=============================
+File C:\users\admin\AppData
=============================
/control=0x800
/owner             =zehn\admin
/primary group     =system
/audit ace count   =0
/perm. ace count   =3
/pace =system  Type=0x0 Flags=0x3 AccessMask=0x1f01ff
/pace =builtin\administrators  Type=0x0 Flags=0x3 AccessMask=0x1f01ff
/pace =zehn\admin  Type=0x0 Flags=0x3 AccessMask=0x1f01ff

==============================================
+ReparsePoint C:\users\admin\Application Data
==============================================
/control=0x800
/owner             =zehn\admin
/primary group     =system
/audit ace count   =0
/perm. ace count   =3
/pace =system  Type=0x0 Flags=0x3 AccessMask=0x1f01ff
/pace =builtin\administrators  Type=0x0 Flags=0x3 AccessMask=0x1f01ff
/pace =zehn\admin  Type=0x0 Flags=0x3 AccessMask=0x1f01ff
...

Open in new window

I created the playfile like this:
subinacl /noverbose /nostatistic /outputlog=d:\temp\playfile.txt /subdirectories "C:\users\admin\*.*" /display

Open in new window

Please compare to how you created your playfile.
0
 

Author Closing Comment

by:creative555
ID: 41879435
Hey McKnife, you are the best!! thank you so much! I didn't know you could generate playfile! I used the existing subinacle_cmd and it worked because it was on the same computer. But now with your help I was able to generate a new playfile and test it a different way.

So, I ran it and it failed on Cortana step as well.

Could you please check out my other related question that I just opened. Thank you again.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Here's a look at newsworthy articles and community happenings during the last month.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question