cheesehead Posted August 6, 2003 Share Posted August 6, 2003 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 Link to comment Share on other sites More sharing options...
muiz Posted August 6, 2003 Share Posted August 6, 2003 cant u place the vbs file for download somewhere? Link to comment Share on other sites More sharing options...
cheesehead Posted August 6, 2003 Author Share Posted August 6, 2003 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. Link to comment Share on other sites More sharing options...
Aaron Posted August 6, 2003 Share Posted August 6, 2003 Good tip using vbs, now I know why QuickLaunch had no relevance to the registry when I monitored it. Link to comment Share on other sites More sharing options...
darkkavenger Posted August 12, 2003 Share Posted August 12, 2003 Cool :-) Link to comment Share on other sites More sharing options...
matgroulx Posted August 12, 2003 Share Posted August 12, 2003 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 Link to comment Share on other sites More sharing options...
matgroulx Posted August 12, 2003 Share Posted August 12, 2003 any one ?? Link to comment Share on other sites More sharing options...
Bachus Posted August 14, 2003 Share Posted August 14, 2003 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? Link to comment Share on other sites More sharing options...
HexiumVII Posted August 14, 2003 Share Posted August 14, 2003 weird, when i use teh script it automatically makes the taskbar two row Link to comment Share on other sites More sharing options...
Bachus Posted August 14, 2003 Share Posted August 14, 2003 Interesting. I wonder how that happens... Link to comment Share on other sites More sharing options...
bigred Posted August 15, 2003 Share Posted August 15, 2003 Nice tweak...thanks cheesehead. Link to comment Share on other sites More sharing options...
Bachus Posted August 15, 2003 Share Posted August 15, 2003 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? Link to comment Share on other sites More sharing options...
SlimShady Posted December 24, 2003 Share Posted December 24, 2003 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. Link to comment Share on other sites More sharing options...
Tbone2 Posted December 25, 2003 Share Posted December 25, 2003 (edited) 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, 2003 by Tbone2 Link to comment Share on other sites More sharing options...
m2pmd70 Posted December 25, 2003 Share Posted December 25, 2003 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now