If that square is not appearing in a screenshot, then it is most likely not Windows generated.
If you are using an external monitor, press the menu button on the monitor to try to find what function on the monitor is generating that square.
If you still cannot find the cause of that square, what is the make (Dell, Lenovo...etc) of your system and please provide a photo of your screen showing that square.