Any tweak exist to ungroup taskbar icons so they all show up without having to click the up arrow icon?
open regedit, go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, create a 32 dword, name it TaskbarGlomLevel, and set its value to 2
You can try this: Code: reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" /v TITLE /d "Installing my scripts" /f >nul 2>&1 reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0001" /ve /d "1st script" /f >nul 2>&1 reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0001" /v "0001" /d \""Path\script1.cmd\"" /f >nul 2>&1 reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0002" /ve /d "2nd script" /f >nul 2>&1 reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0002" /v "0001" /d \""Path\script2.cmd\"" /f >nul 2>&1 Edit: typo Patch ->Path
Thanks for the help I need to add all these registry keys to the image ? EDIT : I looked, but I didn't understand how to specify my .cmd file with these commands (I only have one .cmd file). Which contains several commands and a .reg file. Otherwise with this command, would it be ok ? cmd.exe D:\myscript.cmd Add to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce ?
Modifying install.wim is no problem, I do it every month with the LCU, etc. But I can't say the same for scripts when it gets too technical I already have a SetupComplete.cmd file in sources\$OEM$ for "Before Logon" My script must be used for "After Logon" (once the user is "created") And I just want to know if it is possible to do it with just 1 command line and not add each command (and each .reg file converted to command line) In short, a command line (or a possible shortcut placed on the desktop) which launches this .cmd file just after installing Windows
So, my first answer was correct. Use "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" key to launch your script. It will be executed at firstlogon.
Ok thanks And what should I add ? In your first post, there are keys for two scripts, I only have one (what I didn't understand)
I use the $OEM$ folder inside the Sources folder. See the attached package, with illustrative images. You can place your files: - .CMD and BAT inside the BAT folder - .REG inside the REG folder - .EXE inside the APP folder Add the lines below to your setupcomplete.cmd SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY%\010 /V 1 /D "%SYSTEMDRIVE%\Windows\Setup\RunOnceEx.cmd" /f This way the RunonceEx.cmd script will be executed after the first login and will execute all your commands... Good luck! psw: mdl2025