2

When I right-click a Windows taskbar toolbar, I can toggle some options such as Show Text, Show Title and Lock the Taskbar. I can also reorder the icons on the toolbar and set it's position.

How can I do the following via a script?

  • create a new taskbar toolbar
  • set the toolbar position
  • set the order of the icons
  • toggle Show Text
  • toggle Show Title
  • lock the toolbar
4
  • 1
    All can be done using powershell since powershell can use C# library. Search the internet for Poweshell solutions. – S Nash Jun 9 '14 at 15:29
  • I suspect that when you change settings a desktop.ini file is created inside the toolbar with attribute hidden. Otherwise it is set through the registry. My knowledge is not sufficient enough to answer this, which is why I added a comment instead. It may help others write a solution. – LPChip Jun 9 '14 at 15:29
  • Thanks @SNash but I'd already searched. Seems it's not so simple... – shamp00 Jun 9 '14 at 16:07
  • Yeah @LPChip I'd looked for a desktop.ini, but no luck. – shamp00 Jun 9 '14 at 16:08
0

Most of the settings can only be altered by the user, this was a concious design decision by Microsoft. See here and here for some reasons why. If the user runs the script their taskbar could be adjusted. See here for an example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.