
修改Outlook2010IMAP数据文件的存储位置.docx
4页修 改 Outlook 2010 IMAP 数 据 文 件 的 存 储 位 置从 Outlook 2003 改用 2010 有一段时间,感觉 IMAP 功能有改进,不过一直被一个问题困扰着,即,IMAP 数据文件的存储位置默认是 C:\Users\User\AppData\Local\Microsoft\Outlook (User 是登录 Windows 的用户名),无法像 POP3 的那样可以自行修改数据文件的存储位置我的电脑操作系统是 win7 x64,Outlook 关闭后,在控制面板->用户账户->邮件-> 数据文件的窗口中选中 IMAP 账户,点击右上角的 “Open File Location”,将数据文件剪切复制到新位置(注意不能改数据文件名),然后双击 IMAP 账户,这时会弹出对话框提示.pst 文件找不到,只要指向新位置即可重启 Outlook 2010,在邮箱帐户设置窗口中测试我的 Gmail 邮箱,IMAP 接收和 SMTP 发送均显示正常,但实际操作邮件发送时却会提示 “Outlook data file cannot be accessed” 经 google 搜索找到 一篇帖子,参考文章 (2),其中提到数个解决办法,经比较感觉其中的一个修改注册表的方法最稳定可靠,引用如下:I have found a solution, a bit tech-intense, but working – on Microsoft Technet (thanks VONAH):If you have moved the file you probably has now a new problem: “Error 0x8004010F: Outlook data file cannot be accessed” (NOTE: this solution edits your computer registers. Be carefull!)1. Close Outlook. Click on Start then type regedit to open the register editor;2. Go to “HKEY_USERS\S-1-5-21-2252105952-3583732995-3196064763-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676″3. Right click on this folder and Export to save the actual configuration.4. Find the folder (or folders if you have more than an account) that has the “Delivery Store EntryID” key.5. Right click on “Delivery Store EntryID” key and than Modify.6. The data in the key is in HEXA. On the righter column you will find the data in normal chars. Go to the end and find the path to the original data file. Edit it pointing the entire path to new folder of the file.7. Open Outlook and everything is working again!8. If any problem comes up, click on the file you exported to restore the orginal register settings.Couple of tips to this solution:1. You have to replace S-1-5-21….. key with the one that exists on your system (is it HKEY_CURRENT_USER?).2. When editing path in binary data value, make sure you replace letters of old path with new letters and leave 00 values in place. If you need to add extra characters, add character, followed by 00 (assuming the character is in ASCII). The path must terminate with a couple of “00″ characters, for a total of 3 “00″s at the end of the value.简单说来就是:1. 关闭 Outlook,运行 regedit 进入注册表编辑窗口;2. 找到 “HKEY_USERS\S-1-5-21-2252105952-3583732995-3196064763-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676“(其中字段 “S-1-5-21-2252105952-3583732995-3196064763-1000” 不同的电脑会有不一样的显示),在该目录的右键菜单中点击 Export 以备份这部分注册表,万一修改出错可以进行恢复;3. 该目录下会有几个子目录,在其中一个子目录中找到 “Delivery Store EntryID” 双击进入修改窗口,注意如有多个邮箱账户那么这里就会有多个子目录均含有 “Delivery Store EntryID” ,该键值内容是 16 进制,窗口右侧是对应的 ASCII 码值,内含有数据文件的路径,根据此内容就可以判断是否为需要修改的键值。
这里可以看到 Gmail 邮箱对应的数据文件的存储位置仍旧在 C:盘,导致邮件发送失败4. 修改键值内容并仔细检查无误后,保存退出注意路径中的每个字符需要用 16 进制的 00 隔开,该隔离符在右侧区域会显示为小数点一样的符号(而字符小数点的 16 进制为 2E,在右侧也是一样的显示,勿混淆)5. 重新启动 Outlook 2010,这时发送邮件就正常了 参考文章:(1) 。
