I tried to run secedit there and it did not work, but it runs fine in SetupComplete Another thing that did not work in specialize was trying to update a reg entry in HKLM\SYSTEM\ControlSet001\Control\.. I'm just trying to figure out where to use what between specialize and setupcomplete
If everything works fine for you from SetupComplete, then don't complicate your life. Once again, look at the files shared by abbodi1406.
I already have those files and looked at them as well. Reg files and cmds are run in each of them. Using your modified specialize and my setupcomplete works the best for me with server. Not trying to complicate. Looks like trial and error for me to see what works where.