Exchange/Email Question

Soldato
Joined
23 Nov 2004
Posts
3,794
Hi,

I am trying to find out which file holds a users/profiles exchange server information (eg server name)

I can find it in the registry under current user, but it is in a really random place. I have also looked around in c:\documents and settings\user\application data\microsoft\outlook and found nothing resembeling this.

I need to find a file which will always be there that can be replaced. The other problem is the users are not al using the same version of outlook

Basically im trying to write a batch script that will go through and change the mail server name, etc or replace the file that contains it.

Any ideas?
 
have you thought about roaming profiles??
that way the user profile is loaded from a server everytime they log on so any user can use any machine and always get everything the same?
 
We currently have roaming profiles and are getting rid of them due to the disk space they use. We have thousands of users and it isn't workable any more. Some things will be backed up to there network drive however.

It will be a local profile from here on, we are doing this as part of a migration project.

Do such files exist with the mail server config?
 
Not really, and it's all changed as Outlook has developed. What versions of Outlook are we talking? You have an easy option if it's XP/2003...
 
Outlook 2000 upwards i think.

there may be some 97 vsns out there, I'm not sure, that's what this project is all about, to make sure everything is the same.
 
If this is an upgrade project then you can customize the MSI to configure a new Outlook profile without too much grief, unless you need to make these changes sooner?

Trying to do this for Outlook 97 and upward will be an absolute nightmare I can tell you now.
 
No, well, the migration work has to be done first (Novell :( )

OK, lets say we ignore Outlook 97. Is it possible with Outlook 2000 and the rest?

As i said above, i could find some registry keys, but there location was not static nor was it in any sort of pattern
 
Better to do this with vbscripts, so that might be another limiting factor.

For Outlook 2000 there is a command line tool (its name escapes me right now, I'll have it at work though) to force it to import a new profile from a file that you create using a tool in the Office 2000 resource kit. I'd suggest that you check for a registry value/key that you'll create (HKCU\CompanyNameITAdmin\HasNewOutlook or something). If it exists, do nothing, if it doesn't, run the import process and write that key so it doesnt happen again.

Outlook XP/2003 can be instructed to import a new profile (again, created using their resource kits) by setting a reg value (Software\Microsoft\Office\11.0\Outlook\Setup\ImportPRF - Change it to 10.0 for Outlook XP), and then deleting the first runkey to make Outlook actually import the profile. You'll need to check for the Outlook version, again check to see if this has ran before by the above method or similar, create the one value, delete the other key and then set your reg flag.

Well, there's one solution anyway. You'll really, really struggle to sort this with shell scripts only... it's just not powerful enough in Windows.
 
Otacon: Thanks fo the reply. I'm not sure the above will work.

What will happen is we will do a lot of migration work before visitng the users PC (out of hours) where we will login using an account in novell which will install Win2k SP4 and update the Novell clients. Once updated i want to be able to run the *.bat file to move the outlook profile settings from one profile to another.

The problem is after our migration work is complete and the user logs in it creates a new profile with the domain added onto it (Novell don't ask!) so i want to logon, and run a file which will re-import the mail settings from the old profile. Visiting each users PC to export the mail settings would be as quick as adding them in again.

am i waffeling or do u get what im trying to achieve?

Cheers again

EDIT: BTW - my batch file currently coppies the entire c:\documents and settings\user folder into the new user.domain folder.
 
Last edited:
Back
Top Bottom