SO NOW, HOW TO SET "COMMAND LINE" WHICH CAN PERFORM THAT JOB ON MY EVERY USER?
what command i need set instead of "S-1XXXXXXXXXXXXXXXX" ?? will someone help?
Alternatively, you can look into cmdlines.txt.
This is a more documented approach. Also you can google more solution if you run into problems. Editing hivedef.inf requires user to put in inf syntax which not many user knows. cmdlines.txt msdn
Scroll to Cmdlines.txt section. Read the last sentence.
Basically you need to put in winnt.sif
I did it this way:
A 'cmdlines.txt' in SOURCEXP\$OEM$ folder <- create manually this folder
A ForLoopT12.cmd in SOURCEXP\$OEM$ folder <- create manually this file
Many reg files in SOURCEXP\$OEM$ folder <- export all your reg tweaks to this location
In 'cmdlines.txt, content as
Content of ForLoopT12.cmd
for %%e in ("*.reg") do regedit.exe /S "%%e"