dum dum DUM!
My name is Adrian, I'm an IT Administrator from Germany, only days before a huge Windows Server 2003 XenApp 5 -> Windows Server 2008 Citrix XenApp 6.5 migration.
So the profile gets newly created on first login.
During the Windows 7 migration I learnt, that nearly every user wanted his Quick Launch back.
So I spent some hours with Regshot finding a way to enable Quick Launch by default, so I wouldn't have to setup 150 Quick Launches.
Your script is very nice btw.
The solution:
1. Create Quick Launch like you need it on a test user.
2. Create BackupQuickLaunch.bat, contents:
--BAT BEGIN--
reg export "Hkey_Current_User\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop" QuickLaunch.reg
--BAT END--
(you can place the exported reg file on your "%logonserver%\netlogon" share, see below for Kix script)
3. Create RestoreQuickLaunch.bat, contents:
--BAT BEGIN--
taskkill /im explorer.exe /f
reg import QuickLaunch.reg
start explorer
--BAT END--
Kix:
RUN "reg import @lserver\NETLOGON\QuickLaunch.reg"
The trick is, that explorer.exe should not be running while the registry settings are applied.
Or during logon-script, when there is no explorer started yet (if so configured in policy).
Yay! Works on my test machines. No guarantee, but please post if it works for you too.
This post has been edited by modron: 15 July 2012 - 09:13 AM