Change SMTP/POP settings via Reg Key?


I have around 30 users who all access their email via POP/SMTP - we are changing suppliers and would like to change the SMTP Server and POP settings via either a script or a reg change - whatever is easiest. All users are either Office 2010 or 2013.

The ideal solution would be to place a .reg file on our public drive and ask all users to run the .reg file when they log in. We have created all the mailboxes on the new server with the same user id and passwords so just need an easy way to change the SMTP/POP settings without having to visit all machines.

Any ideas?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

FOXActive Directory/Exchange EngineerCommented:
In this scenario I would download the outlook template for Group Policy and edit the settings in there.  With this method you don't have to worry about user interaction.  The group policy will push the settings to the outlook client.  The most the users will have to do is log off and log back on.
SycamoreITAuthor Commented:
Im afraid there is no domain controller so no group policy.
FOXActive Directory/Exchange EngineerCommented:
You may have to download this tool configure it for the settings you need and the run it against your machines.  Can probably put the machines in a list in a txt. file, create a batch file to install the new .msp file for outlook and run psexec against the list of machines with the bat file.

Once you test the msp file on one machine create a batch file with the command.  Using psexec and the list of machines with your batch file your final command to push to the machines will be

Psexec @\\pathtothemachineslist.txt -u domain\yourusername -p password -c \\pathtoyourbatchfile.bat

download pstools and save it to your machine.  cd to the pstools directory and run your command below.  edit it to match your scenario  

(pathtothemachineslist is the name and wherever your .txt file is with the machines names)
(pathtoyourbatchfile.bat is the name and path whereveryour calling your .bat file from)
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

SycamoreITAuthor Commented:
I was looking to have the config file sat on a network share with and just email all the users the link to run it, is that possible?
FOXActive Directory/Exchange EngineerCommented:
Even better...yes you can do that.  In the documentation it states that.  I wasn't certain on your environment.  When you told me that you didn't have a domain controller I thought maybe you had mice running on a treadmill for your servers as well  :)
FOXActive Directory/Exchange EngineerCommented:
SycamoreITAuthor Commented:
Will this template just overwrite the smtp and pop details and leave the existing username and passwords in-tacked?
SycamoreITAuthor Commented:
Are you able to confirm whether this process will just update the smtp/pop details, I want the username and password to remain the same.

FOXActive Directory/Exchange EngineerCommented:

In this above link you will see the different options that you can alter in the template. For you specific scenario you will be using the existing profile which means the username and password will not be changed.  You will only edit the template to reflect the changes you are making to the smtp and pop settings.  Edit the template and try it on a test email account.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SycamoreITAuthor Commented:
Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.