Ik denk toch dat je die toolkit moet gebruiker, hier is een voorbeeld van hoe je het mooi in een batch bestand kan plaatsen. Heb ik gevonden op
http://www.willowhayes.co.uk/windows2000/.
Changing permissions on registry keys in a batch file.
Some applications that have been written poorly make the assumption that the user has write access to keys in the local machine registry (HKEY_LOCAL_MACHINE). When logged in as an administrator, this assumption is correct. However, normal users of Windows 2000 are unable to write to this hive. Sometimes there are applications that we would like to make run under Windows 2000 by changing permissions on the registry.
Note that regedt32.exe is the tool to use if you want to change registry permissions by hand, rather than regedit.exe.
To change registry permissions in a batch file, you need a utility called regini.exe which is a tool from the Windows NT 4 resource kit. See Q237607 for details of how to use this tool, and Q257643 for details of the registry change we’re about to perform.
Create a file called reg.ini with the following contents.
\registry\machine\software\microsoft\shared tools\proofing tools\spelling [1 5 7 17]
\registry\machine\software\microsoft\shared tools\proofing tools\grammar [1 5 7 17]
To use regini, run this file as follows.
regini.exe reg.ini
For details of what permissions the number correspond to, see the knowledge base article above, or type "regini /?".
Ik hoop dat je er wat aan hebt.