Created
January 8, 2017 23:59
-
-
Save gjyoung1974/52a321cb8c98adddffbde1f0f146b130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Gordon Young gjyoung1974@gmail.com | |
* Windows Registry Write template | |
*/ | |
// Instantiate a Windows Shell | |
var objShell = new ActiveXObject("WScript.Shell"); | |
//disable DisableWindowsConsumerFeature | |
objShell.RegWrite("HKEY_LOCAL_MACHINE\\Software\\Policies\\Microsoft\\Windows\\System\\AllowDomainPINLogon", 0, "REG_DWORD"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment