How to Make Google Chrome Remember the Correct Window Position


Even the best software programs have bugs. One of Google Chrome’s long-standing bugs is that for some reason it doesn’t seem to remember the window position set by the user. You open Google Chrome, move it to the best possible position on your desktop, then you close the program only to find it stubbornly go back to the wrong position the very next time you launch it.

These things can be annoying to an unhealthy degree. So how do we show Google who’s the boss? The process is not that complicated and takes up only a few minutes of tinkering.

Find Chrome’s Settings Folder

Close any open Google Chrome instances.

Open Windows Explorer by using the Win+E keyboard shortcut.

Go to C:\Users\Your_User_Name\AppData\Local\Google\Chrome\User Data\Default. Of course, instead of Your_User_Name you will see the user name you actually selected for your Windows account. Locate a file called Preferences without a suffix in this Default sub-folder.

If you can’t see the above mentioned folders, you will need to unhide them. Click Organize in the upper-left corner of Windows Explorer. Click Folder options in the drop-down menu. Click on the View tab in the Folder Options window.


Windows Explorer Settings


Windows Explorer Settings

Select Show hidden files, folders, and drives under Hidden files and folders.

Also untick Hide protected operating system files. At this point a warning message appears telling you not to fiddle with hidden files. Click Yes to display these files anyway. Click Apply and OK.

Set Your Own Preferences

Now that you can see the Preferences file, open it by dragging and dropping the filename to Notepad or better yet Notepad++.

Search for the window_placement keyword within the file’s content. It is under the browser section.


Google Chrome Preferences

Set the parameters of Google Chrome’s window placement to the correct numbers depending on your screen resolution and personal wishes.

If you are not sure what your display’s screen resolution is, find it out by going to Control Panel > Appearance and Personalization > Display > Screen Resolution.

You will get to the same destination by simply right-clicking with your mouse on your Desktop and selecting Screen resolution in the drop-down menu.


Check screen resolution

My screen resolution in pixels is 1920 × 1080.

I don’t want Google Chrome to open a full-screen window but I want it to be centered. And I also want it to reach from the absolute top of my display to the taskbar in the bottom.

Therefore, I will change the values as follows:

I centered the window by moving it in by 150 pixels on both sides, i.e. 0+150=150 on the left and 1920-150=1770 on the right. I set 0 on the top, because I don’t want to have any free space above the window. And in the bottom I put 1032 instead of 1080 because Windows’ taskbar takes up 48 pixels vertically. Also, I didn’t want to maximize the window, so I left the “maximized”: false line unchanged.

Now save the changes in the Preferences file and open Google Chrome.


Google Chrome correctly positioned

Voila, its window is positioned exactly as I wanted.

Don’t forget to go back and make all sensitive operating system files hidden again, so that you inadvertently can’t make any bad things happen.

Happy browsing!

Final Thoughts

If you know about a similarly annoying software bug, let me know and I will try to find a solution for it. Also, if you managed to solve such things, boast a bit in the comments section below.

Liked this post?

Subscribe to our newsletter to receive early notification of new posts and deals:
[mc4wp_form id=”45″]

Next Post »« Previous Post