使用Acctinfo.dll了解更多AD用户帐号信息

说明

Acctinfo.dll是一个动态链接库文件,注册这个动态链接库文件之后,管理员可以通过使用“Active Directory用户和计算机”管理控制台查看用户属性的时候,增加一个“Additional Account Info”选项卡。这个选项卡可以让管理员查看Active Directory中的一些高级信息,例如:用户上次修改密码时间、用户帐户上次登录时间等。使用“Additional Account Info”选项卡查看信息,主要是出于以下两个方面的需求。

  • 在某些情况下,部分信息没有被明确的保存在Active Directory中,只是在需要的时候被计算出来。例如:某用户帐户密码到期的具体日期并没有被存在Active Directory中,可是在Active Directory中却存储了用户最近更改密码的日期和密码最长使用期限。为了能够判断一个用户帐户密码具体的到期日期,通常情况下可能会使用脚本获取这些信息然后计算出最后的结果。Acctinfo.dll可以自动计算这些数据,并直接将结果显示出来。
  • 在某些情况下,部分信息没有被存储在Active Directory中,而是被存储在本地。例如:某用户帐户上次登录时间和上次注销时间仅仅被存储每个域控制器本地,并没有复制到域中的其他域控制器中。Acctinfo.dll可以帮助管理员检查某台域控制器上用户上次登录和注销的具体时间。如果你在域中有多个域控制器,管理员可能需要在每个域控制器上都安装Acctinfo.dll以检查某一个用户帐户在每台域控制器上的登录、注销时间。

此外,使用Acctinfo.dll还可以更加方便的修改用户帐户密码,锁定或解除锁定用户帐户。

系统要求

Windows Server 2003 或 Windows 2000 Server 操作系统
安装Acctinfo.dll必须拥有管理员权限

文件要求

Acctinfo.dll

安装Acctinfo.dll

在使用Acctinfo.dll之前,需要安装注册Acctinfo.dll文件。

1。将Acctinfo.dll文件复制到“%windir%\system32”文件夹中。在Windows Server 2003中,通常这个文件夹为“C:\Windows\System32”;在Windows 2000中,这个文件夹通常为“C:\Winnt\System32”。

2。打开命令行窗口,假设“%windir%\system32”文件夹为“C:\Windows\System32”,键入以下内容:
regsvr32 c:\windows\system32\acctinfo.dll

如果命令执行成功,将会出现一个成功注册Acctinfo.dll的对话框。

卸载Acctinfo.dll

可以随时卸载Acctinfo.dll。

打开命令行窗口,假设当前系统的“windir%\system32”文件夹为“C:\Windows\System32”,键入如下内容:
regsvr32 /u c:\windows\system32\acctinfo.dll

如果命令执行成功,Acctinfo.dll将会被成功卸载。

使用说明

安装注册Acctinfo.dll之后,启动“Active Directory 用户和计算机”管理控制台,双击查看某一用户帐户的属性,选择“Additional Account Info”选项卡。各项具体含义如下表所述

属性 描述
Password Last Set 显示用户帐户密码上次设定时间。
Domain Password Policies 单击这个按钮,可以查看域中密码策略。
Password Expires 显示用户帐户密码到期的具体日期。如果用户密码是永不过期,可以单击“Decode”按钮,在出现的对话框中显示“UF_DONT_EXPIRE_PASSWD”,说明用户密码永不过期。
User Account Control 显示Active Directory中存储在“userAccountControl”属性中的值,这里存储了数据包括用户密码是否有期限,用户是否需要使用智能卡登录记以及用户是否被信任作为委派等信息。数字是所有在“userAccountControl”中被允许的标记的总和。单击“Decode”按钮,可以查看具体属性配置。例如出现“ADS_UF_PASSWORD_EXPIRED”,则说明当前用户帐户的密码已经过期。
Locked Out 显示用户帐户是否被锁定。
Last-Logon-Timestamp 显示当前用户最近登录到此域控制的具体日期和时间。
如果在成员服务器上安装使用“Active Directory 用户和计算机”和“Acctinfo.dll”查看,显示的信息是登录此成员服务器使用的域控制器上的信息。
判断登录到哪个域控制器,可以看我另外一篇Blog。查看
SID and SID History 显示用户帐户的SID。如果用户帐户是从另外一个域或森林中迁移过来的,SID History按钮将会有效。单击这个按钮可以查看用户帐户以前的SID。
GUID 显示用户帐户的Globally Unique Identifier (GUID)。
Last Logon 显示用户上次登录日期和时间。这是指被此域控制器最近验证的日期和时间。
Last Logoff 显示用户上次从此域控制器上注销的时间。
Last Bad Logon Time 显示用户从此域控制器上次登录失败的日期和时间。
Logon Count 显示用户从此域控制器上成功登录的次数。
Bad Password Count 显示用户从此域控制器上登录失败的次数。

