Updated to PS5. now it keeps hanging..

So, I installed PS5 (on Win7x64) and along with it came PSGallery etc and NuGet, got that all going OK. However, at work I generally have a couple PS instances open, one with my normal credentials, one with domain-admin.

The domain-admin account of course has no internet access. But since I installed this, it takes a long time for PS to start as a domain-admin, and while doing so procmon shows lines such as:

mypc:56459 -> a23-195-51-28.deploy.static.akamaitechnologies.com:https

That has to wait to timeout. Also, certain commands or maybe it’s on a schedule, seem to trigger a check as well so I can be using PS and suddenly it dies for a while until timeout happens.

How do I disable this? I can install any packages or update them from my normal account - I don’t need every session, some of which have no internet access, to be doing this as well.

Version : 5.0.10514.6
Name : PSGallery
SourceLocation : https://go.microsoft.com/fwlink/?LinkID=397631&clcid=0x409
Trusted : False
Registered : True
InstallationPolicy : Untrusted
PackageManagementProvider : NuGet
PublishLocation : https://go.microsoft.com/fwlink/?LinkID=397527&clcid=0x409
ProviderOptions : {}

Name Version

Programs 10.0.10514.6
msu 10.0.10514.6
msi 10.0.10514.6

There is an old fix for version 1 that you can try under your elevated account http://blogs.msdn.com/b/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx
also some tips from clean install where the .net optimization task had not run