Wednesday 21 July 2010

Pinning Icons to the Windows 7 Taskbar

The Deployment Guys posted an article a couple of months back on how to script pinning shortcuts to the Windows 7 Taskbar.
http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx

However, the scripting method won't work during an SCCM OSD deployment as the task sequence runs in the Local System context which has no shell access and the script depends on the Explorer shell because it is executing shell verbs.

So, there's another way:
You can copy icons to the C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar folder if you want to make them available to all profiles created AFTER you've copied icons into it.

This is handy I find when creating images as it allows for quick customisations to the taksbar that will affect all users loging onto the machine after it's had the image deployed to it and can easily be added as a "Run Command Line" task in an SCCM OSD Task Sequence.

If the folder doesn't exist (Doesn't by default if I remember correctly) then just create it. I also then set it to hidden like it is in a normal user profile, but I'm just a neat freak :P

Also, if you use a reference computer to set the icons in the order that you require, exporting the data from this registry key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband] will then allow you to re-import it into the default users profile to affect the icon order for all your users.

11 comments:

Anonymous said...

Hi Steve I'm very interested in how you are doing this. Do you think you can give more detailed instructions on how to configure this?

/A

Steve Beaumont said...

The post fairly much said it all...
Copy any icons you want available to all new users logging on to the C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar folder

If you want to set the positioning order of the icons, setup a reference profile, order them, reboot, then export the registry key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband]

Change any references to the HKEY_CURRENT_USER in the exported file to the name you will use for the Def user branch when you open/mount it.

e.g. If you mount the default user as DefUser then find HKEY_CURRENT_USER and replace with HKEY_USERS\DefUser

Then import this into the default user profile by loading the default user registry hive before import.

A command such as this can be used to mount the default user registry hive:
REG LOAD "HKU\DEFUSER" "C:\Users\Default\NTUSER.DAT"

Import the file (Regedit /s /i Regfilenameandpath)

Then unload the hive:
REG UNLOAD "HKU\DEFUSER"

All this can be scripted in MDT and/or SCCM.

Cheers,
SB

Jeff said...

Hi Steve,

I've tried this solution of creating the User Pinned\TaskBar folder and adding shortcuts in here but they don't seem to show up in any new user profiles that are created after doing so. Are there specific attributes or permissions or anything that are required? In my Build and Capture sequence I have a VBS script create the folder and then create a Shortcut but no joy. Any suggestions? Thanks.

Ian Burnell said...

I am trying to do this via SCCM 2012. Simply copying the shortcuts into the Default user...\user pinned\taskbar doesn't appear to be enough. I have a feeling you may have to mount the default user hive ntuser.dat and import registry from a reference machine (taskband) - could you confirm this is the case?

Anonymous said...

Hello nice game who loves to play game. really I'm very interested to you game system thanks.
บาคาร่า
จีคลับ
baccarat

Canegi said...

I was very fortunate to be able to visit your page.
fifa55

Unknown said...

Thanks for your sharing
ฟีฟ่า555
สโบเบ็ต
gclub มือถือ
baccarat

gclub fever said...

special bonus of 100 percent, which means that if you deposit 1,000 baht for the first time, we will double it for you, which is 1,000 baht. The money will be transferred into your own user after signing casino online

sbobetball24 said...

their affiliates. Ronaldo has been trading แทงบอล under the shirt of the Red Devils until the 2008-2009

kemika7384 said...

