- 热门文章:
- · Exchange 5.5维护指导
- · 如何防止垃圾邮件
- · Exchange Server 5.5的备份与恢复
- · Exchange Server 5.5 系统新旧服务器的迁移
- · Internet中的Exchange 2000 Instant Messaging
- · exchange 5.5 的多site问题
- · 如何升级至 Exchange Server 2003问题集(2)
- · 如何升级至 Exchange Server 2003问题集(1)
- · MS Exchange Internet 协议
- · 如何部署 Exchange Server 2003问题集
- · 如何部署 Exchange Server 2003问题集(2)
- · 关于重新安装Exchange 数据还原的问题
删除驱动器 M 的 IFS 映射
概要
本分步指南介绍如何从驱动器 M 删除 Exchange 2000 可安装文件系统 (IFS) 映射。IFS 提供了通过 Win32 文件系统 API 来访问 Exchange 2000 信息存储区这一访问方式。 Exchange 2000 IFS 支持 \\.\backofficestorage\ 命名空间。 为兼容和方便起见,Exchange 2000 也支持正常的驱动器命名空间,默认情况下是驱动器 M:\。 IFS 是作为通过标准文件系统接口访问 Exchange 2000 信息存储区的一种方法被引入 Exchange 2000 的。
不过,在某些情况下,使用 IFS 时可能会遇到一些问题。 正是因为这些问题,所以 Microsoft 建议您删除到驱动器 M 的 IFS 映射,除非您有明确的原因不需要使用 IFS。 即使删除了驱动器 M 或其他驱动器盘符映射,\\.\backofficestorage\ 命名空间仍保持可用。
保留 IFS 映射的理由包括:
- 将“Microsoft FrontPage 扩展”用于“Web 存储系统窗体”。
- 需要使用驱动器 M 映射进行开发。
- 使用 Microsoft Internet Explorer 将驱动器 M 作为一个文件系统来搜索。
如要删除驱动器 M 映射,请使用本文中提供的脚本。
返回页首
创建驱动器 M 删除脚本
若要创建驱动器 M 删除脚本,请按照下列步骤操作:- 启动一个文本编辑器(如 Microsoft 记事本),然后将下面的脚本复制并粘贴到编辑器中: @setlocal @if "%1"=="" goto usage @if "%1"=="/?" goto usage @if "%1"=="-?" goto usage @rem Parameter is either a drive letter, or "none" @rem check for presence of adsutil.vbs @set adu=%systemdrive%\inetpub\adminscripts\adsutil.vbs @if exist %adu% goto stopsrv @echo This tool requires %adu% from the IIS scripts. @goto fail :stopsrv @rem Record what Exchange services are currently running @echo off @set StartSA=0 @set StartIS=0 @set StartMTA=0 @set StartWWW=0 For /f "delims=" %%a in (@#net start@#) do if "%%a" == " Microsoft Exchange System Attendant" set StartSA=1 For /f "delims=" %%a in (@#net start@#) do if "%%a" == " Microsoft Exchange Information Store" set StartIS=1 For /f "delims=" %%a in (@#net start@#) do if "%%a" == " Microsoft Exchange MTA Stacks" set StartMTA=1 For /f "delims=" %%a in (@#net start@#) do if "%%a" == " World Wide Web Publishing Service" set StartWWW=1 @echo on @echo Stopping Exchange services... net stop msexchangesa /y @echo Stopping Web services... net stop w3svc /y @if "%temp%" == "" set temp="C:\" @set regfile=%temp%\addm.reg @echo REGEDIT4 > "%regfile%" @if "%1"=="none" goto deldrive @set drive=%1 @set newdrive=%drive:~0,1% @echo Adding %newdrive% drive mapping to the registry... @echo [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EXIFS\Parameters] >> "%regfile%" @echo "DriveLetter"="%newdrive%" >> "%regfile%" @goto doregedit :deldrive @echo removing existing drive letter mapping... For /f "delims=\=>; tokens=1,2*" %%a in (@#subst@#) do ( if /i "%%c" == " BackOfficeStorage" ( subst %%a /d ) ) @echo Removing drive mapping from the registry... @echo [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EXIFS\Parameters] >> "%regfile%" @echo "DriveLetter"="" >> "%regfile%" :doregedit @type %regfile% regedit -s "%regfile%" @if errorlevel 0 goto mb @goto fail :mb @echo Touching the metabase to force update of Exchange virtual roots... cscript %adu% delete /ds2mb/HighWaterMarks @goto restart :restart @echo Restarting services... @if %StartSA%==1 net start "Microsoft Exchange System Attendant" /y @if %StartIS%==1 net start "Microsoft Exchange Information Store" /y @if %StartMTA%==1 net start "Microsoft Exchange MTA Stacks" /y @if %StartWWW%==1 net start w3svc /y @goto done :fail @echo The operation did not succeed. @goto end :done @echo Done. @goto end :usage @echo Usage: ifsdrive ^<drive-letter^> @echo ifsdrive none @echo Modifies or removes the mapping of Exchange storage to a local drive letter. @echo Specify a single letter to map Exchange storage to that drive. @echo Specify "none" (without quotes) to remove the mapping. @goto end :end @if not "%regfile%" == "" del "%regfile%"
- 用 Ifsdrive.cmd 这一文件名保存此文本文件。
运行驱动器 M 删除脚本
创建驱动器 M 删除脚本后,您需要从 Exchange 2000 服务器上使用命令来运行此脚本:- 打开一个命令窗口,然后将目录改到保存此脚本的文件夹。
- 在命令提示符下,键入下面的命令以删除驱动器 M 映射:
ifsdrive none
备注: 为删除该映射,请使用完整的“none”一词。 - 在脚本运行时,它下一步要执行的操作将显示出来。 脚本完成时,最后一行将显示“Done”(完成)。
备注: 此脚本先停止然后又启动 Exchange 2000 消息传输代理 (MTA)、Exchange 2000 Post Office Protocol 第 3 版 (POP3)、Exchange 2000 Internet Message Access Protocol、Version 4rev1 (IMAP4)、“Exchange 2000 信息存储区”,以及“万维网发布服务”。 - 如果误删了驱动器 M 映射,而现在因为前面所列原因之一又需要用它,可以在提示符下键入下面的命令(其中驱动器盘符 是 IFS 驱动器映射的盘符):
ifsdrive 驱动器盘符
驱动器盘符 默认情况下是驱动器 M,但如果 IFS 驱动器映射曾被改为另一个驱动器盘符,那么请改用新的驱动器盘符。
来源: ExWin32
EventID:1
类型:错误
描述:
Exchange IFS 未能映射驱动器: ?:。请释放驱动器 ?: 以便使用 Exchange IFS。
您可以放心地忽略此错误信息;以后的 Exchange 2000 版本中将删除此消息。EventID:1
类型:错误
描述:
Exchange IFS 未能映射驱动器: ?:。请释放驱动器 ?: 以便使用 Exchange IFS。
返回页首
参考
有关其他与保留驱动器 M 映射相关的一些问题的信息,请单击下面的文章编号以查看 Microsoft 知识库中的文章:271465 XADM: Clients Cannot Access Attachments After You Back Up Drive M(备份驱动器 M 后客户机不能访问附件)
281673 PRB: Moving Items Within Drive M of Exchange Can Remove Item Properties(在 Exchange 的驱动器 M 中移动项目会删除项目属性)
298924 XADM: Do Not Back Up or Scan Exchange 2000 Drive M(不要备份或扫描 Exchange 2000 驱动器 M)
299046 XADM: Calendar Items Disappear from User@#s Folders(日历项目从用户的文件夹中消失)
303245 XCLN: Item Count Incorrect for Messages with Modified Permission(修改权限后,消息的项目计数错误)
有关与驱动器 M 的防病毒扫描相关的一些问题(与保留驱动器 M 映射有关联)的其他信息,请单击下面的文章编号以查看 Microsoft 知识库中的文章:245822 XGEN: Recommendations for Troubleshooting an Exchange Server Computer with Antivirus Installed(针对安装了防病毒软件的 Exchange Server 计算机的故障排除建议)
298551 XADM: Large Number of Transaction Logs Created(创建了大量事务日志)
下一篇:Exchange 5.5维护指导 >>
相关文章:
- · Exchange 2000的灾难恢复
- · Exchange2000灾难恢复实录
- · Exchange灾难恢复之GC转移和ex转移实录
- · 通过ISA发布Exchange OWA
- · 把垃圾邮件拒之门外—用Exchange Server 2003阻止垃圾邮件
- · 如何使用ISA RPC Filter安全的发布Microsoft Exchange 200
- · Exchange 2000 Server 内存使用和 /3GB 开关
- · ISA 2000 Server+Exchange 2000 Server防垃圾邮件中转设置
- · 如何使用 Eseutil 实用工具 (Eseutil.exe) 进行碎片整理
- · 如何在没有 Exchange Server 的计算机上运行 Eseutil
- · EXCHANGE2000由于日志文件误删除无法启动的解决
- · Exchange与Sharepoint用户权限冲突的解决办法
- · Exchange5.5的edb.log文件被删除的解决办法
- · ISA和Exchange在同一SERVER上的发布
- · Exchange Server 2003 和 sps 2003 并存时OWA不能运行的解决方法
- · Instant Messaging的常见问题
- · Exchange 2003中使用权限和管理角色来控制访问
- · 使用Exchange 2003防御地址欺骗
- · Exchange 2003 中使用的端口
- · Exchange 2003 Server效能监视调整与问题排除问题集(1)
- · Exchange Server 2003 的邮件传送监视与故障排除问题集(1)
- · Exchange Server 2003 的邮件传送监视与故障排除问题集(2)
- · Exchange 2003 Server效能监视调整与问题排除问题集(2)
- · 建置安全的 Exchange Server 2003 Internet 存取环境问题集(2)
- · 建置安全的 Exchange Server 2003 Internet 存取环境问题集(1)
- · 如何做好Exchange 2003 Server环境的信息安全管理问题集(1)
- · 如何做好Exchange 2003 Server环境的信息安全管理问题集(2)
- · Exchange Server 2003 的行动通信能力问题集(1)
- · Exchange Server 2003 的行动通信能力问题集(2)
- · Exchange Server 2003 的行动通信能力问题集(3)
- · 如何做好Exchange 2003 Server环境的信息安全管理问题集(3)
- · 使用ISA Server来加强Exchange的安全问题集(1)
- · 配合Exchange 2003 Server环境来部署ISA Server 2000问题集(1)
- · 配合Exchange 2003 Server环境来部署ISA Server 2000问题集(2)
- · 使用ISA Server来加强Exchange的安全问题集(2)
- · Exchange Server 5.5升级至Exchange Server 2003问题集(1)
- · Exchange Server 5.5升级至Exchange Server 2003问题集(2)
- · 配合Exchange 2003 Server环境来部署ISA Server 2000问题集(3)
