August 6, 200323 yr I dont know if any would have an interest in this but this is how you can turn on quick launch on 1st reboot.Put this in your batch FileCLS@echo offECHO.REGEDIT /S %systemdrive%\install\1.regECHO.EXIT.This in a reg fileWindows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]"vbs"="C:\\Install\\1.vbs"This in a 1.vbs fileOption ExplicitDim oShellSet oShell=WScript.CreateObject("WScript.Shell")oShell.Run("rundll32.exe shell32.dll,Options_RunDLL 1")WScript.Sleep 100oShell.AppActivate "Taskbar and Start Menu Properties"oShell.SendKeys "%Q"WScript.Sleep 200oShell.AppActivate "Taskbar and Start Menu Properties"oShell.Sendkeys"{ENTER}"Put it all in you $OEM$----$1----Install folder.But be careful if you are deleting your install folder after your batches have run because if you do your 1.vbs file will also be deleted.So to avoid that use this;REG FILEWindows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]"vbs"="c:\\Windows\\1.vbs"Part of your BATCH FILECLS@echo offECHO.REGEDIT /S %systemdrive%\install\1.regCOPY "%systemdrive%\install\1.vbs" "%systemroot%/1.vbs"ECHO.EXIT.Hope this might help at least 1 person
August 6, 200323 yr Author all you do is open up notepad and copy and pastewhen you save it change the save as type to All files and put the 1.vbs in quotes.
August 6, 200323 yr Good tip using vbs, now I know why QuickLaunch had no relevance to the registry when I monitored it.
August 12, 200323 yr Does not seem to work, I changed the reg key to:[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce]"vbs"="C:\\Install\\1.vbs"not:[HKEY_CURRENT_USER\... It does not exist....and still does not work...The info is in the registry but when I try restart my computer (I am testing this on my installed XP version, not from Installation) and it does not seem to do anything.Does it only work when your installing, after all process before reboot ??Thanks for the info
August 14, 200323 yr Modify the two sleep commands to have a longer timer. It works for me.Does anyone know a way to expand the taskbar to two rows?
August 15, 200323 yr OK, I've noticed something. The script works just fine so long as the shell has loaded. The problem I'm having is getting the script to run automatically at that point. Anything in runonce runs before the shell loads. Does anyone know a workaround?
December 24, 200322 yr You can tell the batch file to delete the shortcut that runs the batch.For example:CLS@echo offECHO.START %systemdrive%\install\quicklaunch.vbsDEL /Q "%ALLUSERSPROFILE%\Start Menu\Programs\Startup\quicklaunch.lnk"ECHO.EXITLet your batch file copy the link (that links to %systemdrive%\install\quicklaunch.bat) to "%ALLUSERSPROFILE%\Start Menu\Programs\Startup"It will run the quicklaunch.vbs and delete the shortcut, so it won't run ever again.
December 25, 200322 yr guess I did my quick launch a little different....below is the code I used.CLS@echo offECHO.ECHO Making Quick Launch Directory...MKDIR "%systemdrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch"ECHO.ECHO Copying Windows Explorer link...COPY "%systemdrive%\install\*.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu"ECHO.ECHO Copying Windows Explorer link...COPY "%systemdrive%\install\*.lnk" "\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch"ECHO.EXITThis made the quick launch active and I could add the .lnk file as I wanted to...Like %SystemRoot%\explorer.exe /n,/e,/select,C:\would like it to be two rows but thats later I run that as part of my clean.cmd up after last boot.I would think you could change it to alluser fully and it would work no matter who login. Edited December 25, 200322 yr by Tbone2
December 25, 200322 yr I exported the value of[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]"TaskbarWinXP"with the quick launch and stuff the way i wanted it. Put it in my tweaks.reg file, and then made a folder "\$OEM$\$Docs\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" with all my favorite crap in it. Didn't seem to work with an actual user name or "Administrator." It made it create the folder before Windows had... so i ended up with Administartor.iafgcv8, you get the picture.Make sure to delete any desktop.ini files or similar that pop up in the folder tho... looks kinda funny in your quick launch.
Create an account or sign in to comment