Windows Hello Unavailable or Managed By Organization on Domain Joined Machines

I recently have been running into issues where users Windows Hello is either “Unavailable” or “Managed by your organization”.

This is a pretty simple fix if you can do a registry edit.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"AllowDomainPINLogon"=dword:00000001

Either you can copy the code above and save it as a .reg file or open Registry Editor and navigate to the following path. Once you arrive to the path, create a DWORD 32 Key and set the value to 1. Once you do this, Windows Hello will begin working again.

Slow Speeds After Installing Hamachi VPN

I recently installed Hamachi’s VPN software for me to login to my house to be able to see my security cameras while I’m away. However, shortly after I noticed greatly reduced download speeds on my machine. After some digging around, I found the solution.

My download speeds were around 500KBPS to 550KBPS before. After running the following commands, I am back to full speed.

Run these following commands in a Command Prompt session with elevated rights (Run as Administrator).

netsh int tcp set global Timestamps=enabled
netsh interface tcp set heuristics wsh=disabled
netsh int tcp set global autotuninglevel=normal

Hopefully this helped you out!

SQL 2008 – Windows Server 2012 Installation Issue

 

When I was trying to install SQL 2008 on Windows Server 2012, I ran into this error.

Invoke or BeginInvoke cannot be called on a control until the window handle has been created

This error seems to have many fixes. But this was the only one that seemed to work for me.

1. In the Installation Disc you will find a folder, x86 and x64

2. Select as per your OS and go inside the folder

3. Click on the LandingPage.exe

4. It will show the page, in that click on the second Option on the left hand menu "Installation"

5. Click on "Start Standalone installation from the menu at the right side

6. It will ask for the location files on the disc

7. Show the location, e.g.<Your Disc Drive>/SQL Server Enterprise 2008/x86

After these steps, continue with your installation.

Feel free to let me know if this works.

IIS Config Backup With Robocopy

Recently I have been brainstorming about having an automated way of backing up IIS configs to a shared folder. Just imagine having your web servers going down and having to re-add all the website settings and bindings for hundreds of websites. I know for a fact that I would need a few strong drinks.

Let’s just have a cocktail and make a PowerShell script to do it for you instead.

I will post the script below. But for now, let’s break it down.

First we need to set the day of the week if you are going to be making daily backups.

$DayOfWeek = Get-Date -UFormat %A

Now we need to set the variables for the folders.

$ConfigFolder = "C:\Windows\System32\inetsrv\backup"
$ShareFolder = "\\YOURSHARE\IISBackup\$DayofWeek"
$ConfigLog = "C:\Users\LOCALUSER\Documents\Logs\IISConfig.log"

Let’s set the variables for email.

$EmailFrom = "backup@yourorg.com"
$EmailTo = "webadmin@yourorg.com"
$EmailBody = "Robocopy backup completed. See attached log files for more details."
$EmailSubject = "YOUR ORG - IIS Config Robocopy Summary"
$SMTPServer = "127.0.0.1"
$SMTPPort = "25"

Now we need to define the actual backup of the IIS Configs.

Backup-WebConfiguration -Name BackupTest

Move it over to your share.

Robocopy $ConfigFolder $ShareFolder /MIR /FFT /R:3 /W:10 /Z /LOG:$ConfigLog /NP

IIS doesn’t allow multiple names or even overwriting the configs. Understandable since you may need a weeks worth of backups. But we need to delete the old logs.

Remove-Item -path C:\Windows\System32\inetsrv\backup\BackupTest -recurse

Now is the real helpful part. Since you don’t want to check the servers everyday to see if the backups were successful, you will need an email.

Send-MailMessage -Attachments $ConfigLog -SmtpServer $SMTPServer -Subject $EmailSubject -Body $EmailBody -From $EmailFrom -To $EmailTo

That’s the script. It’s pretty simple and straight to the point. Any system running Windows 10 or later or any Windows Server OS will allow this script to be run.

It’s best to run this script with task scheduler. Task scheduler will even keep a nice history list if it fails or not.

Below is all the code combined and allows you to save and run.

# IIS Configuration Manager Backup Utility

# Define & Strip Day Name
$DayOfWeek = Get-Date -UFormat %A

# Set IIS Folders
$ConfigFolder = "C:\Windows\System32\inetsrv\backup"
$ShareFolder = "\\YOURSHARE\IISBackup\$DayofWeek"
$ConfigLog = "C:\Users\LOCALUSER\Documents\Logs\IISConfig.log"

# Set Email Parameters
$EmailFrom = "backup@yourorg.com"
$EmailTo = "webadmin@yourorg.com"
$EmailBody = "Robocopy backup completed. See attached log files for more details."
$EmailSubject = "YOUR ORG - IIS Config Robocopy Summary"
$SMTPServer = "127.0.0.1"
$SMTPPort = "25"

# Backing up the IIS Config
Backup-WebConfiguration -Name BackupTest

# Move the folders to your share
Robocopy $ConfigFolder $ShareFolder /MIR /FFT /R:3 /W:10 /Z /LOG:$ConfigLog /NP

# Delete Local Files After Move
Remove-Item -path C:\Windows\System32\inetsrv\backup\BackupTest -recurse

# Email Notifications
Send-MailMessage -Attachments $ConfigLog -SmtpServer $SMTPServer -Subject $EmailSubject -Body $EmailBody -From $EmailFrom -To $EmailTo

Amazon Prime Air: 30 Minutes or Less

prime-air_04

Amazon has some new potential delivery options with Amazon Prime Air. In the future Amazon is hoping that you will be able to get your packages that are under 55lbs in 30 minutes or less. No more waiting one or two days with your existing prime subscription. While Amazon already offers a similar service in select markets, this will be the first under one hour delivery. Although the drone is currently facing tons of red tape from the FAA, we should hope to see the drones soon.

Recently the NFL was cleared to use drones for its practices, maybe we will see them at a live game in the near future. This is a great leap forward for Amazon and any others interested in using drones.

Check out the video below with a real drone in action.