Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

Get or Show Registry Owner without Powershell


Recommended Posts

Hi, me going crazy - i am trying just to read the owner of a reg-path via cmd batch file, and not beeing able to... ;( - I have searched and tried hours, but google just dont show results with Get, Read, Show, or whatever - i´ve tried subinacl, regini, its killing my brain

I know, how to change the rights, how to get SID, eg i like to save the orginal owner, and write him back after changing permissions - but to do that, i really have to get the owner name before....

Link to comment
Share on other sites


hi, following this blog

I used get-member -force to realize registry entries have an owner property. Let me know if this

(get-acl HKCU:\software).owner

gives the result you expect.

I never worked with registry owners before, so if that's not helping, I'm off board.

Link to comment
Share on other sites

mhhh combine batch and powershell - i will give it a try... - (the reason i like to write it as batch, is just of my "old" tools folder & get rid of tools that are not useful anymore, and the useful ones...) - in this case subinacl

- on the second hand: - i am still try to make a error-free w10.wim - and for this image, i like to be sure, that SYSTEM & TrustedInstaller got Full Permission on all Files and Folders, without changing ownership...) (only some "corrupted" ownerships [why i got them after clean install???], should be changed...)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...