从服务的描述很难确定它们的真实用途。比如 Storage Groveler 服务,描述为:“Scans Single Instance Storage (SIS) volumes for duplicate files, and points duplicates files to one data storage point, conserving disk space"它做什么并没有提及,然而只被用语远程安装服务(RIS),如果你不需要远程安装,你就不需要这个服务。 要决定这个服务真实做什么的,试试这样来: *检查更多的描述细节,在Microsoft TechNet's Windows 2000 Services http://www.microsoft.com/technet/pr.../win2ksvc.asp) *检查文件描述,通过右击文件并选择版本查看 *检查服务的依存关系 *检查服务打开的端口
·怎样知道一个服务使用的文件? 了解一个服务,需要了解这个服务所用的文件。通常,你能通过查看它运行的文件来决定是否需要这个服务。这个批处理文件可以来查看文件属性,其中使用了 Windows Resource Kit 工具的:reg.exe 和 depends.exe:
@set imagepath= @FOR /F "tokens=3" %%a in ('reg query HKLM\system\currentcontrolset\services\%1 /v imagepath 2^> nul ^| find "imagepath" ') DO @set imagepath=%%a @if defined imagepath (@echo Dependencies for %imagepath%: @call depends /a0f1c /oc:~svcdep.tmp "%imagepath%" @FOR /F "tokens=1 delims=, skip=1" %%b in ('type ~svcdep.tmp ^| findstr /B /c:"," ^| findstr /V /c:"?" ^| sort') do @echo %%b @del ~svcdep.tmp 2>nul ) else (@Echo '%1' is not installed or is not a valid service )