

Regedit.exe /s "\\Server\Share\Pinned.reg" Xcopy /E /Y "\\Server\Share\User Pinned" "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned" IF EXIST "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" GOTO NOTASKDIRĭel "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*" /S /Q "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" /q Create a Batch file to apply the pinning (You need to kill explorer.exe process and restart it so that changes take effect immediately).\\Server\Share\User Pinned\TaskBar\: It contains the exported shortcuts.\\Server\Share\Pinning.reg: Is the exported reg file.In our case, we have used the following structure: Copy the exported elements to a shared folder.Copy the content of %APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar.Use regedit to export the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband.Configure Taskbar items pinning manually on a reference computer: The pinning configuration and shortcuts will be exported from this computer and imported to target ones.To replace Taskbar items pinning, all you need to do are: To have default Taskbar items pinning configured. These environments have usually predefined environments and it might be interesting Replacing Taskbar items is usually helpful for environment where desktop customization is limited or intended to be for public usage (Example: Public computers in Schools). Of course, you will need to test manually that the Batch File can be executed with no problems and that the items are getting properly mapped before using GPOs. Create a new GPO and set the Batch File as logon script.Example: c:\windows\system32\mspaint.exe) \\Server\Share\ PinItem.vbs /taskbar /item:"Path " Create a Batch File to pin your items using the following command: cscript.Copy the VBScript to a shared folder (In our case, it will be.Download Pinitem.vbs script (You can download it from here:.To add new Taskbar items pinning, all you need to do are: This can be helpful forįrequently used programs like Microsoft Office Outlook. This is because it allows the Workstations admin to add extra items pinning without removing the existing ones that end users have already configured. How to add new Taskbar items pinning?Īdding Taskbar items pinning is the most frequently used method in Enterprises. Missing one of them results in non-successful or incorrect pinning. Windows is then using registry keys to get the Taskbar pinning configuration and the File System to get the shortcuts.

In the registry: Under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband, the items pinning configuration is stored.
