Create fully automated Outlook profile at user first time logon to the windows

Hi experts, I do have one scenario and its quite urgent...
I have one email address, that to be act as a notification email from Outlook.
The thing is we need to have Outlook fully setup with profile and password when an user log in.
I have done the prf and plan to have it fired with VB script when user logon(using windows logon startup script function).
The prf can be successfully fired and its created profile in outlook, however the user credentials logon will be prompted everytime the user log on, and the user will not know the password, except us, email administrator.
This is carried out in :
- Azure Windows server 2012
- Outlook 2013
- And the user will not access remotely to the server, they will only access to RDP, which we hosted our application.
(And the mentioned application will need to send some notification email to the users.
I hope i have not missed out anything. Anyone please shed some light for this.
Your help is appreciated !

Hi Melon,
Thanks for quick reply !
Yes. I have setup prf file and not able to store any password in it. Our user will have to type in the password in the prompted windows. The thing is we are not exposing the password to the user. In fact, they are not able to view the windows screen as they
are only connect to RDP application.
Now we are using Exchange account and soon we will migrate our email server to Office 365.
VB Script as something below (which i downloaded from online resources) :
'Name:  
'CreateOutlookProfile.vbs
'Author: 
'Jack (Aka "IT Guy")
'Purpose: 
'This script searches under HKCU in the registry for an Outlook profile 
'with the specified name. If the profile is present, the script terminates. 
'If a matching profile is not found, the script launches Outlook with the
'/importprf switch, and imports a custom .prf file from the path specified
'to create the profile.
'Prereqs: 
'You must first create a .prf file with the custom settings required for
'your environment using either the Custom Installation Wizard included 
'in the Office XP/2003 Resource Kit Tools, or the Office Customization
'Tool (OCT) included with volume-licensed editions of Office 2007/2010.
'In Many environments, Office 2003 is the lowest common denominator, so prf
'files created with the 2003 CIW should be used, to ensure compatibility
'with all Outlook clients. (XP/2003 prf files are compatible with 2007/2010)
'License:
'You are free to use this code for personal or commercial purposes. No 
'attribution is required, though it is always appreciated! The only thing
'I ask is that you do not re-post this on another website, but rather post
'a link to my blog (http://AdmiNuggets.blogspot.com) instead. Furthermore, 
'I offer no warranty or guarantee of functionality with this script, meaning 
'that you are responsible for any negative or unintended effects it may have 
'on the environment in which it is executed. DO NOT USE THIS SCRIPT if you do 
'not agree to realease me (the author) from all liability associated with its use. 
'Thanks!
'*******SPECIFY THE PROFILE NAME TO BE USED, AND PATH TO YOUR CUSTOM PRF BELOW:********
PRFLocation = "D:\NetLogon\Azure\AzureNotificationOutlook.prf"         
ProfileName = "AzureNotificationEmail"
Set WshShell = CreateObject("WScript.Shell")
HKCUprofile = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\" & ProfileName & "\"
If Not ProfileIsPresent Then 
 ImportPRF
End if
Cleanup
Function ProfileIsPresent
 On Error Resume Next
 ProfileKey = WshShell.RegRead(HKCUprofile)
   If Err <> 0 Then
    ProfileIsPresent = False
    Err.Clear
   Else
     ProfileIsPresent = True
    End If
End Function
Sub ImportPRF
    WshShell.Run "outlook.exe /embedding /importprf " & PRFLocation, 1, False
End Sub
Call CloseOutlook()
Public Sub CloseOutlook()
 Dim objOutlook
 Set objOutlook = CreateObject("Outlook.Application")
 objOutlook.Quit
End Sub
Sub Cleanup
 Set WshShell = Nothing
End Sub
Best Regards,
Zyn Xeng

Similar Messages

  • How to use different xsl's for user first time logon in OAM

    Hi,
    We have a requirement to use different stylesheets (xsls) for employees and customers in OAM. How we can configure different XSLs for user first time logon to OAM (i.e for change password and configuring challenge and responses).
    Any pointers on this is appreciated.
    Thanks in advance..
    Srikanth

    XSLs displayed are controlled by the StyleCookie. So if you can set the value of this cookie to be different front customers and employees, they will see different styles.
    You can do this in various locations -> from the web server, from the url, custom plugins, etc....
    -Raj

  • Why do my animated themes only work the first time I open the window? Every one that I have tried stops animating if I close the window and open a new one.

    The headline pretty much sums up my problem. Basically, I picked a few different animated themes to try out in the Add-Ons section to personalize my browser window. They look great initially, and in the window that is open when I actually enable the theme. However, if I close that window and open a new one, the theme is stationary and no longer animates.

    Sorry......I was just too impulsive. ( Maybe because it was 4 AM at Taiwan, and I was still trying to solve the problem= = )
    Although to install the add-on "Personas Shuffler" can solve the problem to me, I don't think it was the BEST solution. This evening, I read why the add-on "Personas Shuffler" was made, and found that the BEST solution is:
    1. Open a new tab, and type "about:config" at the URL bar, then search for "lightweightthemes" with the filter.
    2. Change the values of "lightweightThemes.persisted.footerURL" and "lightweightThemes.persisted.headerURL" from true to false( by double click on them).
    3. After doing so, restart Firefox and you will see it works! You don't have to install any add-on.

  • How can I creat a 802.1x Profile without Lion Server? I miss the plus-button in Lion to creat a 802.1x Profile.

    How can I creat a 802.1x Profile without Lion Server? I miss the plus-button in the Network Configuration (OS X Lion) to creat a 802.1x Profile.

    Tried this?
    http://blog.affien.com/archives/2011/03/16/802-1x-configuration-profile-on-lion- mac-os-x-10-7/

  • 9ias : Slow first time and fast the other times

    Hi,
    I'm facing a problem with using Reports 9ias on a HP-UX server ...
    I start a report server on the server
    I'm calling the report from forms with RUN_REPORT_OBJECT (destype=file, desformat=pdf, batch, synchronous) and then call a web.show_document.
    The first time I run the report it takes a long time ...
    The others times, even with different parameters, it appears immediately
    I've understood the Report Server is using a cache and it takes time to load reports in it.
    We have 250 reports in our application, and we would like the reports to run immediately for the end-users.
    How can I put all the reports into the cache automatically in background ?
    Is there a way to speed up the first call ?
    Thx in advance !

    iOS: Troubleshooting Messages

  • First Time Logon to Essbase Studio

    I trying to log on for the first time logon to Essbase studio
    Server : http://CLBBIETLDV.corp.rfpco.com
    user XXXXXX
    Password XXXXX
    Error
    Cannot connect to the specified server: unresolvable network address. Verify the network address and try connecting again.
    Please advise

    Essbase / Essbase Studio
    PASSED     CFG: Configuration     Validating that configuration tasks have been completed      0 seconds
    PASSED     DB: Database Connectivity     Checking connection to database jdbc:weblogic:sqlserver://CLBIDBDV.corp.rfpco.com:1433;databaseName=ESSBASE      0 seconds
    PASSED     ESS: Essbase Studio Server     Validating Essbase Studio Server connection      0 seconds
    PASSED     EXT: External Authentication     Check Native Directory external authentication provider configuration      0 seconds
    PASSED     REG: Configuration     Checking if product has only one product node in registry.      0 seconds

  • Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message

    Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message.
    Using win 7 and latest iTunes [10.6.3]. Have already gone through below links and did not find any solution.
    http://support.apple.com/kb/HT2292
    http://support.apple.com/kb/TS1369
    http://support.apple.com/kb/HT1923
    http://en.kioskea.net/forum/affich-17997-ipod-not-detected

    I was hoping it would be something like a USB device conflict, but now the shuffle is the only thing connected...
    This article was one of the ones you linked to above in your initial post
    http://support.apple.com/kb/TS1369
    Under Part 9. Verify that USB drivers are installed, did you try the steps in If only "Unknown Device" appears?  That appears to be your situation.
    Also, you said that the shuffle initially worked well enough to do a sync, then it had the same problem again.  If you can get it to work again initially, before doing anything else, try the following.  Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, go to the Summary tab.  By default, the checkbox for Enable disk use should be unchecked.  If so, check it and Apply the change.  See if that makes any difference. 
    (If Enable disk use was already checked, try unchecking it and Apply the change.  Basically, set it the "other way" and see if there is any improvement.)
    NOTE:  When disk use is enabled, you have to eject the iPod in iTunes before disconnecting it physically.
    If the disk use change makes a difference, that may provide a clue about the actual cause.

  • I recently moved my Aperture Library file to an external hard drive.  Can I now create a vault to be saved on my Time Capsule for the Aperture library on this external hard drive?

    I recently moved my Aperture Library file to an external hard drive.  Can I now create a vault to be saved on my Time Capsule for the Aperture library on this external hard drive?

    One thing to bear in mind, if you are using Time Machine on your Time Capsule and have it set so the TM backup includes your external drive, you will effectively be backing up your Aperture library twice on the same drive, once with Time Machine and once with the vault. This isn't a problem unless you start to run out of space.
    Another thing to note, vaults on network drives used to be flaky (i.e. not really supported) and required workarounds to be able to use them. I'm not sure if this has changed, but I just managed to create a vault on my TC ok.

  • I plugged my ipad 2 into the computer for the first time and all the music from the itunes converted on however now it wont delete it comes up with 'ping' next to the song

    i plugged my ipad 2 into the computer for the first time and all the music from the itunes converted on however now it wont delete it comes up with 'ping' next to the song

    Have you carefully worked through each and every single suggestion in this Apple support document?
    iPod not recognized in 'My Computer' and in iTunes for Windows
    B-rock

  • When connecting my iphone 4 to itunes for the first time i get the following message "cannot connect to this device because Apple Mobile Service is not started" what does this mean and how do I solve it?

    when connecting my iphone 4 to itunes for the first time i get the following message "cannot connect to this device because Apple Mobile Service is not started" what does this mean and how do I solve it?

    I'd start with the following document with that one:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • What were the suggested apps to install the first time you open the AppStore?

    I just got a new ipad...never used one before so please bear with me. I just want to ask...what were the list of suggested apps to install that popped up the very first time you open the appstore? It was maybe four or five apps that was listed. One of them was iBook I think and an app to find your ipad...I don't remember the rest. Does anyone remember or knows the list? Thanks!

    1. GoodReader
    2. Dropbox

  • I am trying to intall iTunes for the first time on my computer/ windows 8. I can get through the installer, then at the end, i'm getting an error: 0x80071A3F ??? Please Help

    I am trying to intall iTunes for the first time on my computer/ windows 8. I can get through the installer, then at the end, i'm getting an error: 0x80071A3F ??? Please Help

    Hey 78463,
    Welcome to Apple Support Communities! I didn't see that particular error message in any documentation, but issues installing iTunes are resolved a majority of the time by completing the troubleshooting steps in the following article:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Cheers,
    David

  • First time I press the space-bar the text entry hangs for several seconds

    Hi,
    When entering text, the first time I press the space-bar the text entry hangs for several seconds.
    From then on, there are no problems when entering text.
    iPhone 3G, iOS 4.2.1, no automatic correction and no spell checking.
    Thanks,
    Ofir

    Didn't resolve the problem
    There was some duplicated fonts fixed, but there wasn't the problem.
    Right now i'm writin this in Firefox and here is fine. Couldn't do this in Safari.
    I did make a video showing the problem.
    Also strange is the fact that in some tabs there isn't (aparently) the problem in Safari.
    Any other ideas?
    Tks
    http://gallery.me.com/kincas#100067/Spin%20beach%20ball

  • Fully automated Outlook 2013 with Exchange 2010 client setup

    Hi,
    I'm trying to create a situation where a user fires up Outlook 2013 for the first time and the Exchange account is configured for them without any intervention whatsoever.
    I currently have it that when a user opens Outlook, they see the "Welcome to Outlook 2013" screen and they click next.  They are asked if the want to setup Outlook to connect to an email account and click Next.  On the next screen, there
    primary SMTP address is automatically filled out, and then autodiscover takes over and configures the rest for them.
    I have configured AutoDiscover correctly (including SCP), and configured a GPO with "Automatically configure profile based on Active Directory Primary SMTP address".
    However, I still get that "Welcome to Outlook 2013" screen.
    How do I get rid of that to make the whole process fully automated?
    Many thanks,
    -Mark

    Hi Mark,
    I have this issue before.
    When we first add our accout to Outlook, we should better create a new profile manually.
    I suggest removing our accout from Outlook via "Mail" and re-creating new profile.
    Operation details as below:
    1. Start-->Control Panel-->Mail-->E-mail Accounts...-->select your account and Remove it-->Close
    2. Show Profiles...-->Add-->then configure your account again.
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Can we detect the user first time he logs in ( appln uses embedded ldap )

    Hi,
    We are using weblogic embedded ldap for authentication in our application
    The first time the user logs in to our applicaiton, we need to detect he is log-in the first time,
    so take him to change password page.
    Can we do like that ?
    Regards,
    Harsha
    Edited by: harsha.karthigai on Aug 28, 2009 5:50 AM

    Hi,
    By default when you open a report it displays the report exactly as it was last saved. So even if you user views the report
    drills down
    then closes the report without saving
    then views the report immediately
    the report will open in its original state. There is no setting which can be amended to change this. It is possible to write your own viewer but that would be a significant piece of work
    Regards
    Alan

Maybe you are looking for

  • Text caption - changing place when displayed in different browser

    Hi, I just finished my playbar and I discover problem with text caption (with action SlideCount - once again many thank for Lilybiri). During tests in different web browsers tc is changing place as you can see it below: Safari, Firefox and Opera are

  • Impact of changing/enhance an existing master data object

    Hi Experts, I have a new requirement to enhance 0comp_code in order to add 2 extra fields in the master data. As 0comp_code is an infoobject used in lots of cubes, I would like to know which is the impact of changing it. Which actions should I take i

  • Using a Wify-to-LAN bridge to wire my time capsule into the network

    Hi, I have a time capsule as the core of my small private network, and I'm moving into a building which has a centralized internet connection which only has WiFi support, not a chance to get a wired connection. I do want my time capsule to connect to

  • Delivering a banner, customer cannot see the result

    Hi, I could not find a topic that answered my question in the forum so here it goes: I have several people involved in a project. Each one with a different PC environment. They are all having problems opening the first draft of the banner I have prod

  • Is there something very wrong with Lion and Fcp x or what?

    I have just spent a very frustrating two weeks editing a one hour fifteen minute project on FCP X with Lion as the operating system. Every edit session has been plagued with crashes. My mac is a 21.2 inch, with an I7 processor and 12gig of ram which