Toggle Smart Card Logon Requirement with Set-ScForceOption

Two-factor authentication with smart cards is becoming more common, but it can be a real pain when the computer is broken and Windows is refusing to allow a local account to logon for troubleshooting. The security setting Interactive logon: Require smart card may prevent console logons, but if the registry can still be accessed over []

Getting computer serial numbers over the network

I hate inventory. Running around writing down serial numbers seems like something we shouldn’t have to do these days, but we still do. At least I do anyway. This script will attach to a specified computer over the network and grab some information about it, including the serial number of the system and monitors attached []

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 []

Bypassing Smart Card Logon using Remote Registry

This VBscript prompts for a computer name or IP Address, connects to that system’s registry over the network and changes the scforceoption key to allow for immediate logon without a smart card. A PowerShell GUI version of this script can be found here, and there is also an updated version that works like a PowerShell []

Disable Power Management on Network Adapters and USB Ports with VBScript

This VBscript automates a registry hack to turn off the power management on Network Cards and USB ports. Network Adapters and USB ports have a Power Management Tab under their properties in Windows Device Manager. Information on the registry changes can be found in Microsoft KB article 837058.

Change Numlock Status at Ctrl+Alt+Del Logon screen

Numlock status on a Windows computer is controlled from three places. The BIOS controls the numlock until Windows is booted. At the logon screen, the numlock status along with settings such as the screensaver are loaded from the .DEFAULT user profile. After a user logs on, the settings are loaded from that particular user’s profile. []