Turns out Windows 10 is missing the old network adapter priority under advanced settings. Remember this? Noticed my wireless adapter had priority while I was uploading some VHD’s to Azure. When I checked the priority I saw I was missing something. No Adapaters and Bindings tab. After a quick search online I discovered they removed […]
Read More →Archive for January, 2017
Blocked 3 Asian Pacific subnets
Tired of logs full of connection attempts from hosts in these subnets. All from Asian Pacific IPs. So I just blocked 3 /8’s. That’s over 16 million IP’s per subnet. I wish there was a process for revoking IP’s from abusive users. If you want to block them here are the subnets I blocked and […]
Read More →Powershell script to add a local administrator user to Windows server
A simple script to create and add a local administrator to a Windows VM. [code language=”powershell”] $user = Read-Host -Prompt ‘Input your username here’ ? Add-Type -Assembly System.Web $pass=[Web.Security.Membership]::GeneratePassword(14,0) NET USER $user "$pass" /ADD /y NET LOCALGROUP "Administrators" "$user" /add WMIC USERACCOUNT WHERE "Name=’$user’" SET PasswordExpires=FALSE ? Write-Host "Username: $user" -backgroundcolor black Write-Host "Password: $pass" […]
Read More →The blog has been updated
Now featuring https. For years I’ve been wanting to enable https but WordPress fought me tooth and nail on it (thanks SEO friendly rewriting). Well, I finally figured it out. ?Simply changing the URL in settings was not working, neither was the wp-config by itself. Here is what I ended up adding to wp-config.php. [code […]
Read More →