I've looked into some old threads concerning drifting cursors and docking stations but there hasn't been one that solves my problem.
My cursor moves from the right to the upper left hand corner of my screen without touching it. I've disconnected the optical mouse I've been using to see if it was causing the problems. I've cleaned it (no dust or dirt) so no debris is interferring with the light. Then I restarted the computer without the mouse connected leaving just the touchpad to navigate. Unfortunately doing that did nothing, the cursor continues to move to the left corner. The problem only stops when I disconnect the laptop from the docking station. Sadly, I'm not willing to give up using the docking station because it has other devices connected to it (logitech webcam, tablet etc). I've tried using another mouse to see if that would solve the problem, but it still persists.
This occured when I ill-advisedly disconnected the laptop from the docking station without shutting down the computer first and then reattaching it also without turning the computer off first. I've restarted the computer hoping it would reset itself, but nothing.
I've also updated the driver for both the touchpad and the mouse and looked for a solution from HP, but no one else seems to have experienced the same problem. I even tried to restore to a point before this problem, but it didn't help. I ran server antivirus scans and spyware scans and nothing's been detected.