Category Archives: Windows

Hyper-V虚拟机安装

Install Hyper-V in windows 2008 R2 Enterprise Server Manager-add roles Select Hyper-V PS.Installation need reboot Create virtual machineHyper-V manager Action-New-Virtual Machine Name of virtual machine Memory Network Hard Disk Install options Summary Tips: release mouse press”ctrl+alt+ ←” 补充以下 J, 下面Hyper-V成功安装 VM能正常运行是需要前提条件的 … Continue reading

Posted in OS, Windows | Tagged , | Leave a comment

Windows server 空间不足

WinSxS下为一些常用的动态链接库,不建议删除 使用 cleanmgr.exe进行磁盘空间清理。 使用如下方式将windows update相关的目录重定向到其他分区 net stop wuauserv net stop bits if exist C:\Windows\SoftwareDistribution rmdir /S /Q C:\Windows\SoftwareDistribution rmdir /S /Q D:\SoftwareDistribution if not exist D:\SoftwareDistribution mkdir D:\NewUpdateFolder CD /D C:\Windows mklink /J SoftwareDistribution D:\NewUpdateFolder net start wuauserv net start … Continue reading

Posted in OS, Windows | Tagged , | Leave a comment

AD域控——用户及组策略管理

获取密码策略: Get-ADDefaultDomainPasswordPolicy 具体内容的解释,参见:https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/account-lockout-duration 查询“密码永不过期”的用户: Get-ADUser -Filter ‘PasswordNeverExpires -eq $true’ -Server DCHostname | select name 通常情况下,我们使用这样的方式获取所有的名称: get-aduser -filter ‘passwordNeverExpires -eq $true’ | select name 可以通过OU=xxx DC=xxx 来限定OU,注意,要用逗号分隔的方式把整个DC都用.进行拆分 Get-ADUser -searchbase ‘ OU=Dongguan,DC=szmaxcent,DC=COM,DC=CN ‘ -Filter ‘PasswordNeverExpires -eq $true’ -Server DC001 | select name

Posted in OS, Windows | Tagged , , , | Leave a comment

windows-远程桌面提示license没有

1、客户反馈,有远程桌面,license错误,需要购买

Posted in OS, Windows | Tagged , , | Leave a comment

Windows Logon Type的含义

Windows Logon Type的含义 。  Logon type 2 Interactive  本地交互登录。最常见的登录方式。  Logon type 3 Network 网络登录 – 最常见的是访问网络共享文件夹或打印机。IIS的认证也是Type 3  Logon type 4 Batch 计划任务  Logon Type 5 Service 服务 某些服务是用一个域帐号来运行的,出现Failure常见的情况是管理员更改了域帐号密码,但是忘记重设Service中的帐号密码。  Logon Type 7 Unlock 解除屏幕锁定 很多公司都有这样的安全设置:当用户离开屏幕一段时间后,屏保程序会锁定计算机屏幕。解开屏幕锁定需要键入用户名和密码。此时产生的日志类型就是Type 7  Logon Type 8 NetworkCleartext 网络明文登录 — … Continue reading

Posted in OS, Windows | Tagged , , | Leave a comment