Solved

Changing system variable temp tmp location on Exchange server

Posted on 2009-06-29
9
657 Views
Last Modified: 2012-05-07
Hello,
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?
0
Comment
Question by:dfriedrich
  • 5
  • 4
9 Comments
 
LVL 23

Expert Comment

by:debuggerau
ID: 24734316
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?

0
 

Author Comment

by:dfriedrich
ID: 24735153
Yes I tried that. Same result.
0
 
LVL 23

Expert Comment

by:debuggerau
ID: 24741640
and did you backup using ntbackup just before the cutover to flush transaction logs?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:dfriedrich
ID: 24741764
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.
0
 
LVL 23

Expert Comment

by:debuggerau
ID: 24741964
transaction logs are only cleared after backup, the procedure we have here recommends disabling circular logging before moving, and re-enabling again after..
0
 

Author Comment

by:dfriedrich
ID: 24742896
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!

0
 
LVL 23

Accepted Solution

by:
debuggerau earned 125 total points
ID: 24752113
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?
0
 

Author Comment

by:dfriedrich
ID: 24759862
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....
0
 

Author Closing Comment

by:dfriedrich
ID: 31597825
Thanks DebuggerAU
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exchange 2016 CU5 upgrade stuck 9 55
Mail Exchanger (MX) Record 5 29
exchange 13 17
Mail not being received 19 21
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question