Windows 10 自带VPN 拨号 飞塔防火墙

  1. image1

  2. 注意服务器地址为: VPN网关地址+ 端口号+ "/?ignore-certificate-errors=1"

    /?ignore-certificate-errors=1 意为忽略证书问题

    然后保存

more ...

Hyper-V三种虚拟网络类型的理解

Hyper-v 支持外部、内部、专用三种网络,分别对应内部、外部、专用三种虚拟交换机的类型。

image1

  1. 按照 Hyper-V 自己的说法就是 "创建一个绑定到 …
more ...

MS SQL 服务器优化

公司MS SQL 服务器变得很卡

业务也反应卡

查询网上优化建议后,发现数据得内存配置存在问题

调整SQL 中 的服务器最大使 …

more ...

windows 电脑网络连接图标显示地球

windows 电脑网络连接图标显示地球。

微软根据系统内置地址进行判断。

地址列表在注册表中:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet

image1

more ...

Outlook Pop3 协议 收取邮件时间设置

  1. 打开outlook---文件----选项----高级---找到"发送和接收"

    image1

  2. 点击发送/接收按钮,按照需求设置时间。

image2

more ...

获取文件夹下所有文件的owner

将以下内容存为bat,在文件夹下运行

takeown /f * /a /r /d y

more ...

windows下批量修改文件(或文件夹)权限或所有者

强制将当前目录下的所有文件及文件夹、子文件夹下的所有者更改为管理员组(administrators)命令:

takeown /f * /a /r /d y
more ...

AD 密码过期查询

  1. 单个AD 账号查询
net user %USERNAME% /domain

例如:

PS C:\Windows\system32> net user lansz /domain
这项请求将在域 jx.cn 的域控制器处理。

用户名                 lansz
全名                   Lan ShunZhou
注释                   兰顺舟 …
more ...

office 激活

office 2019
转换成 vol版本出现报错
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /rearm
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。

---Processing--------------------------
---------------------------------------
There was an error when trying to rearm Office. You can try …
more ...

用AD组策略部署Bginfo,桌面显示用户信息

工具:Bginfo,Windows AD 组策略

  1. 先配置好Bginfo

image1

对于IP 需要自定义,否则会出现不在使用的网卡的地址为空,显示为<none>。

为了过滤不适用的 …

more ...

Windows10系统下的WSL+Ubuntu图形桌面配置

  1. Windows下安装VcXsrv

image1

2. WSL Ubuntu下安装xfce desktop
sudo apt-get install xfce4-terminal
sudo apt-get install xfce4
  1. ~./bashrc末尾添加Display信息
export DISPLAY=:0.0
export LIBGL_ALWAYS_INDIRECT=1
执行下面命令,使修改生效配置
source ~/.bashrc
4. Windows上打开XLaunch
选择“Multiple Window”,Display number填写0。其他 …
more ...

powershell:远程连接服务器

(1)在server端输入“Enable-PSRometing”,启用远程连接;
(2)在client端输入set-item wsman:\localhost\client\trustehosts –value “192.168.11.53”,将server设置为client的信任主机。
(3)输入“enter-pssession –computername 192.168.11.53 –credentrial contoso.test\administrator”,输入密码后即可远程登入server;
more ...

Word 2019 发布wordpress 博客

  1. 新建
  2. 搜索博客,选择博客模板

image1

  1. 选择wordpress ,输入账号密码
more ...

自建KMS 激活 win

wget https://github.com/Wind4/vlmcsd/releases/download/svn1111/binaries.tar.gz
解压
tar -zxvf binaries.tar.gz

Intel,那么就可以直接用我下面的命令进入目录:

./vlmcsd-x64-musl-static

查看vlmcsd的运行情况,可以使用如下命令 …

more ...

查看 Windows 电脑已经连接过wifi 信息

开始运行, cmd

more ...

PS快速解锁AD 账号

查找账号: get-aduser -f {name -like '*santa*'} | format-list name,samaccountname

1.查询账号是否被锁定

Get-ADUser sean.shen -Properties * | Select-Object lockedout
  1. 解锁账号

    Unlock-ADAccount -Identity sean.shen

more ...

MDT 客户端载入镜像出错

今天我们的小伙伴在使用MDT 装机的时候遇到个问题,无法载入vim 启动镜像

image1

查询很多文档后发现,是由于TFTP的验证出现问题,未能找到根本 …

more ...

PING命令的各类反馈信息

1、Reply from 75.44.24.253: bytes=32 time=3ms TTL=254

C:\>ping 75.44.24.253

Pinging 75.44.24.253 with 32 bytes of data:

Reply from 75.44.24.253: bytes=32 time=3ms TTL=254

Reply from 75.44.24.253: bytes=32 time …

more ...

powershell 批量更新用户账号属性

命令:

Import-Csv 'd:\phone.csv' | % { Set-ADUser -identity $_.'samaccountname' -mobilephone $_.'mobilephone' -OfficePhone $_.officephone }

phone.csv 内容如下:

samaccountname,MobilePhone,officephone
account,(86) 21 1234567 ,(86) 098765454331
more ...

Powershell 添加ad 组成员

Add-ADGroupMember -Identity <Groupname> -Members <useraccount>,<useraccount>,<useraccount>

参考地址:https://technet.microsoft.com/zh-cn/library/hh852331.aspx

more ...