Ok everybody.

Now I tried the utility SubInACL and with that I can change the Sid in Ntuser.dat. Thats good.

But now I want to do this with a script. How can I load the Ntuser.dat into my registry with Kix?

The function LoadHive() does only load a file that is created in Regedt32.exe. This is manual stuff.

/Mima