While Microsoft remembers to introduce this change, which really won’t involve many lines of code, we can use a trick that allows us to move the taskbar to the top of the screen. There are other options that also allow us to move the taskbar to the left and right of the screen, however, when changing the position of the icons and the alignment of the bar icons, they disappear or are not displayed correctly in most cases, so for now, we are only going to focus on changing the position of the taskbar to the top of the screen.
Change the position of the taskbar in Windows
In order to make this change, we are going to use the Windows’ register, so the first thing to do is a backup, in case the process fails (if we make the changes correctly nothing has to happen). To make a registry backup, we access this application through the “regedit” command in the search box and in the File menu, select Export and set the path where we want to save the Windows registry as it is before to make the change.
reg add "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerStuckRects3" /v Settings /t REG_BINARY /d 30000000feffffff0200000001000000300000002000000000000000c203000080070000e20300006000000001000000 /f
If we have entered the code correctly, it will inform us that the process has been completed successfully.
Next, we need to enter the following commands to close File Explorer, then run it again for the changes to take effect.
taskkill /F /IM explorer.exe
If we want to revert the changes, we must use PowerShell again to enter the following line to the Windows registry
reg add "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerStuckRects3" /v Settings /t REG_BINARY /d 30000000feffffff0200000003000000300000002000000000000000c203000080070000e20300006000000001000000 /f
In addition, we must also close the explorer and restart it through the commands that we have shown you above.