Windows XP 命令行工具

1.  Ldp.exe

活动目录管理工具,它可以连接到AD或任何轻量目录访问协议 (LDAP –Lightweight Directory Access Protocol)兼容的目录

2.  Msicuu.exe

Windows Installer清洁工具,改工具可以显示出一个包含系统所有可用的Windows Installer (.msi) 文件的对话框,你可以进行选择性的清除。类似工具:msizap.exe

参考地址:http://support.microsoft.com/default.aspx?scid=%2Fdirectory%2Fworldwide%2Fen-gb%2Futility2.asp

          http://support.microsoft.com/?scid=kb;en-us;290301

 

3.  Dhcploc.exe

DHCP Server定位工具,用于显示所在子网中活动的DHCP服务器名称。

参考地址:http://technet2.microsoft.com/WindowsServer/en/Library/5a29ba10-5613-471c-bfc8-ce25c0ff3fa01033.mspx

 

4.  Movetree.exe

用于将AD对象从一个Domain移动到另外一个Domain的命令行工具。改工具只移动AD的对象,不移动相关的配置文件喝登陆脚本。

参考地址:http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q238394&ID=KB;EN-US;Q238394

 

5.  Oh.exe

显示系统中所有已经打开的文件句柄,并且显示打开文件的进程名称。

To function properly, OH must enable a kernel option that maintains a linked list of all objects by object type. If not set, OH enables this option and notifies you that you must reboot before OH will function. After rebooting, OH can display information.

Note

The linked list uses 8 bytes of overhead per object. You can disable this option later by using Gflags.exe (a Windows 2000 support tool included on the Windows 2000 CD). To disable this option in Gflags.exe, clear the Maintain a list of objects for each type check box in the Global Flags window, then restart the computer

默认Windows XPsupport/tools/并不包括这个命令,你可以到MS的网站直接下载。

 

6.  Openfiles.exe

Windows XP提供了一个新的Openfiles命令行工具(Openfiles.exe),它能够报告进程打开的各个文件。和oh.exe相似,Openfiles也要求打开系统内核监视,而这会消耗一些内存,降低文件、打印、邮件、数据库等操作的性能。打开系统监视的命令是openfiles /local on,它会启用系统全局标志维护对象列表,需要重新启动系统才能生效(你可以执行gflags.exe查看Openfiles命令设置了哪些标志)。

参考地址:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/openfiles.mspx

 

7.  Netdiag.exe

网络连接诊断工具,可以显示系统TCP/IP的配置信息,网络ADAPTER,网络协同绑定,网络DNS服务器和Hotfix的安装情况。

参考地址:http://www.windowsnetworking.com/kbase/WindowsTips/Windows2000/AdminTips/Network/netdiag.exenetworkdiagnostictool.html

 

8.  Nltest.exe

可以显示DCOU的信息,测试WINDOWS域之间的信任关系状态,显示用户帐户信息,强制用户帐号同步,关闭系统等。

参考地址:http://support.microsoft.com/default.aspx?scid=kb;EN-US;158148

9.  Systeminfo

Win XP新增了一个命令行工具SysteminfoSysteminfo.exeSysteminfo通过WMIWindows管理规范)API列举出系统配置信息,输出信息按照OS、硬件平台、安装配置、已安装的补丁分门别类,一目了然. 如果要诊断远程机器,只要加上一个“/s <远程机器名字>”参数。另外,Systeminfo还允许通过“/u <用户名字>”“/p <密码>”参数指定运行Systeminfo的用户身份,如果只提供用户名字但省略密码,Systeminfo将提示输入密码

 

10.                    Diruse.exe

可以显示制定目录的SIZE,还可以显示NTFS的压缩情况。

DIRUSE displays a list of disk usage for a directory tree(s). Version 1.20

DIRUSE [/S | /V] [/M | /K | /B] [/C] [/,] [/Q:# [/L] [/A] [/D] [/O]] [/*] DIRS

/S      Specifies whether subdirectories are included in the output.

/V      Output progress reports while scanning subdirectories.  Ignored if /S is specified.

/M      Displays disk usage in megabytes.

/K      Displays disk usage in kilobytes.

/B      Displays disk usage in bytes (default).

/C      Use Compressed size instead of apparent size.

/,      Use thousand separator when displaying sizes.

/L      Output overflows to logfile ./DIRUSE.LOG.

/*      Uses the top-level directories residing in the specified DIRS

/Q:#    Mark directories that exceed the specified size (#) with a "!".

        (If /M or /K is not specified, then bytes is assumed.)

/A      Specifies that an alert is generated if specified sizes are exceeded.

        (The Alerter service must be running.)

/D      Displays only directories that exceed specified sizes.

/O      Specifies that subdirectories are not checked for specified size

        overflow.

DIRS    Specifies a list of the paths to check.

 

Note:   Parameters can be typed in any order. And the '-' symbol can be

        used in place of the '/' symbol.

 

        Also, if /Q is specified, then return code is ONE if any directories are found that

        exceed the specified sizes.  Otherwise the return code is ZERO.

 

Example: diruse /s /m /q:1.5 /l /* c:/users

11.                    Dnscmd.exe

DNS服务器DEBUG工具,可以通过该命令来创建,更改区域和资源,并且可以强制DNS服务器之间的物理数据文件和缓存同步。

参考地址:http://www.serverwatch.com/tutorials/article.php/1476601

 

12.                    Netdom.exe

Windows域管理工具,可以从DOMAIN中添加或移除计算机帐号,重新建立帐号和秘密,在不同的DOMAIN之间移动服务器,建立DOMAIN之间的信任关系。

参考地址:http://support.microsoft.com/default.aspx?scid=kb;en-us;298593&sd=tech

 

13.                    Taskkill.exe

 

XPkill.exe换成了taskkill.exe,增加了关闭远程系统上进程的能力,能够根据进程名称、窗口标题关闭进程,能够关闭子进程,甚至能够根据一组指定的条件关闭一系列进程,允许定义的条件包括:进程状态,内存使用情况,CPU使用情况,装入的DLL,用户名字,服务名字。

参考地址:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/taskkill.mspx

 

14.                    Netcap.exe

XPSupport Tools有一个Netcap工具(netcap.exe),它和Netmon.exe一样也能够捕获网络通信。第一次运行Netcap时它会提示说正在安装网络监视驱动程序。Netcap能够读取Netmon 2.0以上版本创建的筛选文件,Netmon也能够读取Netcap捕获的数据

     参考地址:http://support.microsoft.com/?id=310875

评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值