• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 675
  • Last Modified:

Changing system variable temp tmp location on Exchange server

I'm attempting to change the environment system variable TEMP and TMP to a different location other than the system drive as recommended my Microsoft (http://technet.microsoft.com/en-us/library/aa996133.aspx).
The issue is that when I make this change I can no longer mount any of the mail stores. The information store is running but I get the error "An internal processing error has occurred. Try restarting the Exchange System Manager or the Microsoft Exchange Information Store service, or both.
ID no: c1041724
Exchange System Manager"
I have tried following instructions detailed here http://technet.microsoft.com/en-us/library/aa996027(EXCHG.65).aspx but without success.
The only way i have been able to fix the stores is by running a eseutil recovery and defrag.

If I switch the TEMP and TMP locations back to original and reboot, stores mount fine.

This seems like a simple change. Is there anything I need to do prior to making this change so the stores will remount?
  • 5
  • 4
1 Solution
Did you stop all exchange services BEFORE changing the locations?

And did you copy the entire contents over to the new locations before the reboot?

dfriedrichAuthor Commented:
Yes I tried that. Same result.
and did you backup using ntbackup just before the cutover to flush transaction logs?
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

dfriedrichAuthor Commented:
Do I need to just backup the transaction log location?

The server I am testing on before performing this in production has circular logging enabled. I thought this would mean the transactions logs are flushed.
transaction logs are only cleared after backup, the procedure we have here recommends disabling circular logging before moving, and re-enabling again after..
dfriedrichAuthor Commented:
Ok  I followed the procedure below.

1. Enabled Circular logging
2. Backed up Information Store using NTBACKUP
3. Stopped Exchange Services
4. Created D:\System folder
5. Changed System enviromental variables for TEMP and TMP to point to D:\System\TEMP
6. Restarted server

Information Store is running but mailstores refuse to mount.

It cannot be this difficult!

that would be both windows variables plus exchanges reg settings?

And you wrote 1. Enabled Circular logging, not Disable..

No mention of copying all temp entries over either...

Also, which version of exchange?
dfriedrichAuthor Commented:
I'm an idiot!

When I changed the path to D:\System\TEMP I did not create the TEMP directory and copied everything from C:\Windows\TEMP to D:\System\

So the procedure is

1. Disable Circular logging
2. Back up Information Store using NTBACKUP
3. Stop Exchange Services
4. Stop AV services
5. Create D:\System\ folder
6. Change System enviromental variables for TEMP and TMP to point to D:\System\TEMP
7. Copy C:\Windows\Temp folder to D:\System
8. Restart server

Thanks for your perseverance debuggerau. Points go to you....
dfriedrichAuthor Commented:
Thanks DebuggerAU
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now