This is a bug that's been there for years and not fixed. here's how I work around it:
For me this problem only occurs when I have moved my default second screen to the left of the main monitor - the taskbar stays with the primary monitor but all the icons shift left onto the second monitor.
- Plug in the second monitor which physically sits to the left of your primary screen
- Right click the desktop, choose Graphic Options>Output To>Extended Desktop> Built-in display + Monitor.
- Extended desktop enabled, but screen 2 (on the left) can only be accessed by moving the cursor to the right!
- right click the desktop and choose Graphic Properties - choose 'Multiple Displays' from the side menu.
- Move monitor 2 from it's default 'Right' side to the left - ALL THE ICONS GO WITH IT to screen 2 but the taskbar stays on the primary monitor!!!!!
- Click 'Apply' to accept this (temporarily) - close the 'properties' window.
- Right Click the desktop, but this time choose 'Screen Resolution'. Ensure that screen 2 is to the left - if not, move it.
- Click on screen 1 and ENSURE IT SAYS 'This is currently your main display'
- Click on screen 2 and tick the box that says 'Make this my main display' -the taskbar should move to screen 2.
- FINALLY click on Screen 1 again and tick the box that says 'Make this my main display' -the taskbar AND ALL THE ICONS should move back to screen 1.
Works every time for me.
BE AWARE - there are lots of bugs around extended desktop - beware of letting the machine hibernate or sleep in extended desktop mode and disconnecting the extended screen - mine wakes up defaulting only to the extended screen (my main screen is blank whatever I choose to do) - Blind hard reboot required
every time and lost data ensues...
Thank you! Your post was very helpful up to a point. My system is using a Dell Laptop and a 27" external monitor. It uses the Intel Graphics Adapter and Intel Display Settings utility, so I can't just follow along with your step-by-step procedures. My Primary has been the Laptop display and all Icons have resided there until a week ago. Now the Icons have moved to the second monitor and they go back to the laptop if I set it for built-in display only.