The new version uses VBScript instead of the CMD file and it doesn't show up at all during your first logon into your newly created user account. I have also solved the problem that used to take place on some machines when "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs" key was already created before the launch of my previous version of the script. The new version first deletes the MenuOrder key and all the sub keys and then it creates the new key without the values and sets permissions using the REGPERM.EXE tool.
Hello all!!!
I have found a working solution that allows you to make the default account (and all the other user accounts created in the system later) autoarrange your Start Menu in alphabetical order. It runs once automatically on the first logon using the RunOnce registry key (I presume that you have the "OemPreinstall=Yes" line in your WINNT.SIF file).
First of all, you'll need the REGPERM utility.
Then, you'll have to put the regperm.exe file in your $OEM$\$$\System32\ folder which is located in in your Windows distribution folder.
Next you'll have to create the following file, call it "autoorder.vbs" and also put it in $OEM$\$$\System32\:
set ws = WScript.CreateObject("WScript.Shell")
ws.Run ("REG DELETE "&Chr(34)&"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder"&Chr(34)&" /F"),0,1
ws.Run ("REG ADD "&Chr(34)&"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder"&Chr(34)&" /F"),0,1
ws.Run ("REGPERM.EXE /K "&Chr(34)&"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder"&Chr(34)&" /A:Everyone:R"),0,1
Now you'll have to add the following line to your CMDLINES.TXT file (thanks for the tip, prathapml):
"REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V AutoOrder /D autoorder.vbs /F"
(Don't forget to insert the line [COMMANDS] above the line if you're creating a new file!)
Now make your ISO, burn it and you're done!



Help

Back to top










