Starting Steam in offline mode doesn’t work
I have recently moved and are without normal internet on my computer now but I can at least get a limited connection by sharing my phone’s internet connection. After setting up the computer I tried to start Steam with the intention to play some games in offline mode. As expected I got a popup that said that Steam couldn’t connect to the network and asked me if I wanted to start it in offline mode.
I selected to start in offline mode, but was only greeted by two new error popups where one where hidden below the second one. The first, that was hidden, mentioned that “This operation could not be completed when Steam is in Offline Mode” and the second one said that it couldn’t connect to the Steam network.
When closing the second dialog which was active the first one closed as well and Steam then shut down. I retried starting steam and starting a game from a previously created shortcut but this just resulted in the same error messages.
On the internet I found a long thread on the steam forums that’s been discussing this topic for several years and with the latest posts today. In that thread there are a lot of discussions back and forth about different theories and new people joining in without reading any of the previous posts. However somewhere among all these comments there was a link to another post by user X.nano in another similar thread that explains the cause of the problem and some workarounds.
The basic problem for me seems to be that Windows doesn’t close down steam properly when I shut down the computer. As mentioned by X.nano:
Using Process Monitor, I found that the problem cache is steamapps\winui.gcf, a file which is used mainly to store Steam interface resource files. After taking md5 hashes of the file at various points I found that the file is modified when Steam starts in online mode, and changes back when it exits. However, if Steam is not shutdown cleanly then the online version of the file is left there and this one prevents you from getting into offline mode.
So to prevent this problem from happening you have to shut down Steam manually before you close the computer to make sure it’s closed properly. Another solution that helps you to recover from this situation if you forgot to close Steam manually is to create a backup of winui.gcf after you have exited Steam manually and then restore this backup if you run into this problem again.
Since this file holds various settings for Steam you might need to create a new backup whenever Steam is updated, you add/remove friends or do any other changes to your Steam settings. A third option would be to use a hex editor to update the offline mode part of winui.gcf as described by X.nano in a followup post. Since you are modifying a binary file directly with this approach it’s possible that this method will stop working in the future if the format of this file is changed in future versions of Steam.
Not possible to start Steam in offline mode when not connected to the internet.
OS doesn’t shut down Steam cleanly when turning off the computer
Workarounds / solutions
Choose one of three different workarounds:
- Exit Steam manually before shutting down computer.
- Start steam with network connection and shut it down cleanly. Then make a backup of
steamapps\winui.gcf. Restore the backup:ed version of this file when Steam fails to start in offline mode the next time.
- When Steam fails to start in offline mode update
steamapps\winui.gcfwith a hex editor following these instructions.