xud6的笔记本

  • 主页
  • Centos
  • SELinux
  • FreeIPA
  • node.js
  • ember.js
  • Hyper-V
  • Windows
  • Embedded
  • Linux
  • 树莓派
  • Subscribe

Windows域环境自动登录

15 二月 2020  •  Filed under windows, Active Directory

打开注册表编辑器前往

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

设置以下项(均为字符串类型)
DefaultUserName 用户名
DefaultPassword 密码
DefaultDomain 域名
AutoAdminLogon 设为1开启自动登录

更多
https://support.microsoft.com/en-us/help/324737/how-to-turn-on-automatic-logon-in-windows

npm 临时更改当前 registry

设置环境变量npm_config_registry为目标registry Linux/MACOS下 export npm_config_registry=https://registry.npmjs.org…

powershell远程激活windows

$computer = gc env:computername $key = "激活密匙" $service = get-wmiObject -query "select * from…