You see, I now how two logon options, one to logon with the YubiKey and one to logon without (meaning only with the password) – both under the same Username because they were different logon providers pointing to the same NT account.

Well, this is no good. The whole point to creating a layer that’s difficult duplicate is because the password-only option allows brute-force over ‘x’ amount time to eventually win (the logic, here, being that given enough time, any combination of characters can eventually be guessed successfully).

NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft.

A few months ago, someone very dear to me asked why they couldn’t remove unwanted apps from Windows 10 – mainly over privacy and right to decline concerns. I took it up as a sort of personal challenge to find a way to rid these apps for other people, as well, whilst I was attempting to figure out how to do this for them specifically. So, I give you the result – which is still a work in progress.

# Restart the system, so the registy changes take effect in the Windows Search Service’s OnStart() method body.
}

Please note that this has only been tested on a local machine and, so far, validates. This can produce undesired results, such as not being able to install packages from the Windows Store in the future, since the Windows Store is removed via this script. YOU HAVE BEEN WARNED.

To use: Copy the red text into an Administrative session in PowerShell (right-click the PowerShell icon –> Run as Administrator). Run ‘Remove-UnwantedApps’ at the new line, after the red code lines from above have been pasted into the PowerShell session. Restart your machine. Profit.