Game always freezes on "Logging Into Diablo 4" screen... tried everything

This would indicate a connection issue.

That would probably revolve around Direct Storage, which I doubt has an influence here, but you can disable that with a better method:

Probably not going to help anyway, but okay.

Okay, I want to make sure I understand. You completely reinstalled windows? Or did a Refresh (where it leaves stuff intact and essentially does a “repair” of Windows)? Those are two entirely different things. And that would mean that:

This would have already been done with the above step. Or it should have been.

This sounds like its a desktop? Is that correct?

Are you hardwired to your internet or using a wireless connection?

Any other details about your internet, what router, etc?

Does your system use an ethernet card based on an Intel I225-V model? (look in device manager) Assuming you are using a network cable and not wireless, those can be problematic with some routers, especially when set to auto negotiate speeds. I usually recommend setting them locked to the routers top speed for the port its connected to. Usually this is 1GB Full Duplex. The card can operate up to 2.5GB Full Duplex, but with some routers it can get stuck and cause issues, especially with Diablo IV when its set to auto-negotiate, which is its default setting.