xud6的笔记本
  • 主页
  • Centos
  • SELinux
  • FreeIPA
  • node.js
  • ember.js
  • Hyper-V
  • Windows
  • Embedded
  • Linux
  • 树莓派
  • MACOS
Subscribe
windows

Windows域环境自动登录

  • xud6

xud6

2020年2月15日 • 1 min read

打开注册表编辑器前往

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

Sign up for more like this.

Enter your email
Subscribe

修改Windows网卡优先级

打开Powershell 获取网卡信息 Get-NetIPInterface 修改InterfaceMetric,更换21为对应网卡index,10为需要优先级(数字越低优先级越高) Set-NetIPInterface -InterfaceIndex 21 -InterfaceMetric 10

  • xud6
xud6 2022年9月27日 • 1 min read

Powershell 设置链接DNS suffix

Get-DnsClient 获取 InterfaceIndex Set-DnsClient -InterfaceIndex {InterfaceIndex} -ConnectionSpecificSuffix "{domain name}"

  • xud6
xud6 2022年8月19日 • 1 min read

Ubuntu 20.04 lightdm 关闭休眠

禁用systemd休眠状态 sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target 修改lightdm的Time before suspend sudo -u lightdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 sudo -u lightdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0 sudo -u lightdm dbus-launch gsettings set org.gnome.settings-daemon.

  • xud6
xud6 2022年7月25日 • 1 min read
xud6的笔记本 © 2023
Powered by Ghost