Word documents are really ZIP files!? How to extract photos from a Word doc

Did you know that a Word document is really just a ZIP file presented as a .docx? Give it a try by renaming a .docx to .zip and you’ll see you can open it and see the contents.

I needed to extract several images from a Word doc and by doing this you will find a Media folder in the zip file that contains the original images (that Word may have compressed).

Credit to http://www.thewindowsclub.com/extract-images-word-document for the tip


How to view the site template in SharePoint 2013

Microsoft should make it more transparent about which SharePoint site template is used to create a site, but they didn’t … so here is how to locate it.

View the source code of a page and search for “sitetemplateid”.  The value listed will be a code for the template … something like “BLANKINTERNET#0” or “STS#1”.

Take that template code and look it up here to find the corresponding template for the code.


Via https://nickhobbs.wordpress.com/2013/05/18/sharepoint-how-to-check-which-site-template-was-used-to-create-a-site-just-using-a-web-browser/

Images in Outlook are Blurry After Sending

I recently had an issue when I would embed an image in Outlook and it would look great. However, after sending the email the image became noticibly blurry and pixelated. I tried using the image as both .jpg and .png and neither worked.

I then came across this article http://www.howto-outlook.com/faq/unsharpimages.htm which solved the issue. The short answer is that the image needs to be created at 96 dpi because Outlook will reformat it to 96 dpi anyway. If it is not already at 96 dpi then it will become distorted. Check out the more detailed explanation below.

This issue usually happens when you are using a picture other than 96dpi.

When inserting a picture, Outlook will rescale the image as if it was a 96dpi image. This means that if you have a picture of 150dpi with a height of 88px, it will be displayed as an image of 56px high;
88px/150dpi * 96dpi = 56px

It even gets worse; upon sending, Outlook will convert and compress (re-render) the images to 96dpi with the new dimensions permanently! This means that all the “detailed” picture information is lost and you’ll be sending an image of 96dpi which is 56px high. This is of course a severe and very visible quality loss.

If your picture is less than 96dpi, then the opposite happens. A picture of 88px high with a dpi of 32 would then result in a 96dpi image of 264px high. So the result will be a very large image (but this time you can resize it back without the image becoming blurry).

This is a long outstanding issue/function/design choice which goes back all the way to Word 6.0 from 1993.

While this issue might not be a real issue when inserting pictures (which are usually too big anyway), it will become an issue when you have a carefully designed graphic to be used in a newsletter or signature; quality loss and unexpected changes in graphic sizes is not what you want then.

Netwrix Automatic Password Expiration Alert Emails for Active Directory

As part of my job as a network admin we are constantly running into the issue of users letting their passwords expire (no thanks to Windows 7’s terribly small password reminder pop up that can easily be missed). I had been looking for an automated solution that would email users a warning that their password was going to expire, hoping that it would serve as a more obtrusive reminder.

I found several complex powershell scripts that could be properly configured to tap into an email server to get this working, but I wanted something easier that would not be a pain to support. I finally came across Netwrix Auditor which has a component that does just what I had been looking for.  Continue reading

Microsoft Office 365 Smart Host Addresses

We recently had an issue where we thought Microsoft might have changed the allowable smart host IP address that we were using. After some digging it turned out to be a blacklist issue but during the investigation I found that Microsoft has a public listing of their IP address availabile.

View the Exchange Online Protection IP Addresses at http://technet.microsoft.com/en-us/library/dn163583(v=exchg.150).aspx.

Check to see if you are on any blacklists by entering your public IP address with MX Toolbox at  or Black List Alert at .

Read this article from Pinpointe.com which provides details on how to get removed from a Microsoft blacklist at or this article from Spiceworks.com. Continue reading

Troubleshooting Failed Emails Using Office 365 Message Trace

I recetnly had an email coming to Office 365 fail and the user recieved the following message.

Delivery has failed to these recipients or distribution lists:

Your message wasn’t delivered because of security policies. Microsoft Exchange will not try to redeliver this message for you. Please provide the following diagnostic text to your system administrator.

By using the Message Trace feature in 365 you can search for all failed items to get details about the failed messages. In this case, the action “Reject message” referenced a Transport rule called by it’s ID number.

Continue reading

How to Delete an Office 365 Mailbox but Not the Local Active Directory User When Using Dirsync

We recently had a user with various Outlook issues and wanted to verify that there was not any corruption in the mailbox. We had tried creating new profiles and even different computers but this had not helped.

We wanted to give the user a 100% clean fresh new mailbox but did not want to delete the user in Active Directory. We wanted to delete and then re-create the user’s mailbox in Office 365 without deleting the user in our local Active Directory. We use directory sync (Dirsync) with password sync.


A warning message we received along the way

Continue reading

Duplicate contacts on iPads and iPhones from Exchange Server (Office 365)

Since moving to Office 365 I have seen a couple of instances where contacts are multiplying like rabbits. The only thing that I can find that seems to trigger it is searching for contacts on the mobile device (iPhones and iPads in particular).

I found many others with the same issue on Apple’s support site (https://discussions.apple.com/thread/3643364?start=45&tstart=0) and on Microsoft’s support site (http://community.office365.com/en-us/forums/160/t/23765.aspx) with no good way to resolve the issue.

I found that by removing all contacts on both the iPhone and iPad at the same time and then re-syncing the contacts that helps to stop it from continuing (for now), however you are still stuck with many duplicates in Outlook/Exchange. I found this great (free) addin for Outlook called “Outlook Duplicate Items Remover 1.4.4” that works great! Check it out at http://www.vaita.com/ODIR.asp and get rid of your duplicates.

Hope this helps!

Office 365 Setup Tips for Outlook and Mobile Devices

I was having a lot of trouble getting my Office 365 account setup in Outlook and on mobile until I found these tips. Note that at the time I did not have the settings setup to autodiscover. If you don’t have autodiscover turned on properly then you will definitely need this as help.

Check out the post at http://y0av.wordpress.com/2011/08/31/configure-outlook-for-office-365-manually/. When setting up the account as “Exchange” on mobile try using just “*****.outlook.com” and not adding the “mailbox” part if it does not work with “mailbox” in there.

Basically you just go to “Help > About” and then use the “Hostname” or “Host address” as the Exchange server.

Here is a pdf of the site linked to above in case it ever goes down.

Windows Powershell for Office 365 Error “cannot be loaded because the execution of scripts is disabled on this system…”

I wanted to repost this great info from http://www.java-samples.com/sho
wtutorial.php?tutorialid=1558 because it was hard to find.

When running the command “Import-PSSession $Session” it would return the error message below.

…cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details. then follow these steps to resolve it.

To resolve this, first check the current policy and then change it to unrestricted.

1. Check policy with the command:


2. If it returns “Restricted”, then change it to unrestricted with the command

Set-Executionpolicy -ExecutionPolicy Unrestricted

3. Boom, works now.