Add Toolbars to Taskbar in Windows 10  

Page 6 of 6 FirstFirst ... 456

  1. Posts : 12
    all
       #50

    is there a way to add a named folder to toolbar/add new toolbar with cmd or powershell? i'd like to try and automate making a folder named the computer name and display this in the toolbar to identify the computer. i've been doing this manually for years, but i was seeing if there was a way to automate this to deploy on many machines in my setup .bat file.

    thanks

    -i see now that it had been asked in like page 4 and i didn't catch it. i didn't see how i could remove this question.
      My Computer


  2. Posts : 5
    Windows
       #51

    Backup & restore

    lavinnyv said:
    is there a way to add a named folder to toolbar/add new toolbar with cmd or powershell?
    -i see now that it had been asked in like page 4 and i didn't catch it. i didn't see how i could remove this question.
    Create and position the toolbar
    Open cmd:
    > reg export HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop Taskbar_Toolbars.bak.reg
    > reg export HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3 Taskbar_Toolbars_position.bak.reg

    Using those 2 files, you can add the toolbar with a .bat script:
    taskkill /f /im explorer.exe
    reg import Taskbar_Toolbars.bak.reg
    reg import Taskbar_Toolbars_position.bak.reg
    start explorer.exe

    Partial icon bug workaround

    George S said:
    There is an issue with locking the taskbar to hide the move/resize handles (as of Windows 10 version 1903). If a toolbar with a short name has been moved or resized in the taskbar, then locking the taskbar leaves its width unchanged, exposing its first icon. Resizing a toolbar moves or resizes the toolbar to its left, so the problem cascades.


    The only workarounds I have found are:
    1. Leave the taskbar unlocked.🙁
    2. Remove the toolbars and add them again in order (left to right).😒 Lock the taskbar immediately if it is not already locked.


    If workaround 2 becomes a bother, you could look into backing up and restoring your toolbars. I have not tried it.
    Workaround 2 didn't work for me.

    Finally found a workaround that seems to work (Windows Server 2022):
    1. Create the toolbar starting from an empty folder.
    2. Position it, lock the taskbar. No icon shows.
    3. Afterwards, add files and subfolders to your empty folder.
    4. Once the toolbar definition and layout is backed up using the above method, no icons will show upon restore, even when there are subfolders.
      My Computer


  3. Posts : 16,963
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #52

    Mister Sir said:
    Create and position the toolbar
    Open cmd:
    > reg export HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop Taskbar_Toolbars.bak.reg
    > reg export HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3 Taskbar_Toolbars_position.bak.reg

    Using those 2 files, you can add the toolbar with a script:
    taskkill /f /im explorer.exe
    reg import Taskbar_Toolbar_TSPrograms.bak.reg
    reg import Taskbar_Toolbar_TSPrograms_position.bak.reg
    start explorer.exe
    I have Taskbar Toolbars but do not have that first Registry Key.
    I do have HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop
    What can you tell me about how that procedure was developed?
    If it looks robust I'll try testing it.

    Mister Sir said:
    Workaround 2 didn't work for me.

    Finally found a workaround that seems to work (Windows Server 2022):
    1. Create the toolbar starting from an empty folder.
    2. Position it, lock the taskbar. No icon shows.
    3. Afterwards, add files and subfolders to your empty folder.
    4. Once the toolbar definition and layout is backed up using the above method, no icons will show upon restore, even when there are subfolders.
    Didn't post #20 work in Windows Server then? I'm surprised.
    Taskbar Toolbars - Creating and naming, customising, moving [post #20] - TenForumsTutorials
    Section 3, Moving Taskbar Toolbars to the left, includes a sizing procedure.



    All the best,
    Denis
    Last edited by Try3; 29 Sep 2023 at 06:15.
      My Computer


  4. Posts : 5
    Windows
       #53

    Taskbar_Toolbars.bak.reg is a filename I made up (as you can tell I edited it afterwards from the original "TSPrograms"); the key you and I have is the same (HKCU/.../Desktop). I got that registry key off the internet.

    Now that I tried it, Post #20 section 3 also worked :) So the gist there is to first uncheck show text & show title, then drag to the left and make it as small as possible, finally check show title.
      My Computer


  5. Posts : 16,963
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #54

    I'm glad post #20 worked.

    I've also rechecked that first Registry Key in your post and I do have it after all.
    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3
    I have no idea what mistake I made before.

    I'll test your suggestion out on a little-used computer soon.
    There is a tutorial about backing up Taskbar Toolbars
    Backup and Restore Taskbar Toolbars - TenForumsTutorials
    but it only deals with the second Key you mentioned HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop
    My own notes imply that I have never tested that tutorial's procedure so I'll need to test both that & your suggestion.


    Thanks,
    Denis
      My Computer


  6. Posts : 12
    all
       #55

    what i'm trying to do -
    i'm setting up a large batch of computers and putting the name in the taskbar by the only way that i can find so far - making a new toolbar with the name of that computer. when i set the computer up and i change it's name with code, it also makes a folder with that same computer name. so i'm trying to find a way to run a command/bat to create a new toolbar, pick that folder (or at least make a new toolbar folder with %computername%) and then have that in the taskbar.

    but what's being talked about here is building a .bak file after making the new toolbar and then calling that up to build the taskbar the same. but, i need every taskbar to be different, since each computer will have a different named toolbar folder.

    that's what seems to be not possible based on earlier posts in this thread.


    Add Toolbars to Taskbar in Windows 10-pb-win10-desktop-setup-2021-copy.png
      My Computer


  7. Posts : 5
    Windows
       #56

    making a new toolbar with the name of that computer
    That'd be interesting to be able to do.
    If there's no solution, alternatively one could automate setting the desktop background to display the computer name?
      My Computer


  8. Posts : 12
    all
       #57

    bginfo can do that, but if you have any widows open it can block that information. the toolbar is the best way to see the computer name and i've been doing it for years. i was just looking for a way to automate that process. i automate naming the computer. i automate creating the folder with the computer name. but i have to remote to the computer and manual click the taskbar and set up the custom toolbar. i was hoping i could get that process more efficient, but it seems like it's not going to happen.
      My Computer


 

Tutorial Categories

Add Toolbars to Taskbar in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:39.
Find Us




Windows 10 Forums