24 August 2017

Windows Insider Program Get Started Button Greyed Out

I came across this because I wanted to make use of the new One-drive on demand sync feature which is only available if you run a Windows 10 insider version.

But the Insider program get started button was greyed out.

To correct this you have to set your privacy settings to "Full"
Settings > Privacy > Feedback & Diagnostics > Under "Diagnostic and usage data select "Full (Recommended)"

Also delete the following registry key:

After a reboot you can finally join the insider preview program.

18 August 2017

PowerShell behind Authenticating proxy

I've seen this at my work a few to many times.
Certain command's just don't get through or something errors out with strange unidentifiable reasons.

Not all command in PowerShell will go through the proxy, IE will pass this on using Windows Integrated Authentication but the .NET Webclient used by PowerShell doesn't appear to do this.

How to get past this? Copy/paste this in your PowerShell windows and all your commands go through your proxy.

$wc = New-Object System.Net.WebClient
$wc.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials

You could add this to your profile to load at startup:

New-item –type file –force $profile            
Notepad $profile

Paste in Notepad:

$wc = New-Object System.Net.WebClient
$wc.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials

Save the Notepad Microsoft.PowerShellISE_profile.ps1 file

There is a request on Connect to have this looked at by the PowerShell team.