Jump to content

Featured Replies

Posted

Hi

I'm writing a script to migrate users from windows 2000 server to winows xp,

i am using subinacl to grant the necesary privilegies to the file ntuser.dat

of each user but i found a problem, i'm doing something like this

 

REG LOAD "HKLM\Test C:\Documents AND Settings\Test\NTUSER.DAT"

subinacl.exe /keyreg \\127.0.0.1\HKEY_LOCAL_MACHINE\Test\ /grant=Test=F

/setowner=Test

 

i have tested this in a few machines with windows xp and works fine but when

i tried the same in other windows xp machines it shows an error:

Error Parsing registry key error: The operation completed successfully

 

WARNING: /grant=test=f : No previous object opened

WARNING: /setowner=test : No previous object opened

 

Elapsed Time: 00 00:00:22

Done: 0, Modified 0, Failed 0, Syntax errors 2

Last Syntax Error:WARNING: /setowner=test : No previous object opened

 

and i don't know what's going on, why does this workd fine in some computers

and failed in others even when all are windos xp

 

Thanks for any help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...