<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>phirebird &#187; userprofile</title>
	<atom:link href="http://www.phirebird.net/tag/userprofile/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phirebird.net</link>
	<description>Yet Another IT &#039;How-To&#039; Site</description>
	<lastBuildDate>Wed, 29 Dec 2010 11:37:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Configure Outlook Exchange email account through login script</title>
		<link>http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/</link>
		<comments>http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 23:18:42 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[login script]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[userprofile]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=90</guid>
		<description><![CDATA[This one&#8217;s a common issue &#8211; you&#8217;ve got hundreds of users and want an efficient way of handing out Exchange email account settings to all of your Outlook users. Well, I&#8217;m going to cut through all the waffle and tell you the method I use. I create a .prf file (Outlook Profile), store it in a [...]]]></description>
			<content:encoded><![CDATA[<p>This one&#8217;s a common issue &#8211; you&#8217;ve got hundreds of users and want an efficient way of handing out Exchange email account settings to all of your Outlook users. Well, I&#8217;m going to cut through all the waffle and tell you the method I use.</p>
<p>I create a .prf file (Outlook Profile), store it in a shared server location, and reference it from within a login script. The problem is, I only want it to run once (when a user logs into a machine for the first time). So I check for the existence of a junk file in the users profile directory (C:\Doc &amp; Set\user\outlookdone.dat &#8211; which incidentally also contains the date it was originally done). The resulting login batch file looks a bit like this:</p>
<blockquote><p>if exist &#8220;%USERPROFILE%\outlookdone.dat&#8221; goto outlookdone<br />
echo Configuring Outlook EMail profile..<br />
&#8220;c:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE&#8221; /importprf \\server\share\outlook.prf<br />
echo %date% &gt;&#8221;%USERPROFILE%\outlookdone.dat&#8221;</p>
<p>: outlookdone</p></blockquote>
<p>(NB: that this is for Outlook 2003 &#8211; OFFICE11. This method should also work for 2002 and 2007 &#8211; however it has not been tested). Finally, the all important .prf file looks a bit like this:</p>
<blockquote><p>[General]<br />
Custom=1<br />
ProfileName=Default profile<br />
DefaultProfile=Yes<br />
OverwriteProfile=No<br />
ModifyDefaultProfileIfPresent=FALSE</p>
<p>[Service List]<br />
;ServiceX=Microsoft Outlook Client<br />
ServiceEGS=Exchange Global Section<br />
Service1=Microsoft Exchange Server<br />
ServiceEGS=Exchange Global Section</p>
<p>[ServiceEGS]<br />
MailboxName=%UserName%<br />
HomeServer=YOUREXCHANGESERVERNAMEGOESHERE<br />
[Service1]<br />
OverwriteExistingService=No<br />
UniqueService=Yes<br />
MailboxName=%UserName%<br />
HomeServer=YOUREXCHANGESERVERNAMEGOESHERE<br />
AccountName=Microsoft Exchange Server</p>
<p>[Microsoft Exchange Server]<br />
ServiceName=MSEMS<br />
MDBGUID=5494A1C0297F101BA58708002B2A2517<br />
MailboxName=PT_STRING8,0&#215;6607<br />
HomeServer=PT_STRING8,0&#215;6608<br />
OfflineAddressBookPath=PT_STRING8,0x660E<br />
OfflineFolderPath=PT_STRING8,0&#215;6610</p>
<p>[Exchange Global Section]<br />
SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a<br />
MailboxName=PT_STRING8,0&#215;6607<br />
HomeServer=PT_STRING8,0&#215;6608<br />
RPCoverHTTPflags=PT_LONG,0&#215;6623<br />
RPCProxyServer=PT_UNICODE,0&#215;6622<br />
RPCProxyPrincipalName=PT_UNICODE,0&#215;6625<br />
RPCProxyAuthScheme=PT_LONG,0&#215;6627<br />
CachedExchangeConfigFlags=PT_LONG,0&#215;6629</p>
<p>[Microsoft Mail]<br />
ServiceName=MSFS<br />
ServerPath=PT_STRING8,0&#215;6600<br />
Mailbox=PT_STRING8,0&#215;6601<br />
Password=PT_STRING8,0x67f0<br />
RememberPassword=PT_BOOLEAN,0&#215;6606<br />
ConnectionType=PT_LONG,0&#215;6603<br />
UseSessionLog=PT_BOOLEAN,0&#215;6604<br />
SessionLogPath=PT_STRING8,0&#215;6605<br />
EnableUpload=PT_BOOLEAN,0&#215;6620<br />
EnableDownload=PT_BOOLEAN,0&#215;6621<br />
UploadMask=PT_LONG,0&#215;6622<br />
NetBiosNotification=PT_BOOLEAN,0&#215;6623<br />
NewMailPollInterval=PT_STRING8,0&#215;6624<br />
DisplayGalOnly=PT_BOOLEAN,0&#215;6625<br />
UseHeadersOnLAN=PT_BOOLEAN,0&#215;6630<br />
UseLocalAdressBookOnLAN=PT_BOOLEAN,0&#215;6631<br />
UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0&#215;6632<br />
UseHeadersOnRAS=PT_BOOLEAN,0&#215;6640<br />
UseLocalAdressBookOnRAS=PT_BOOLEAN,0&#215;6641<br />
UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0&#215;6639<br />
ConnectOnStartup=PT_BOOLEAN,0&#215;6642<br />
DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0&#215;6643<br />
DisconnectAfterRetrieveMail=PT_BOOLEAN,0&#215;6644<br />
DisconnectOnExit=PT_BOOLEAN,0&#215;6645<br />
DefaultDialupConnectionName=PT_STRING8,0&#215;6646<br />
DialupRetryCount=PT_STRING8,0&#215;6648<br />
DialupRetryDelay=PT_STRING8,0&#215;6649</p>
<p>[Personal Folders]<br />
ServiceName=MSPST MS<br />
Name=PT_STRING8,0&#215;3001<br />
PathToPersonalFolders=PT_STRING8,0&#215;6700<br />
RememberPassword=PT_BOOLEAN,0&#215;6701<br />
EncryptionType=PT_LONG,0&#215;6702<br />
Password=PT_STRING8,0&#215;6703</p>
<p>[Unicode Personal Folders]<br />
ServiceName=MSUPST MS<br />
Name=PT_UNICODE,0&#215;3001<br />
PathToPersonalFolders=PT_STRING8,0&#215;6700<br />
RememberPassword=PT_BOOLEAN,0&#215;6701<br />
EncryptionType=PT_LONG,0&#215;6702<br />
Password=PT_STRING8,0&#215;6703</p>
<p>[Outlook Address Book]<br />
ServiceName=CONTAB</p>
<p>[LDAP Directory]<br />
ServiceName=EMABLT<br />
ServerName=PT_STRING8,0&#215;6600<br />
UserName=PT_STRING8,0&#215;6602<br />
UseSSL=PT_BOOLEAN,0&#215;6613<br />
UseSPA=PT_BOOLEAN,0&#215;6615<br />
DisableVLV=PT_LONG,0&#215;6616<br />
DisplayName=PT_STRING8,0&#215;3001<br />
ConnectionPort=PT_STRING8,0&#215;6601<br />
SearchTimeout=PT_STRING8,0&#215;6607<br />
MaxEntriesReturned=PT_STRING8,0&#215;6608<br />
SearchBase=PT_STRING8,0&#215;6603</p>
<p>[Microsoft Outlook Client]<br />
SectionGUID=0a0d020000000000c000000000000046<br />
FormDirectoryPage=PT_STRING8,0&#215;0270<br />
WebServicesLocation=PT_STRING8,0&#215;0271<br />
ComposeWithWebServices=PT_BOOLEAN,0&#215;0272<br />
PromptWhenUsingWebServices=PT_BOOLEAN,0&#215;0273<br />
OpenWithWebServices=PT_BOOLEAN,0&#215;0274<br />
CachedExchangeMode=PT_LONG,0x041f<br />
CachedExchangeSlowDetect=PT_BOOLEAN,0&#215;0420</p>
<p>[Personal Address Book]<br />
ServiceName=MSPST AB<br />
NameOfPAB=PT_STRING8,0x001e3001<br />
Path=PT_STRING8,0x001e6600<br />
ShowNamesBy=PT_LONG,0&#215;00036601</p>
<p>; ************************************************************************<br />
; Section 7 &#8211; Mapping for internet account properties.  DO NOT MODIFY.<br />
; ************************************************************************</p>
<p>[I_Mail]<br />
AccountType=POP3<br />
;&#8212; POP3 Account Settings &#8212;<br />
AccountName=PT_UNICODE,0&#215;0002<br />
DisplayName=PT_UNICODE,0x000B<br />
EmailAddress=PT_UNICODE,0x000C<br />
;&#8212; POP3 Account Settings &#8212;<br />
POP3Server=PT_UNICODE,0&#215;0100<br />
POP3UserName=PT_UNICODE,0&#215;0101<br />
POP3UseSPA=PT_LONG,0&#215;0108<br />
Organization=PT_UNICODE,0&#215;0107<br />
ReplyEmailAddress=PT_UNICODE,0&#215;0103<br />
POP3Port=PT_LONG,0&#215;0104<br />
POP3UseSSL=PT_LONG,0&#215;0105<br />
; &#8212; SMTP Account Settings &#8212;<br />
SMTPServer=PT_UNICODE,0&#215;0200<br />
SMTPUseAuth=PT_LONG,0&#215;0203<br />
SMTPAuthMethod=PT_LONG,0&#215;0208<br />
SMTPUserName=PT_UNICODE,0&#215;0204<br />
SMTPUseSPA=PT_LONG,0&#215;0207<br />
ConnectionType=PT_LONG,0x000F<br />
ConnectionOID=PT_UNICODE,0&#215;0010<br />
SMTPPort=PT_LONG,0&#215;0201<br />
SMTPUseSSL=PT_LONG,0&#215;0202<br />
ServerTimeOut=PT_LONG,0&#215;0209<br />
LeaveOnServer=PT_LONG,0&#215;1000</p>
<p>[IMAP_I_Mail]<br />
AccountType=IMAP<br />
;&#8212; IMAP Account Settings &#8212;<br />
AccountName=PT_UNICODE,0&#215;0002<br />
DisplayName=PT_UNICODE,0x000B<br />
EmailAddress=PT_UNICODE,0x000C<br />
;&#8212; IMAP Account Settings &#8212;<br />
IMAPServer=PT_UNICODE,0&#215;0100<br />
IMAPUserName=PT_UNICODE,0&#215;0101<br />
IMAPUseSPA=PT_LONG,0&#215;0108<br />
Organization=PT_UNICODE,0&#215;0107<br />
ReplyEmailAddress=PT_UNICODE,0&#215;0103<br />
IMAPPort=PT_LONG,0&#215;0104<br />
IMAPUseSSL=PT_LONG,0&#215;0105<br />
; &#8212; SMTP Account Settings &#8212;<br />
SMTPServer=PT_UNICODE,0&#215;0200<br />
SMTPUseAuth=PT_LONG,0&#215;0203<br />
SMTPAuthMethod=PT_LONG,0&#215;0208<br />
SMTPUserName=PT_UNICODE,0&#215;0204<br />
SMTPUseSPA=PT_LONG,0&#215;0207<br />
ConnectionType=PT_LONG,0x000F<br />
ConnectionOID=PT_UNICODE,0&#215;0010<br />
SMTPPort=PT_LONG,0&#215;0201<br />
SMTPUseSSL=PT_LONG,0&#215;0202<br />
ServerTimeOut=PT_LONG,0&#215;0209<br />
CheckNewImap=PT_LONG,0&#215;1100<br />
RootFolder=PT_UNICODE,0&#215;1101</p>
<p>[INET_HTTP]<br />
AccountType=HOTMAIL<br />
Account=PT_UNICODE,0&#215;0002<br />
HttpServer=PT_UNICODE,0&#215;0100<br />
UserName=PT_UNICODE,0&#215;0101<br />
Organization=PT_UNICODE,0&#215;0107<br />
UseSPA=PT_LONG,0&#215;0108<br />
TimeOut=PT_LONG,0&#215;0209<br />
Reply=PT_UNICODE,0&#215;0103<br />
EmailAddress=PT_UNICODE,0x000C<br />
FullName=PT_UNICODE,0x000B<br />
Connection Type=PT_LONG,0x000F<br />
ConnectOID=PT_UNICODE,0&#215;0010</p></blockquote>
<p>&nbsp;</p>
<p>Did you find this hint useful? Are you looking to learn more? Well, here&#8217;s a few books that I&#8217;ve found useful &#8211; have a goosie!</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0782142044?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51eB7OBs6PL._SL100.jpg" border="0"><br />
Mastering Microsoft Exchange Server 2003</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/1592000851?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/517yuSCbi5L._SL100.jpg" border="0"><br />
Microsoft Windows Shell Script Programming</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/1578701392?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41y8XN69oTL._SL100.jpg" border="0"><br />
Microsoft Windows Script Host</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0470287209?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51fHA8c9zXL._SL100.jpg" border="0"><br />
Active Directory for Dummies</a></td>
</tr>
</table>
<p>&nbsp;<br />
<br />&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/&amp;n=Configure+Outlook+Exchange+email+account+through+login+script&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/&amp;title=Configure+Outlook+Exchange+email+account+through+login+script" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/&amp;title=Configure+Outlook+Exchange+email+account+through+login+script" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/&amp;t=Configure+Outlook+Exchange+email+account+through+login+script" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/&amp;title=Configure+Outlook+Exchange+email+account+through+login+script" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/&amp;title=Configure+Outlook+Exchange+email+account+through+login+script" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Configure+Outlook+Exchange+email+account+through+login+script+-+http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/07/configure-outlook-exchange-email-account-through-login-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

