Bypass Smart Card Logon using Remote Registry in PowerShell

This PowerShell script changes the value of scforceoption on the specified computer in order to immediately allow logon without a smart card.

The actual work is performed by only a few lines of code. Most of the script is for generating the Windows Forms GUI. This code was created using Sapien’s PrimalForms Community Edition.

I now have an updated version that works like a PowerShell cmdlet.