Helge Klein's free Windows console utils.
ListRegistryLinks: Scan the registry for REG_LINKs and list those found, along with their targets. [32 and 64 bits, based on Tenox's REGLN]
SetACL: Manage Windows permissions from the command line. Comes in two variants: one, a command-line tool, ideal for use in scripts and batch files. Two, a COM DLL that is perfect for basically any programming language. Both are free. [There's also payware SetACL Studio.] For an usage example, see this...
NOTE: SetACL is included by default in K-Lite Codec Pack.