สล็อตออนไลน์ Pussy888 เพิ่มเงินเข้าเล่นสบายสุดๆ
เรื่องหนึ่งที่สำคัญที่สุดของการเลือกเล่นเว็บไซต์ สล็อตออนไลน์ Pussy888 หรือเว็บไซต์ที่ให้บริการพนันออนไลน์อื่นๆซึ่งก็คือ เรื่องที่เกี่ยวข้องกับการเงิน ใครๆก็อยากได้เว็บไซต์ที่ฝาก และก็เบิกเงินด้วยความไว โดยเฉพาะ แม้กระทำฝากถอนได้เร็วทันใจ ก็ยิ่งมีคนสนใจอย่างยิ่ง ส่วนแม้เว็บไซต์ไหนที่มีปัญหากับการจัดการการคลังช้าก็จะมีผลให้สมาชิกหนีหายไปท้ายที่สุด ยุคเก่าถ้าปรารถนาเล่นเว็บไซต์พนันออนไลน์นั้น ต้องไปกระทำการฝากเงินที่ตู้กดเงินเพียงอย่างเดียว แล้วจำเป็นต้องรอคอยทางเว็บไซต์ปรับเครดิตเล่นนาน บางทีอาจใช้เวลา 30 นาที ถึงหนึ่งชั่วโมงก็มีมาแล้ว ส่วนการถอนเงินนั้น เว็บไซต์ในยุคเก่าจะเบิกเงินได้เป็นรอบ และก็ถอนได้เพียงแค่จันทร์-วันศุกร์เพียงแค่นั้น เสาร์ อาทิตย์ถอนมิได้เด็ดขาด
แม้กระนั้นในสมัยที่เทคโนโลยีเติบโตขึ้นเรื่อยชาวไทยสามารถทำธุรกรรมผ่านอินเตอร์เน็ตแบงค์กิ้งได้ ก็เลยสบายมากมายๆสำหรับในการฝาก เบิกเงินผ่านเว็บไซต์พนันออนไลน์ต่างๆวงการพนันก็เติบโตตามไปด้วย วันนี้พวกเราจะมาเอ๋ยถึงเว็บไซต์ สล็อต Pussy888 ที่สามารถฝากเข้าเล่นได้หลายช่อง
สล็อต ออนไลน์ Pussy888 สมาชิกเพิ่มรายได้ผ่านทางไหนบ้าง
1. สล็อต ออนไลน์ Pussy888 เพิ่มเงินผ่าน เอทีเอ็ม แม้สมาชิกที่เลือกหนทางนี้ ภายหลังจากโอนฝากบัญชีเว็บไซต์แล้ว ให้กระทำการเก็บสลิปไว้ด้วย อย่าพึ่งจะทิ้งขยะ เพื่อเป็นหลักฐานสำหรับในการฝากเงิน
2. สล็อต ออนไลน์ เพิ่มเงินผ่าน internet banking การฝากเงินผ่าน internet banking เป็นหนทางยอดนิยมที่สุดในตอนนี้ ด้วยเหตุว่าสบาย เร็ว ทำรายการผ่านมือถือได้ใน 1 นาที รับโอนงินจาก ในบ้านหรือจากที่ไหนก็สบายรวดเร็วทันใจสุดๆทางเว็บไซต์สล็อต ก็มีบริการให้เลือกฝากเข้าครบทุกแบงค์ชั้นหนึ่งของเมืองไทย
3. สล็อต ออนไลน์ Pussy888 เพิ่มเติมเงินผ่าน true wallet นี่เป็นหนทางปัจจุบันพื้นที่เว็บไซต์สล็อตเพิ่มเข้ามาบริการลูกค้า การเติมเงินเข้าเล่นผ่าน true wallet ก็เป็นวิถีทางที่สบาย เพราะว่านอกเหนือจากแอพอินเตอร์เน็ต แบงค์กิ้งแล้ว แอพทรู วอลเลท ในโทรศัพท์ของผู้คนจำนวนมากควรมีอย่างไม่ต้องสงสัย
4. สล็อต ออนไลน์ เพิ่มเงินผ่านตู้รับฝากเงิน หนทางที่สบายอีกวิถีทางนึงเป็นการนำเงินใส่ที่ตู้รับฝากเงิน ภายหลังที่สมาชิกนำเงินใส่เข้าไปในเครื่อง จะได้สลิปออกมา ให้เก็บสลิปนั้นไว้ เพื่อการันตีกับทางเว็บไซต์ Pussy888
ถ้าหากเว็บไซต์สล็อตไหน ที่เปิดทางทางการฝากเงินเข้าเล่นให้สมาชิกหลายๆหนทาง จะก่อให้สมาชิกยังคงเล่นเกมที่เว็บไซต์อย่างแน่นแฟ้น ไม่ย้ายไปเล่นเว็บไซต์อื่นแน่ๆ หากว่าเว็บไซต์นั้น จะให้บริการในด้านอื่นๆดี ระบบเกมนำสมัย แม้กระนั้นฝากถอนช้า ก็จัดว่ายังเป็นเว็บไซต์ที่ไม่สมบูรณ์แบบ สำหรับผู้เรียนซึ่งอยู่ในวัยที่เปิดบัญชีมิได้ สามารถสมัครและก็เข้าเล่นสล็อตออนไลน์ Pussy888 ผ่านเว็บไซต์ที่เปิดรับการฝากถอนจากทรู วอลเล็ทได้แล้ว และก็ถ้าเกิดต้องการเพิ่มเงินฝากบัญชี true wallet ก็สามารถเพิ่มยัง เซเว่น อีเลฟเว่นใกล้บ้าน
Pussy888

Unknown said...

Thanks for your sharing
hawaiian shirt
เสื้อวินเทจ
เสื้อวินเทจชาย