tag:blogger.com,1999:blog-204897322008-03-05T07:55:10.159-08:00Grant's Geek BlogGrant A Moylenoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-20489732.post-6696642027905999822007-03-11T12:27:00.000-07:002007-03-11T12:38:09.626-07:00<p>Hi Everyone - Over the last few days I've been doing a lot of updates to Exchange Servers for the DST. I jotted my notes down here, based on information I gleemed from Microsoft's website, and several blogs out there. </p><p>These steps avoid having to run Grant Mailbox Permissions.vbs that is referenced in <a href="http://support.microsoft.com/kb/930879">http://support.microsoft.com/kb/930879</a></p><p><br />DISCLAIMER: These steps worked for me - but there is no guarantee they will work for you. This is advice only. Please review <a href="http://support.microsoft.com/kb/930879">http://support.microsoft.com/kb/930879</a> before proceeding, so you are familiar with the known issues.<br /></p><p>===========</p><p>1. Load the DST patches on Workstations and Servers</p><ul><li>a. Use Windows Update, Microsoft Update or a WSUS</li><li>b. Or Download from <a href="http://support.microsoft.com/kb/931836">http://support.microsoft.com/kb/931836</a></li></ul><p>2. Load the DST patch for Exchange SP2</p><ul><li>a. Use Windows Update, Microsoft Update or a WSUS</li><li>b. Or Download from <a href="http://support.microsoft.com/kb/926666">http://support.microsoft.com/kb/926666</a></li></ul><p>3. Upate the calendar entries with the process below:</p><p>Using Active Directory Users and Computers, create an account (I called mine TZFix – so I’ll call it that the rest of the way through) and give it a password and a mailbox. </p><p>DO NOT delegate Exchange permissions to this account, and do not put it in any other Domain Groups except for the default - Domain Users.<br /></p><p>Using Exchange System Manager, navigate to each Exchange server, select Properties, select the Security Tab, and grant the TZFix user Full Control of the Server. </p><p>This will give them permissions to each mailbox in each database. </p><p>Repeat for the other servers in your Organization.<br /></p><p>Server work is done.</p><p>=================</p><p>Go to a Windows XP w/SP2 workstation that has Outlook 2003 (or higher) on it. Login as a user with Administrator Permissions. </p><p>Right-click on My Computer and select Manage. Drill down to Local Users and Groups Groups. </p><p>Add your TZFix to the LOCAL Administrator’s Group of the Workstation (this is so entries can be created in your event log)<br /></p><p>Close out of Computer Management and log off. Login as TZFix.<br /></p><p>Double-click on an Outlook Icon and configure a profile, using the TZFix mailbox. DO NOT enable Cache mode.<br /></p><p>Close Outlook<br /></p><p>Download TZMove.exe from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e343a233-b9c8-4652-9dd8-ae0f1af62568&DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=e343a233-b9c8-4652-9dd8-ae0f1af62568&amp;DisplayLang=en</a><br /></p><p>Run TZMove.exe to extract the files. </p><p>Cancel when it actually tries to run (we just need it to extract to C:\Program Files\Microsoft Office\Office 12\Office Outlook Time Zone Data Update Tool\</p><p><br />Download MsExTmz.msi from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A9336886-4B28-4010-9416-36D38429438D&displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=A9336886-4B28-4010-9416-36D38429438D&amp;displaylang=en</a> and install it. </p><p><br />Navigate to C:\Program Files\msExTmz and double-click on the MsExTmzCfg executable(MsExTmzCfg Information: This utility will examine the mailboxes and attempt to determine what time zone the user is set to. It will determine it by looking at what time zone Outlook, CDO, and OWA last accessed it with. ) </p><p><br />Set the following options:</p><ul><li>Clear/DO NOT Check: Skip ExtractionServer</li><li>Name: Your Exchange Server Name (Ex1, Server1, Mailroom, etc) (Note: you will need to repeat for Each Exchange Server in your Org)</li><li>Outlook Profile Name: Select the one created for TZFix (there should only be one)</li><li>Output File From Extraction: Output.txt</li><li>Check/Enable Extract Recurring Meeting Time Zone (takes longer, but better chance at figuring out time zone)</li><li>Click Next</li></ul><p>Now - the Timezone Extraction will complete. </p><p>DON’T PANIC - It is OK to get HrProcessMailboxTable:Unable find mailbox timezone:Error 0x80004005 – we’re running it the first time to get a list of users that don’t have a time zone available, as well as finding out who does have it set and what it is</p><p>Click Next</p><p>You should see a screen with the paths to Confirm the Conflicting and NonExistent file names. Close the window with the X in the upper right corner.<br /></p><p>In the C:\Program Files\MsExTmz folder – open the file called Output.txt using Microsoft Excel. </p><p>You will see the following</p><ul><li>Column A: Users DN</li><li>Column B: Time Zone #1</li><li>Column C: Time Zone #2</li><li>Column D: Time Zone #3 </li></ul><p>Any users that do NOT have a time zone listed in Column B, C or D – add one to column B or C.</p><p>Each user should have a Time Zone Set in either B, C or D.</p><p>From the File Menu, select Save and click YES to confirm the file should remain as a .txt file. </p><p>Close Excel. If prompted, click NO to save the file(we just did) </p><p><br />Double-click on the MsExTmzCfg executable again. </p><ul><li>Check/Enable: Skip Extraction – we want to use our modified Output.txt. </li><li>Server Name: Enter the same server nameClick NextLeave the defaults (output files)</li></ul><p>Click Next</p><ul><li>Note the Number of Affected Users Count – this is how many Users it will attempt to modify</li><li>Set Number of Batch Files to 1 (unless you have hundreds of users – then make it 1 batch file for every 100’s users (so if you have 500 users, make it 5)</li><li>For TZMove.exe path – click browse and navigate to C:\Program Files\Microsoft Office\Office12\Office Outlook Time Zone Data Update Tool\TZMove.exe (VERY IMPORTANT! – DON’T LINK TO THE DOWNLOAD – YOU NEED THE EXTRACTED VERSION)</li><li>Check the Recurring meetings only if you just want to update those, and have users fix their individual meetings themselves</li></ul><p>Click Finish and then Close. </p><p>The Data Files will be created.<br /></p><p>In the C:\Program Files\MsExTmz folder, there should be a new folder now with the name of your server. Open that folder.<br /></p><p>In here are several files – open each of the text files so they make sense (Hopefully ConflictUsers and Errors willb e empty)</p><ul><li>ConflictUsers – these users have multiple, different time zones set. They will not be updated</li><li>Errors – these are users that it was not able to determine a time zone for. They will not be updated</li><li>Mailboxes_1.txt – these are the users that will be processed(you may also have Mailboxes_2, Mailboxes_3, etc - if you asked for more than 1 batch file)</li><li>MSExTmz_1.bat – this is a batch file to do the migrations<br /></li></ul><p>Double-click on MSExTmz_1.bat and sit back – the system will now:</p><ol><li>Build a dummy Outlook Profile</li><li>Open the mailbox</li><li>Update the timezone and any meetings</li><li>Close the mailbox</li><li>Remove the dummy Profile</li><li>Repeat 1-5 for each user in the file.<br /></li></ol><p>As it runs, you will see files being creates – MSExTmz-USERNAME-0xHEXNUM.txt – these are individual logs that record what events were updated. If no changes are made to a mailbox, no file will be present. </p><p><br />When complete – review msextmz.txt and examine for errors.<br /></p><p>Repeat the MsExTMZCfg.exe for each Exchange Server, running it twice – the first time to extract the time zones into Output.txt, then modify the Output.txt to set timezones, then run it again (without the export) to create the batch files.</p><p>=============</p><p>Time for cleanup<br /></p><p>Back on the Exchange Server, Use Exchange System Manager and navigate to each server's properties. </p><p>Select the security tab, and remote the TZFix user account.<br /></p><p>Using Active Directory Users and Computers, remove the TZFix user<br /></p><p>=======</p><p>DISCLAIMER: These steps worked for me - but there is no guarantee they will work for you. This is advice only. Please review <a href="http://support.microsoft.com/kb/930879">http://support.microsoft.com/kb/930879</a> before proceeding, so you are familiar with the known issues.</p>Grant A Moylenoreply@blogger.comtag:blogger.com,1999:blog-20489732.post-1161293724728039772006-10-19T14:23:00.000-07:002006-10-19T14:35:54.360-07:00Outlook Autocomplete addresses - where does it store them? (aka the Nicknames)<br /><br />So - we use Outlook on a daily basis - and it remembers addresses that we type (for fun - I just typed <a href="mailto:Fred.Flintstone@confuzer.com">Fred.Flintstone@confuzer.com</a> into my To line. Now, whenever I start to type f - fred is in the list. That is all and good - so here are some common issues with them:<br /><br />1. What if I build a new outlook profile or move to a different computer?<br />It forgets them. Turns out these are stored in a .NK2 file on your hard drive. Default for Windows XP is c:\Documents &amp; settings\USERNAME\Application Data\Microsoft\Outlook\PROFILENAME.NK2<br /><br />If the profile name changes, it will create a new one<br />If you got to a new computer, it will create a new one<br /><br />So - how can you fix it - copy/rename the old one to the profile name.nk2 (or replace the one that gets created)<br /><br />2. What if it corrupts? Delete it and a new one will be created<br /><br />3. How can I manipulate it?<br /><br />Head-on over to the NK2 project and download nk2csv. As of this writing, version .06 is out there.<br /><br /><a href="http://www.nk2.info">http://www.nk2.info</a><br /><br />It adds/deletes entries from the file, and it will export them into a CSV file (it even works on corrupt NK2 files to get some of the data out). You can them make them into contacts, or whatever.Grant A Moylenoreply@blogger.comtag:blogger.com,1999:blog-20489732.post-1153334298963690502006-07-19T11:31:00.000-07:002006-07-19T11:38:18.980-07:00Using the Windows XP x64 or Windows Server 2003 x64 Versions and Adobe Acrobat Standard/Professional 7.0 to create PDFs<br /><br />If you are running either of Microsoft's x64 operating systems, you are probably quite frustrated with the fact you can't create PDFs even though you have a licensed version of Adobe Acrobat Standard or Professional. Turns out Adobe's Print Driver is not a 64-bit driver - so it won't load. Adobe says because Acrobat 7.0 was released before the x64 versions - they are not going to support it or something like that.<br /><br />However, there is a workaround. Distiller will take a .ps file (postscript file) and turn it into a .pdf for you - so you just need a way to make a .ps. That's easy - here is how to do it:<br /><br />Add a post-script printer to your system. I suggest using a color Postscript Printer so you get color PDFs. Windows x64 versions include lots of good candidates - I use the HP Color LaserJet 8550-PS. Add the printer and have it use the FILE: port (instead of LPT or COM)<br /><br />Now, whenever you need to create a PDF, send it to that printer. You will be prompted for a path (I use C:\Adobe\) and save the document with a .ps extension (default will be a .prn)<br /><br />Using Windows Explorer, Navigate to C:\Adobe\ and check the name. If it ends with a .ps and you have Adobe Acrobat 7.0 Standard or Professional (no - this doesn't work with just the reader), double-click it. Adobe Distiller will start up, convert the document and spit out the PDF in the same folder.<br /><br />Enjoy!Grant A Moylenoreply@blogger.comtag:blogger.com,1999:blog-20489732.post-1153182472961631252006-07-17T17:22:00.000-07:002006-07-17T17:28:02.540-07:00It's been a while since I've put anything in here!<br /><br />Administrators are having problems with the Windows Update KB917537. Turns out if you try to install it (and any other updates that are part of the Windows Update/Microsoft Update/Windows Server Update Services batch it is working on) while IIS is running - it fails and you have to reboot.<br /><br />Try stopping the IIS Admin service before installing the update. To stop IIS, do the following<br />Open Administrative Tools Services<br />Select IIS Admin and right-click on it<br />Select Stop and confirm the dependant services<br /><br />Now, load the updates - everything should go fineGrant A Moylenoreply@blogger.comtag:blogger.com,1999:blog-20489732.post-1136583166133685342006-01-06T12:46:00.000-08:002006-01-07T15:24:55.096-08:00Exchange 2003 SP2's Intelligent Message Filter Customization (this only works with the IMF that is now part of Exchange 2003 SP2)<br /><br />With the New Intelligent Message Filter in Exchange 2003 SP2, you can now provide a your own Custom XML file with keywords that either raise or lower the score, but there are a couple of tricks to it - two I had to figure out the hard way!<br /><br />The biggest problem is you can now configure the Intelligent Message Filter to update via Windows update - but it puts the updates files (and runs them) in a new folder.<br /><br />The default IMF (from 8/2005) will be held (by default) in<br />C:\Program Files\Exchsrvr\Bin\MSCFv2<br />The December 15, 2005 update (the most current update at this time) is in<br />C:\Program Files\Exchsrvr\Bin\MSCFv2\6.5.7757.0<br /><br />So - guess where the Custom XML file should go?<br />Documentation says in the \MSCFv2 folder\ - doesn't work - that's the old version of the IMF!!!<br />Put it in the MSCFv2\6.5.7757.0 folder - it will work!!! (or the latest directory next time it updates)<br /><br />Next, you have to register the MSExchange.UceContentFilter.dll - and you will want to make sure you register the correct one - the commnd (all on one line):<br /><span style="font-family:courier new;font-size:85%;">regsvr32 c:\Program Files\Exchsrvr\Bin\MSCFv2\6.5.7757.0\MSExchange.UceContentFilter.dll </span><br />should do it for the version I have.<br /><br />Now To use it, you need to create the file MSExchange.UceContentFilter.xml in the above directory, as a UNICODE text file with the following data:<br /><br /><span style="font-size:85%;">&lt;?xml version="1.0" encoding="UTF-16"?&gt;<br />&lt;CustomWeightEntry Type="SUBJECT" Change="MIN" Text="SAFE SUBJECT"/&gt;<br />&lt;CustomWeightEntry Type="BODY" Change="MIN" Text="SAFE BODY"/&gt;<br />&lt;CustomWeightEntry Type="BOTH" Change="MIN" Text="SAFE BOTH"/&gt;<br />&lt;CustomWeightEntry Type="SUBJECT" Change="MAX" Text="BAD SUBJECT"/&gt;<br />&lt;CustomWeightEntry Type="BODY" Change="MAX" Text="BAD BODY"/&gt;<br />&lt;/CustomWeightEntries&gt;<br /></span><br />To save it as unicode file - in notepad Select "Save As" and make the following changes<br />1. File name needs to be called "<strong>MSExchange.UceContentFilter.xml</strong>" (hint - use the "quotes" around the filename to prevent the default ".txt" on the end.<br />2. From the Encoding Dropdown, select "<strong>UNICODE</strong>"<br /><br />Put it in the correct folder - and - just to be on the safe side - restart SMTP Services (and make sure you have the IMF configured at the ORG level, and enabled under the Server Protocols SMTP)<br /><br />So - how does the file work?<br />First two lines are the XML header and CustomWeight header<br /><span style="font-size:85%;"><br />&lt;?xml version="1.0" encoding="UTF-16"?&gt;<br />&lt;CustomWeightEntry Type="SUBJECT" Change="MIN" Text="SAFE SUBJECT"/&gt;<br /></span><br />This line says if the SUBJECT of the message contains the text "SAFE SUBJECT" - give it a minimum Spam Confidence Level (0) (the Change="MIN")<br /><span style="font-size:85%;"><br />&lt;CustomWeightEntry Type="SUBJECT" Change="MIN" Text="SAFE SUBJECT"/&gt;<br /></span><br />This line says if the BODY of the message contains the text "SAFE BODY" - give it a minimum Spam Confidence Level (0) (the Change="MIN")<br /><span style="font-size:85%;"><br />&lt;CustomWeightEntry Type="BODY" Change="MIN" Text="SAFE BODY"/&gt;<br /></span><br />This line says if the <strong>EITHER</strong> the <strong>SUBJECT</strong> OR <strong>BODY</strong> of the message contains the text <strong>SAFE EITHER</strong>- give it a minimum Spam Confidence Level (0) (the Change="MIN")<br /><span style="font-size:85%;"><br />&lt;CustomWeightEntry Type="BOTH" Change="MIN" Text="SAFE EITHER"/&gt;<br /></span><br />So - what else can you do?<br /><br />This line<br /><span style="font-size:85%;"><br />&lt;CustomWeightEntry Type="SUBJECT" Change="MAX" Text="BAD SUBJECT"/&gt;<br /></span><br />Changes the <strong>Change = "Min"</strong> to <strong>Change = "Max"</strong> and the <strong>Text="SAFE SUBJECT"</strong> to <strong>Text="BAD SUBJECT"</strong><br /><br />This will set give the message a maximum Spam Confidence Level (9)<br /><br />So - to stop the current batch of annoying SPAM that is coming in with the title <strong>"NOTIFICATION - Headline News"</strong> - add the following line to the file<br /><span style="font-size:85%;"><br />&lt;CustomWeightEntry Type="SUBJECT" Change="MAX" Text="NOTIFICATION - Headline News"/&gt; </span><br /><br />If you change<strong> "MIN"</strong> to a number between <strong>-9..0..9</strong> - it will add that amount to the SCL - so if you specify <strong>5</strong> to all messages with the word "Viagra" in it - all messages with that word in the subject will have their score increased.<br /><span style="font-family:courier new;font-size:85%;"><br />&lt;CustomWeightEntry Type="BOTH" Change="5" Text="Viagra"/&gt;<br /></span><br />So - what does this line do?<br /><span style="font-size:85%;"><br />&lt;CustomWeightEntry Type="SUBJECT" Change="-5" Text="Grant's Geek Blog"/&gt; </span><br /><br />Once it is working, changes to the XML file should be immedately effective!<br /><br />So - combine this with a nice Event sink that adds text to a incoming message that meets a criteria (like e-mail address) and you can make a nice whitelisting utility for free! (I'll show you that one over the next couple of weeks)<br /><br />Good luck with the war on SPAM!Grant A Moylenoreply@blogger.comtag:blogger.com,1999:blog-20489732.post-1136314184124974022006-01-03T10:49:00.000-08:002006-01-04T12:42:46.676-08:00My First Blog EntryWow - my first Blog Entry.<br /><br />Something to watch:<br /><a href="http://www.zubbles.com">www.zubbles.com</a> - Colored bubbles - there is an awesome article in Popular Science about the development of this stuff.<br /><br />A nifty Exchange Trick:<br />Getting the Exchange 2003 SP2 IMF to be updated with Windows & Microsoft Update - so you automatically get the twice-monthly update to the SPAM filtering code<br />*Add the registry value HKLM\Software\Microsoft\Exchange\ContentFilterState DWORD 1<br /><br />And a nifty Windows 2003 Server trick:<br />To add a wildcard DNS entry to Windows DNS - just add a * entry into your Windows 2003 DNS zone. Now people can ping anything (ie: try going to my website via blogs.confuzer.com, nowhere.confuzer.com, even zubbles.confuzer.com - they'll all get you to the same place!<br /><br />And for the real Geeks out there, try this from a command prompt on 2000/XP/2003<br />rundll32.exe advapi32.dll,ProcessIdleTasks<br />(Note: ProcessIdleTasks is case-sensitive) - it will force any pending idle processes to be executed immedately. This way they won't decide to run at a later time on youGrant A Moylenoreply@blogger.com