Link to home
Start Free TrialLog in
Avatar of David Whyte
David WhyteFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Change SMTP/POP settings via Reg Key?

Hi,

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?
SycamoreIT
Avatar of FOX
FOX
Flag of United States of America image

SycamoreIT,
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.

http://www.howto-outlook.com/howto/policies.htm
Avatar of David Whyte

ASKER

Im afraid there is no domain controller so no group policy.
SycamoreIT,
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.  

https://technet.microsoft.com/en-us/library/cc179097.aspx#Outlook

https://www.msigeek.com/647/command-line-switches-for-msi-and-msp-installations

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)
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?
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  :)
Will this template just overwrite the smtp and pop details and leave the existing username and passwords in-tacked?
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.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of FOX
FOX
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you.