修改用户帐户属性

虽然Acctinfo.dll主要是用来显示信息。但是他也可以修改用户帐户的部分属性。

在“Additional Account Info”选项卡中,单击“Set PW On Site DC”按钮。在新出现的对话框中,如图所示,修改用户帐户的密码。这种密码修改方式是直接连接到用户所在站点的域控制器上执行操作,所以执行速度更快。同时在这个对话框中,也可以解除用户帐户的锁定状态。

注意

Acctinfo.dll必须在所有使用“Active Directory用户和计算机”管理控制台查看用户帐户信息的计算机上安装注册。例如:假设管理员通常情况下在两台服务器上查看用户帐户信息,分别是Server A和Server B。如果你在Server A上安装注册了Acctinfo.dll,那么“Additional Account Info”选项卡将会在“Active Directory 用户和计算机”中出现。不过在Server B上,这个选项卡不会在“Active Directory 用户和计算机”中,除非你在Server B上也安装注册Acctinfo.dll。

Windows Server 2003 Resource Kit Tools

The Microsoft® Windows® Server 2003 Resource Kit Tools are a set of tools to help administrators streamline management tasks such as troubleshooting operating system issues, managing Active Directory®, configuring networking and security features, and automating application deployment.


Quick Info

File Name:


rktools.exe


Download Size:


12049 KB


Date Published:


4/28/2003


Version:


2003

下载

Overview

The Microsoft® Windows® Server 2003 Resource Kit Tools are a set of tools to help administrators streamline management tasks such as troubleshooting operating system issues, managing Active Directory®, configuring networking and security features, and automating application deployment.

