Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to set which edge the taskbar is laid out on (either horizontally or vertically to the top, bottom, left and right borders of the screen) via the command line?

Workarounds (like forcing explorer to restart after a registry mod) are ok if necessary, but clean ways are preferred.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

The settings are stored at:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2

You can reg import the ready-made .REG files available here or reg add the settings yourself and if required, taskkill explorer.exe and relaunch it.

You can also use a utility like TSTbarSet, which allows you easy command-line access to most Taskbar-related settings:

TSTbarSet is a command-line utility to set common settings of the Windows Taskbar for individual user sessions and apply them immediately. Common settings include hiding the clock on the taskbar, hiding Taskbar itself, and setting the position of the taskbar within the user session.

This utility was written for the purpose of allowing an administrator the ability to deploy common Windows Taskbar settings for multiple users. TSTbarSet allows these settings to be implemented at anytime during a users session without the need to logoff and logback on again.

share|improve this answer
    
+1 for TSTbarSet. Easy to set up and worked beautifully. –  Gordon Gustafson Apr 7 '13 at 19:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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