A.
Typically, to enable the Quick Launch toolbar, you right-click the taskbar and on the Toolbars menu select Quick Launch. This selection updates the TaskbarWinXP value under the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\ registry subkey. However, it's a binary value that contains information about the entire taskbar configuration. Here's a sample value:
If you configure a reference machine for how you want the taskbar to appear, then export the value to a .reg file, it might seem logical that you could then import the file to other users at logon and the change would take effect. Unfortunately this doesn't work.
This registry key loads when the user logs on and is written back when the user logs off; therefore, if you change the registry key while the user is logged on, it will be overwritten when he or she logs off. You'd need to change the key while the user is logged off. This means the registry key would need to be based on HKEY_USERS and the SID of each user on the machine, as the following example shows:
Windows Registry Editor Version 5.00
[HKEY_USERS\S-1-5-21-4104391588-4119081595-2825493908-1110\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]
"TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,d8,... and so on.
It would be possible to create a script to perform an iterative scan of HKEY_USERS and set the value discussed earlier appropriately. However, the binary's value is so complex that for the time being, no simple way exists to perform this action by using Group Policy or a script.
Reader Comments
There are at least two ways to automate this. One by applying the registry keys during the GUIRunOnce or step T12 (GUIRunOnce = specified in WinNT.sif and is processed during the first initialisation of WinXP), which works like a charm. The other method is by using a tool from Microsoft called toggleql.exe, to be used as commandline util; toggleql 1 to switch on, toggleql 0 to switch off. I have this tool here, and it works perfectly. It is hard to find, but I will post it here and there on the internet, because it has cost me a couple of days to find it, so the least I can do is make it easier for people to find it!
jeroendg -January 27, 2006
I have been looking at this issue and have developed the following:
REQUIRED FILES
--------------
[SCRIPT.BAT]
@echo off
echo | psgetsid %ENTER USERNAME HERE% | FIND "S-" > ANSWER.DAT
@copy prefix.dat+answer.dat variab.bat
call variab.bat
del answer.dat
del variab.bat
echo Windows Registry Editor Version 5.00 > qlkey.reg
echo [HKEY_USERS\ >> qlkey.reg
find "S-" < ANSWER.DAT >> qlkey.reg
find "Software" < key2.dat >> qlkey.reg
find "," < key2.dat >> qlkey.reg
find "Upgrade" < key2.dat >> qlkey.reg
qlkey.reg
[PREFIX.DAT]
set myvar=
[key2.dat - Taken from the exported registry key]
\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]
"Toolbars"=hex:11,00,00,00,00,00,00,00
"TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,03,00,00,00,00,00,00,00,b0,e2,2b,d8,\......And so on until EOF
ADDITIONAL INFO
---------------
Need to download psgetsid and place it in the working directory of the script or windows system dir
Change %ENTER USERNAME HERE% for a valid username (see psgetsid for more info)
RESULT
---------
The registry key is successfully copied to the selected user but it doesn't seem to do anything so I expect there are additional reg keys at work here. If anyone can offer any guidance would be appreciated.
kurrazyman -February 01, 2006
Test
schuff -March 03, 2006
[HKEY_CURRENT_USERSoftware\Microsoft\WindowsCurrentVersion\Policies\Explorer]
"NoSaveSettings"=1 (DWORD)
The solution is above.
schuff -March 03, 2006
hi schuff,
thr is no such thing like "NoSaveSettings"=1 (DWORD) instead i found "NoDriveTypeAutorun" in XP
.can u put more light on this.
santosh.mnnit -December 06, 2006
To enable the quick launch or to resize it can easily be done using the SOETool from soetool.net.
It uses only API's and works on all systems.
Free CDs Offer Fundamental Content for IT Pros Are you up to speed on the latest technologies and solutions? Don't miss out on your chance to get up to speed quickly on fundamental, in-depth information on some of the hottest topics in our library of content.
Let Your Users Reset Their Own Passwords: Free Download Try a 30 day free trial of Desktop Authority Password Self-Service – it provides an easy-to-use, robust system for allowing users to reset their own forgotten passwords or locked accounts.
Get Windows IT Pro & Mark Minasi’s Favorite Power Tools Guide Order Windows IT Pro now and get "More of Mark Minasi's Favorite Power Tools"--a in-depth guide to the most useful Windows commands --FREE with your paid order! Subscribe today, and save 58% off the cover price!
Deep Dive into VMware vSphere, eLearning Series Join John Savill to explore the major functionality capabilities of the vSphere virtualization platform, including identification of the changes from ESX 3.5.