The following tools are provided:

    • Acctinfo.dll (documented in Readme.htm)
    • Adlb.exe: Active Directory Load Balancing Tool
    • Admx.msi: ADM File Parser
    • Atmarp.exe: Windows ATM ARP Server Information Tool
    • Atmlane.exe: Windows ATM LAN Emulation Client Information
    • Autoexnt.exe: AutoExNT Service
    • Cdburn.exe: ISO CD-ROM Burner Tool
    • Checkrepl.vbs: Check Replication
    • Chklnks.exe: Link Check Wizard
    • Chknic.exe: Network Interface Card Compliance Tool for Network Load Balancing
    • Cleanspl.exe: Spooler Cleaner
    • Clearmem.exe: Clear Memory
    • Clusdiag.msi: Cluster Diagnostics and Verification Tool
    • Clusfileport.dll: Cluster Print File Port
    • Clusterrecovery.exe: Server Cluster Recovery Utility
    • Cmdhere.inf: Command Here
    • Cmgetcer.dll: Connection Manager Certificate Deployment Tool
    • Compress.exe: Compress Files
    • Confdisk.exe: Disk Configuration Tool
    • Consume.exe: Memory Consumers Tool
    • Creatfil.exe: Create File
    • Csccmd.exe: Client-Side Caching Command-Line Options
    • Custreasonedit.exe: Custom Reason Editor (documented in Readme.htm)
    • Delprof.exe: User Profile Deletion Utility
    • Dh.exe: Display Heap
    • Diskraid.exe: RAID Configuration Tool
    • Diskuse.exe: User Disk Usage Tool
    • Dnsdiag.exe: SMTP DNS Diagnostic Tool (documented in Readme.htm)
    • Dumpfsmos.cmd: Dump FSMO Roles
    • Dvdburn.exe: ISO DVD Burner Tool
    • Empty.exe: Free Working Set Tool
    • Eventcombmt.exe: Check Replication
    • Fcopy.exe: File Copy Utility for Message Queuing
    • Frsflags.vbs
    • Getcm.exe: Connection Manager Profile Update
    • Gpmonitor.exe: Group Policy Monitor
    • Gpotool.exe: Group Policy Objects
    • Hlscan.exe: Hard Link Display Tool
    • Ifilttst.exe: IFilter Test Suite
    • Ifmember.exe: User Membership Tool
    • Inetesc.adm: Internet Explorer Enhanced Security Configuration
    • Iniman.exe: Initialization Files Manipulation Tool
    • Instcm.exe: Install Connection Manager Profile
    • Instsrv.exe: Service Installer
    • Intfiltr.exe: Interrupt Affinity Tool
    • Kerbtray.exe: Kerberos Tray
    • Kernrate.exe: Kernel Profiling Tool
    • Klist.exe: Kerberos List
    • Krt.exe: Certification Authority Key Recovery
    • Lbridge.cmd: L-Bridge
    • Linkd.exe
    • Linkspeed.exe: Link Speed
    • List.exe: List Text File Tool
    • Lockoutstatus.exe: Account Lockout Status (documented in Readme.htm)
    • Logtime.exe
    • Lsreport.exe: Terminal Services Licensing Reporter
    • Lsview.exe: Terminal Services License Server Viewer
    • Mcast.exe: Multicast Packet Tool
    • Memmonitor.exe: Memory Monitor
    • Memtriage.exe: Resource Leak Triage Tool
    • Mibcc.exe: SNMP MIB Compiler
    • Moveuser.exe: Move Users
    • Mscep.dll: Certificate Services Add-on for Simple Certificate Enrollment Protocol
    • Nlsinfo.exe: Locale Information Tool
    • Now.exe: STDOUT Current Date and Time
    • Ntimer.exe: Windows Program Timer
    • Ntrights.exe
    • Oh.exe: Open Handles
    • Oleview.exe: OLE/COM Object Viewer
    • Pathman.exe: Path Manager
    • Permcopy.exe: Share Permissions Copy
    • Perms.exe: User File Permissions Tool
    • Pfmon.exe: Page Fault Monitor
    • Pkiview.msc: PKI Health Tool
    • Pmon.exe: Process Resource Monitor
    • Printdriverinfo.exe: Drivers Source
    • Prnadmin.dll: Printer Administration Objects
    • Qgrep.exe
    • Qtcp.exe: QoS Time Stamp
    • Queryad.vbs: Query Active Directory
    • Rassrvmon.exe: RAS Server Monitor
    • Rcontrolad.exe: Active Directory Remote Control Add-On
    • Regini.exe: Registry Change by Script
    • Regview.exe (documented in Readme.htm)
    • Remapkey.exe: Remap Windows Keyboard Layout
    • Robocopy.exe: Robust File Copy Utility
    • Rpccfg.exe: RPC Configuration Tool
    • Rpcdump.exe
    • Rpcping.exe
    • RPing: RPC Connectivity Verification Tool
    • Rqc.exe: Remote Access Quarantine Client
    • Rqs.exe: Remote Access Quarantine Agent
    • Setprinter.exe: Spooler Configuration Tool
    • Showacls.exe
    • Showperf.exe: Performance Data Block Dump Utility
    • Showpriv.exe: Show Privilege
    • Sleep.exe: Batch File Wait
    • Sonar.exe: FRS Status Viewer
    • Splinfo.exe: Print Spooler Information
    • Srvany.exe: Applications as Services Utility
    • Srvcheck.exe: Server Share Check
    • Srvinfo.exe: Remote Server Information
    • Srvmgr.exe: Server Manager
    • Ssdformat.exe: System State Data Formatter
    • Subinacl.exe
    • Tail.exe
    • Tcmon.exe: Traffic Control Monitor
    • Timeit.exe (documented in Readme.htm)
    • Timezone.exe: Daylight Saving Time Update Utility
    • Tsctst.exe: Terminal Server Client License Dump Tool
    • Tsscalling.exe: Terminal Services Scalability Planning Tools
    • Uddicatschemeeditor.exe: UDDI Services Categorization Scheme Editor
    • Uddiconfig.exe: UDDI Services Command-line Configuration Utility
    • Uddidataexport.exe: UDDI Data Export Wizard
    • Usrmgr.exe: User Manager for Domains
    • Vadump.exe: Virtual Address Dump
    • Vfi.exe: Visual File Information
    • Volperf.exe: Shadow Copy Performance Counters
    • Volrest.exe: Shadow Copies for Shared Folders Restore Tool
    • Vrfydsk.exe: Verify Disk
    • Winexit.scr: Windows Exit Screen Saver
    • Winhttpcertcfg.exe: WinHTTP Certificate Configuration Tool
    • Winhttptracecfg.exe: WinHTTP Tracing Facility Configuration Tool
    • Winpolicies.exe: Policy Spy
    • Wins.dll: WINS Replication Network Monitor Parser
    • Wlbs_hb.dll & Wlbs_rc.dll: Windows Load Balancing Server Network Monitor Parse
时间: 2024-08-06 01:34:48

使用Acctinfo.dll了解更多AD用户帐号信息的相关文章

【AD】取消普通域用户帐号加域权限&授权特定普通域用户加域权限

通常来说,没有做什么特别的设定的话,都是手动加域,且使用的是管理员帐号,这种情况下是有风险的,容易被人记忆密码.所以,如果可以设置一个普通用户帐号,专门用来执行加域操作,就会降低此类风险.其实默认情况下,域每一个普通帐号都可以将10台电脑加入域内,这是一个很大的隐患.估计很多人都没有试过吧. 加域分两种,一种是将新电脑加入域内,一种是将已经加入过域的电脑,因为故障无法登录域或手动退域,原计算机帐号仍在的情况下加入域建立连接.第二种情况又分上次加域使用的帐号和当前加域使用的帐号是否相同且权限是否一

