<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Script: Auto-generate Outlook Signature</title>
	<atom:link href="http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/feed/" rel="self" type="application/rss+xml" />
	<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/</link>
	<description>A bunch of random notes from working in IT</description>
	<lastBuildDate>Fri, 30 Jul 2010 01:22:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Robert Findlay</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-1128</link>
		<dc:creator>Robert Findlay</dc:creator>
		<pubDate>Tue, 27 Jul 2010 21:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-1128</guid>
		<description>This script is great.
Great job to those who made it!</description>
		<content:encoded><![CDATA[<p>This script is great.<br />
Great job to those who made it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy D</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-1124</link>
		<dc:creator>Andy D</dc:creator>
		<pubDate>Sat, 10 Jul 2010 12:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-1124</guid>
		<description>Just to let you know, if you are not a developer/scripting wiz and want to do something like this for your user community,  we have a low cost multi language compliant tool that you could consider,  it also syncs with blackberry server as well..  Check it out here

http://www.iphelion.com/Product/SignatureCreator.aspx

Thanks
Andy</description>
		<content:encoded><![CDATA[<p>Just to let you know, if you are not a developer/scripting wiz and want to do something like this for your user community,  we have a low cost multi language compliant tool that you could consider,  it also syncs with blackberry server as well..  Check it out here</p>
<p><a href="http://www.iphelion.com/Product/SignatureCreator.aspx" rel="nofollow">http://www.iphelion.com/Product/SignatureCreator.aspx</a></p>
<p>Thanks<br />
Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark C</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-1008</link>
		<dc:creator>Mark C</dc:creator>
		<pubDate>Thu, 08 Apr 2010 18:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-1008</guid>
		<description>Great script, thanks for creating this is at saved me many hours!  One question, what is the proper syntax for the richtextfile if I wanted to have a line of text at the bottom in BOLD and with a font size of 7.5?

Thanks!</description>
		<content:encoded><![CDATA[<p>Great script, thanks for creating this is at saved me many hours!  One question, what is the proper syntax for the richtextfile if I wanted to have a line of text at the bottom in BOLD and with a font size of 7.5?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xiglet</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-1004</link>
		<dc:creator>xiglet</dc:creator>
		<pubDate>Tue, 30 Mar 2010 09:16:46 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-1004</guid>
		<description>Hi

Looks just like what I&#039;m looking for. However, I get this error: 
Line: 24
Char: 1
Error: Path not found
Code: 800A004C
Source: Microsoft VBScript runtime error. 

Any idea what causes this? I&#039;m using a Windows7 client so I guessed the appdatapath could be wrong, but I get the same error on a Windows 2008 server. 

best regards
xiglet</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Looks just like what I&#8217;m looking for. However, I get this error:<br />
Line: 24<br />
Char: 1<br />
Error: Path not found<br />
Code: 800A004C<br />
Source: Microsoft VBScript runtime error. </p>
<p>Any idea what causes this? I&#8217;m using a Windows7 client so I guessed the appdatapath could be wrong, but I get the same error on a Windows 2008 server. </p>
<p>best regards<br />
xiglet</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simon</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-997</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Wed, 03 Mar 2010 20:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-997</guid>
		<description>Hi Rob,

please tell me about process for this script. I copied all codes and save into the stagging server but when I tried with same script then Its prompt &quot;Run time error: Path not found&quot; and same has been done into the XP machine with out member server machine &quot;C:\WINDOWS\system32&gt;cscript.exe //nologo sign.vbs
C:\WINDOWS\system32\sign.vbs(7, 1) (null): The specified domain either does not
exist or could not be contacted.&quot;

Could you provide me steps to run this scripts. I just have little knowledge for script.

I really don&#039;t know to how to run or where I need to keep this script and again how to run?

Could u help me?


Many Thanks ,
Simon D</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>please tell me about process for this script. I copied all codes and save into the stagging server but when I tried with same script then Its prompt &#8220;Run time error: Path not found&#8221; and same has been done into the XP machine with out member server machine &#8220;C:\WINDOWS\system32&gt;cscript.exe //nologo sign.vbs<br />
C:\WINDOWS\system32\sign.vbs(7, 1) (null): The specified domain either does not<br />
exist or could not be contacted.&#8221;</p>
<p>Could you provide me steps to run this scripts. I just have little knowledge for script.</p>
<p>I really don&#8217;t know to how to run or where I need to keep this script and again how to run?</p>
<p>Could u help me?</p>
<p>Many Thanks ,<br />
Simon D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-994</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 11 Feb 2010 10:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-994</guid>
		<description>hi Rob, 

this script works great on both rich text and plain, but i cant seem to get it working on html. I have done exaclty what you have. 

could i have some advice?

Many thanks</description>
		<content:encoded><![CDATA[<p>hi Rob, </p>
<p>this script works great on both rich text and plain, but i cant seem to get it working on html. I have done exaclty what you have. </p>
<p>could i have some advice?</p>
<p>Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CP</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-993</link>
		<dc:creator>CP</dc:creator>
		<pubDate>Thu, 04 Feb 2010 10:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-993</guid>
		<description>Hi, Great work on the script. Im a newb to this too but i have 1 more Q. I have 100 computer on the domain using outlook 2003 and signautres configured. Do you have a script that could run automatically for just 1 line of the signature which changes every 3 months. its really a pain to go edit all of these at once. Thanks again. really will appreciate the help.</description>
		<content:encoded><![CDATA[<p>Hi, Great work on the script. Im a newb to this too but i have 1 more Q. I have 100 computer on the domain using outlook 2003 and signautres configured. Do you have a script that could run automatically for just 1 line of the signature which changes every 3 months. its really a pain to go edit all of these at once. Thanks again. really will appreciate the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-974</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 23 Nov 2009 10:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-974</guid>
		<description>Hi all,

First of all, I would like to thank the author for this script. It&#039;s very good. In combination with some registry manipulation it&#039;s quite powerful. 

for me, there is only one question left. Since our firm&#039;s signature is based on HTML, I would like to set Outlook&#039;s Mail Format to HTML by default. Any idea where the proper registry entry looks can be found?</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>First of all, I would like to thank the author for this script. It&#8217;s very good. In combination with some registry manipulation it&#8217;s quite powerful. </p>
<p>for me, there is only one question left. Since our firm&#8217;s signature is based on HTML, I would like to set Outlook&#8217;s Mail Format to HTML by default. Any idea where the proper registry entry looks can be found?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-967</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Tue, 10 Nov 2009 16:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-967</guid>
		<description>For some reason I get the following error when running the basic script on a useraccount from a Active Directory policy:

permission denied: &#039;createobject&#039; code 800A0046

Spent most of the day figuring this one out, still no clue...
Anyone want to share thoughts on this on? Thanx in advance!!

The script looks like this:


Set objUser = CreateObject(&quot;WScript.Network&quot;)
userName = objUser.UserName
domainName = objUser.UserDomain 

FUNCTION GetUserDN(BYVAL UN, BYVAL DN)
Set ObjTrans = CreateObject(&quot;NameTranslate&quot;)
objTrans.init 1, DN
objTrans.set 3, DN &amp; &quot;\&quot; &amp; UN
strUserDN = objTrans.Get(1)
GetUserDN = strUserDN
END FUNCTION

Set objLDAPUser = GetObject(&quot;LDAP://&quot; &amp; GetUserDN(userName,domainName))

&#039;Prepare to create some files
Dim objFSO, objWsh, appDataPath, pathToCopyTo, plainTextFile, plainTextFilePath, richTextFile, richTextFilePath, htmlFile, htmlFilePath
Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set objWsh = CreateObject(&quot;WScript.Shell&quot;)
appDataPath = objWsh.ExpandEnvironmentStrings(&quot;%APPDATA%&quot;)
pathToCopyTo = appDataPath &amp; &quot;\Microsoft\Signatures\&quot;

&#039;Create the plain text signature
plainTextFilePath = pathToCopyTo &amp; &quot;Default.txt&quot;
Set plainTextFile = objFSO.CreateTextFile(plainTextFilePath, TRUE)
plainTextFile.WriteLine(objLDAPUser.DisplayName)
plainTextFile.WriteLine(objLDAPUser.title)
plainTextFile.WriteLine(&quot;&quot;)
plainTextFile.WriteLine(objLDAPUser.company)
plainTextFile.WriteLine(&quot;&quot;)
plainTextFile.WriteLine(&quot;tel: &quot; &amp; objLDAPUser.telephoneNumber)
plainTextFile.WriteLine(&quot;fax: &quot; &amp; objLDAPUser.facsimileTelephoneNumber)
plainTextFile.WriteLine(&quot;mob: &quot; &amp; objLDAPUser.mobile)
plainTextFile.WriteLine(&quot;&quot;)
plainTextFile.Write(objLDAPUser.wWWHomePage)
plainTextFile.WriteLine(&quot;&quot;)
plainTextFile.Close

&#039;Create the Rich Text signature
richTextFilePath = pathToCopyTo &amp; &quot;Default.rtf&quot;
Set richTextFile = objFSO.CreateTextFile(richTextFilePath, TRUE)
richTextFile.WriteLine(&quot;{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fswiss\fcharset0 Arial;}}&quot;)
richTextFile.WriteLine(&quot;\viewkind4\uc1\pard\f0\fs20  \par&quot;)
richTextFile.WriteLine(objLDAPUser.DisplayName &amp; &quot;\par&quot;)
richTextFile.WriteLine(objLDAPUser.title &amp; &quot;\par&quot;)
richTextFile.WriteLine(&quot;\par&quot;)
richTextFile.WriteLine(objLDAPUser.company &amp; &quot;\par&quot;)
richTextFile.WriteLine(&quot;\par&quot;)
richTextFile.WriteLine(&quot;tel: &quot; &amp; objLDAPUser.telephoneNumber &amp; &quot;\par&quot;)
richTextFile.WriteLine(&quot;fax: &quot; &amp; objLDAPUser.facsimileTelephoneNumber &amp; &quot;\par&quot;)
richTextFile.WriteLine(&quot;mob: &quot; &amp; objLDAPUser.mobile &amp; &quot;\par&quot;)
richTextFile.WriteLine(&quot;\par&quot;)
richTextFile.WriteLine(objLDAPUser.wWWHomePage &amp; &quot;\par&quot;)
richTextFile.WriteLine(&quot;\par&quot;)
richTextFile.Write(&quot;}&quot;)
richTextFile.Close

&#039;Create the HTML signature
htmlFilePath = pathToCopyTo &amp; &quot;Default.htm&quot;
Set htmlFile = objFSO.CreateTextFile(htmlFilePath, TRUE)
htmlfile.WriteLine(&quot;&quot;)
htmlfile.WriteLine(&quot;&quot;)
htmlfile.WriteLine(&quot;&quot;)
htmlfile.WriteLine(&quot;&quot; &amp; objLDAPUser.DisplayName &amp; &quot;&quot;)
htmlfile.WriteLine(&quot;&quot; &amp; objLDAPUser.title &amp; &quot;&quot;)
htmlfile.WriteLine(&quot;&quot;)
htmlfile.WriteLine(&quot;tel: &quot; &amp; objLDAPUser.telephoneNumber &amp; &quot;&quot;)
htmlfile.WriteLine(&quot;fax: &quot; &amp; objLDAPUser.facsimileTelephoneNumber &amp; &quot;&quot;)
htmlfile.WriteLine(&quot;mob: &quot; &amp; objLDAPUser.mobile &amp; &quot;&quot;)
htmlfile.WriteLine(&quot;&lt;a&gt;&quot; &amp; objLDAPUser.wWWHomePage &amp; &quot;&lt;/a&gt;&quot;)
htmlfile.WriteLine(&quot;&quot;)
htmlfile.WriteLine(&quot;&quot;)
htmlfile.Write(&quot;&quot;)</description>
		<content:encoded><![CDATA[<p>For some reason I get the following error when running the basic script on a useraccount from a Active Directory policy:</p>
<p>permission denied: &#8216;createobject&#8217; code 800A0046</p>
<p>Spent most of the day figuring this one out, still no clue&#8230;<br />
Anyone want to share thoughts on this on? Thanx in advance!!</p>
<p>The script looks like this:</p>
<p>Set objUser = CreateObject(&#8220;WScript.Network&#8221;)<br />
userName = objUser.UserName<br />
domainName = objUser.UserDomain </p>
<p>FUNCTION GetUserDN(BYVAL UN, BYVAL DN)<br />
Set ObjTrans = CreateObject(&#8220;NameTranslate&#8221;)<br />
objTrans.init 1, DN<br />
objTrans.set 3, DN &amp; &#8220;\&#8221; &amp; UN<br />
strUserDN = objTrans.Get(1)<br />
GetUserDN = strUserDN<br />
END FUNCTION</p>
<p>Set objLDAPUser = GetObject(&#8220;LDAP://&#8221; &amp; GetUserDN(userName,domainName))</p>
<p>&#8216;Prepare to create some files<br />
Dim objFSO, objWsh, appDataPath, pathToCopyTo, plainTextFile, plainTextFilePath, richTextFile, richTextFilePath, htmlFile, htmlFilePath<br />
Set objFSO = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)<br />
Set objWsh = CreateObject(&#8220;WScript.Shell&#8221;)<br />
appDataPath = objWsh.ExpandEnvironmentStrings(&#8220;%APPDATA%&#8221;)<br />
pathToCopyTo = appDataPath &amp; &#8220;\Microsoft\Signatures\&#8221;</p>
<p>&#8216;Create the plain text signature<br />
plainTextFilePath = pathToCopyTo &amp; &#8220;Default.txt&#8221;<br />
Set plainTextFile = objFSO.CreateTextFile(plainTextFilePath, TRUE)<br />
plainTextFile.WriteLine(objLDAPUser.DisplayName)<br />
plainTextFile.WriteLine(objLDAPUser.title)<br />
plainTextFile.WriteLine(&#8220;&#8221;)<br />
plainTextFile.WriteLine(objLDAPUser.company)<br />
plainTextFile.WriteLine(&#8220;&#8221;)<br />
plainTextFile.WriteLine(&#8220;tel: &#8221; &amp; objLDAPUser.telephoneNumber)<br />
plainTextFile.WriteLine(&#8220;fax: &#8221; &amp; objLDAPUser.facsimileTelephoneNumber)<br />
plainTextFile.WriteLine(&#8220;mob: &#8221; &amp; objLDAPUser.mobile)<br />
plainTextFile.WriteLine(&#8220;&#8221;)<br />
plainTextFile.Write(objLDAPUser.wWWHomePage)<br />
plainTextFile.WriteLine(&#8220;&#8221;)<br />
plainTextFile.Close</p>
<p>&#8216;Create the Rich Text signature<br />
richTextFilePath = pathToCopyTo &amp; &#8220;Default.rtf&#8221;<br />
Set richTextFile = objFSO.CreateTextFile(richTextFilePath, TRUE)<br />
richTextFile.WriteLine(&#8220;{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fswiss\fcharset0 Arial;}}&#8221;)<br />
richTextFile.WriteLine(&#8220;\viewkind4\uc1\pard\f0\fs20  \par&#8221;)<br />
richTextFile.WriteLine(objLDAPUser.DisplayName &amp; &#8220;\par&#8221;)<br />
richTextFile.WriteLine(objLDAPUser.title &amp; &#8220;\par&#8221;)<br />
richTextFile.WriteLine(&#8220;\par&#8221;)<br />
richTextFile.WriteLine(objLDAPUser.company &amp; &#8220;\par&#8221;)<br />
richTextFile.WriteLine(&#8220;\par&#8221;)<br />
richTextFile.WriteLine(&#8220;tel: &#8221; &amp; objLDAPUser.telephoneNumber &amp; &#8220;\par&#8221;)<br />
richTextFile.WriteLine(&#8220;fax: &#8221; &amp; objLDAPUser.facsimileTelephoneNumber &amp; &#8220;\par&#8221;)<br />
richTextFile.WriteLine(&#8220;mob: &#8221; &amp; objLDAPUser.mobile &amp; &#8220;\par&#8221;)<br />
richTextFile.WriteLine(&#8220;\par&#8221;)<br />
richTextFile.WriteLine(objLDAPUser.wWWHomePage &amp; &#8220;\par&#8221;)<br />
richTextFile.WriteLine(&#8220;\par&#8221;)<br />
richTextFile.Write(&#8220;}&#8221;)<br />
richTextFile.Close</p>
<p>&#8216;Create the HTML signature<br />
htmlFilePath = pathToCopyTo &amp; &#8220;Default.htm&#8221;<br />
Set htmlFile = objFSO.CreateTextFile(htmlFilePath, TRUE)<br />
htmlfile.WriteLine(&#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;&#8221; &amp; objLDAPUser.DisplayName &amp; &#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;&#8221; &amp; objLDAPUser.title &amp; &#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;tel: &#8221; &amp; objLDAPUser.telephoneNumber &amp; &#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;fax: &#8221; &amp; objLDAPUser.facsimileTelephoneNumber &amp; &#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;mob: &#8221; &amp; objLDAPUser.mobile &amp; &#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;<a>&#8221; &amp; objLDAPUser.wWWHomePage &amp; &#8220;</a>&#8220;)<br />
htmlfile.WriteLine(&#8220;&#8221;)<br />
htmlfile.WriteLine(&#8220;&#8221;)<br />
htmlfile.Write(&#8220;&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sjouke</title>
		<link>http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/comment-page-1/#comment-963</link>
		<dc:creator>Sjouke</dc:creator>
		<pubDate>Tue, 03 Nov 2009 14:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://robwhitehouse.com/windows/script-auto-generate-outlook-signature/#comment-963</guid>
		<description>Thanks guys, by creating the script at my work my boss likes me because I saved € 1500,- :-)

But if anyone knows how to do it by OWA it would be perfect!</description>
		<content:encoded><![CDATA[<p>Thanks guys, by creating the script at my work my boss likes me because I saved € 1500,- :-)</p>
<p>But if anyone knows how to do it by OWA it would be perfect!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