Ubuntu 14.04/16.04使用pbis集成AD域帐号登录

Ubuntu 14.04/16.04使用pbis集成AD域帐号登录: 注:pbis为开源软件,前身为likewise-open 下载pbis deb包略 dpkg -i pbis-open/* /opt/pbis/bin/config UserDomainPrefix ming (设置默认域名前缀,不设置用户名前需加domain\) /opt/pbis/bin/config AssumeDefaultDomain true /opt/pbis/bin/config LoginShellTempl

Ansible-Tower快速入门-4.以超级用户帐号登录【翻译】

以超级用户帐号登录 首先,登录tower需要使用tower服务器所在的URL,格式如下:https://<tower server name>/ 注意:tower安装了一个自签名证书用于HTTPS通信,你可能需要你的浏览器接受这个证书,如果你想要替换证书,可以查看“安装和设置”章节. 登录使用你安装tower过程中所设置的用户名和密码,默认情况下,用户名为”admin”,密码为”password”,你可以通过点击在用户标签上的admin帐户进行修改. 注意:关于普通用户,超级用户和组织管理员的

Linux usermod(修改用户帐号)

应用举例:1.将 newuser2 添加到组 staff 中# usermod -G staff newuser22.修改 newuser 的用户名为 newuser1 # usermod -l newuser1 newuser3.锁定账号 newuser1 # usermod -L newuser14.解除对 newuser1 的锁定# usermod -U newuser1功能说明:修改用户帐号. 语 法:usermod [-LU][-c <备注>][-d <登入目录>][-e

第六章 用户帐号和组管理

第六章 用户帐号和组管理 第一节 用户分类 超级用户 root:x:0:0:root:/root:/bin/bash root x 0 0 root /root /bin/bash 用户名为root x表示有密码 用户ID 组ID 与用户相关的注释 用户主目录 登录系统后执行的第一个程序 普通用户 thomas:x:1000:1000:thomas:/home/thomas:/bin/bash thomas x 1000 1000 thomas /home/thomas /bin/bash 用户

多个公众号(服务号和订阅号)之间需要用户帐号互通

由于同一公司下多个公众号之间需要用户帐号互通,微信开放平台提供了UnionID机制,来解决此问题 通过获取用户基本信息接口,开发者可通过OpenID来获取用户基本信息,而如果开发者拥有多个公众号,可使用以下办法通过UnionID机制来在多公众号之间进行用户帐号互通. 1. 将多个公众号绑定到同一个微信开放平台(open.weixin.qq.com)帐号下,即同一个Union下 2. 通过获取用户基本信息接口中的UnionID来区分用户的唯一性,不过需要注意的是:公众号只有在被绑定到微信开放平台帐

获取登录域帐号信息方式之 —-IIS(VB)

前言 java web 项目如何获取客户端登录帐号信息(用于SSO或其他) 之前总结过一篇在Java 的Web 项目中获取客户端帐号信息的文章.参见以上链接的内容. 除了那些方式之外, 还可以使用IIS 和VB  来获取客户端域帐号信息. (这里介绍的使用场景还是在Java web 项目中使用IIS 和VB 的方式来获取域帐号信息.) 实际使用场景 环境状况 1. Java web 项目, 部署在 机器A 的tomcat 上(不在域) 2. IIS 服务器, 在机器B 上(在域上) 3. 客户端

AD用户帐户属性对照表

用户帐户属性对照表,一部分经常用到,免得到处找,列在下面参考参考: "常规"标签姓 Sn名 Givename英文缩写 Initials显示名称 displayName描述 Description办公室 physicalDeliveryOfficeName 电话号码 telephoneNumber电话号码:其它 otherTelephone 多个以英文分号分隔电子邮件 Mail网页 wWWHomePage网页:其它 url 多个以英文分号分隔"地址"标签国家/地区 C

如何把FTP用户帐号存放进MariaDB数据库中

FTP服务历史是比较悠久的,但由于其出现的比较早,所以设计之初也没考虑到安全问题,发展至今,FTP服务仍然采用明文传输协议,但由于其搭建及使用比较便捷,使其保留至今.今天就给大家分享一下如何搭建服务器,并让之满足实际生产环境中的相应需求.为了演示方便,我们这里把防火墙和SELinux提前关闭掉,如果忘记关闭后续过程会出现一些另人费解的报错信息. 第一步:YUM安装ftp服务器端vs-ftpd yum install -y vsftpd 第二步:配置vs-ftpd vim /etc/vsftpd/