Archive for the ‘Tutorial’ Category

Fix CLS Send or MAPI Error in Email

Friday, March 13th, 2009

In Window/System {or Windows\System32}, rename the Mapi32.dll file, and then start the Fixmapi.exe program by:

1. Close all programs.
2. Click Start, and then click Search.
3. Click All files and folders.
4. In the All or part of the file name box, type mapi32.dll, and then click Search.
5 When the search process is complete, right-click the mapi32.dll file in Windows\System {or Windows\System32}, and then click Rename. (Note: if mapi is in memory, you will not be able to rename it. Click Ctrl-Alt-Delete and End Task on mapiisp32. Verify it’s not running before trying to rename it.)
6. Type Mapi32.old, and then press ENTER.
7. click Start a new search, and then click All files and folders.
8. In the All or part of the file name box, type fixmapi.exe, and then click Search.
9 When the search process is complete, double-click Fixmapi.exe to start the repair process.
10. Follow the on-screen instructions to complete the MAPI repair process for Outlook.

Microsoft Outlook 2007 Logo - Icon

Microsoft Outlook 2007 Logo - Icon

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks

Windows XP SP3 Sysprep – Copy User Profile

Friday, March 13th, 2009

The line below needs to be added to the unattended section in the sysprep.inf file. The Unattended section should look like the following below.

[Unattended]
InstallFilesPath=C:\sysprep\i386
UpdateServerProfileDirectory=1

This will make sure the administrator profile is copied over to the default profile for ever user.

Windows XP Logo

Windows XP Logo

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks

Java 1.6.0.12 .msi package for distribution

Thursday, February 19th, 2009

Last msi package I tested today was Java. They also offer the msi package on their website. First you need to download their “offline installation” executable here. Then run the executable but don’t go through any additional prompts. Navigate to LocalAppData folder (the user’s Application Data folder). The location of the LocalAppData folder differs for each Windows platform.

* Windows Vista: C:\Users\\AppData\LocalLow\Sun\Java\jre1.6.0_12
* Windows XP: C:\Documents and Settings\\Local Settings\Application Data
* Windows 2000 C:\Documents and Settings\\Application Data

Copy the contents out of that folder to where you are keeping your msi distribution packages. The folder should look like the picture below without the install.bat which is my batch file.

Java Directory Contents

Java Directory Contents

Here is the command I used for a quiet install for multiple users:

msiexec /i "jre1.6.0_12.msi" SETMULTIUSER=1 /qb"

Works fine for multiple users under windows 2000, XP, and Vista. More MSI package instructions coming tomorrow along with some tutorials on ImageX/Sysprep for Vista.

Java 1.6 Logo

Java 1.6 Logo

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks

Adobe Reader 9.0 .msi package for distribution

Thursday, February 19th, 2009

Adobe actually offers their .msi through their website. You have to sign up to be a distributor here and it takes them a few minutes to confirm your verification email. They email you a temporary link which contains a download package. You can read further here about how to extract the .msi package from the Adobe download.

Once you have the .msi and .cab files, etc., in a directory I then used this command. This is the same command as used with the Firefox package.

msiexec /i "AcroRead.msi" SETMULTIUSER=1 /qb"

Adobe Reader 9.0 .msi package

Adobe Reader 9.0 .msi package

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks

Mozilla Firefox 3.0.6 .msi package for distribution

Thursday, February 19th, 2009

First app I was trying to repackage was Mozilla Firefox version 3.0.6. After several unsuccessful attempts I discovered that FrontMotion already repackages Mozilla Firefox into msi packages and distributes them on their site.

I have been having a hard time with the repackager on AdminStudio when it comes to multiple users. With ALLUSERS=1 this is suppose to do a Per-Machine install which means that it points to the install location. But the MSI’s have been trying to repair themselves from the first install location when new users launch them for the first time. I want to be able to remove the MSI’s from the machine after install.

This is the command I am using to do a quiet install for multiple users and it works successfully. I tested under multiple accounts on XP VM and Vista workstation.

msiexec /i "Firefox-3.0.6-en-US.msi" SETMULTIUSER=1 /qb"

I am the student manager for the IT department at Walla Walla University and so we do a lot of re-imaging, formatting student’s computers, faculty, staff, etc. It is very nice once you have a few .msi packages you can write a simple batch script that once executed will do a silent install of all the apps and once finished launch Windows Updates. This can literally save you hours per machine.

Firefox 3 Logo

Firefox 3 Logo

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks

Show Hidden Files in Mac OS X Finder

Friday, February 6th, 2009

I recently switched over from PC to Mac and when I was looking through my folders I realized some things were missing. The folders missing all were named with a period coming before the name. The purpose was for them to arrange themselves at the top when folders are arranged alphabetically. However, on a Mac, in OS X a period before the name means that it becomes a hidden folder / file.
Below is the command to show the hidden files in the Mac OS X Finder.

Open up the terminal and type the following commands:

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

Also, to revert back to normal, here is the command:

defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks

SEO – Working with Sitemaps and Robots.txt

Sunday, January 25th, 2009

This weekend I have been working a lot with sitemaps and the infamous robots.txt file. I have been trying to increase the SEO I am doing on my site as well as my client’s sites. A great little app that will automatically build your sitemap and upload it via FTP is called GSiteCrawler. This free piece of software will save you a lot of time from building a sitemap file yourself.

Gsitecrawler Application - Sitemaps

Gsitecrawler Application - Sitemaps

Also, if you have a website and are trying to increase your search engine ranking, there are another two things you need to do. First, you need to create a robots.txt file so that search engines can crawl your site. A general robots.txt file which allows a search engine to crawl through everything would look like this:

User-Agent: *
Allow: /

Some handy tools for this are Google’s Webmaster Tools.
And of course, you will want to submit your site to search engines. This combined with the crawling .txt are bound to increase your rankings and traffic. Some good sites for this are http://www.submitexpress.com and http://freewebsubmission.com/.

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks

Batch Script – Backup folder over network

Monday, January 19th, 2009

Here is a batch script I use to make a backup of my laptop. I have it backing up multiple folders, but here is example of backing up a laptop folder (My Thunderbird Profile) to a networked computer share. Will work both ways.

for /f “tokens=2-4 delims=/ ” %%g in (‘date /t’) do (
set mm=%%g
set dd=%%h
set yy=%%i
)

if exist “\\IPADDESS\c$\Users\Administrator\Documents\My Laptop Backups\%mm%-%dd%-%yy%” (
rd /S /Q “\\IPADDRESS\c$\Users\Administrator\Documents\My Laptop Backups\%mm%-%dd%-%yy%”
)

xcopy “C:\Users\Administrator\AppData\Roaming\Thunderbird\Profiles”
“\\IPADDRESS\c$\Users\Administrator\Documents\My Laptop Backups\%mm%-%dd%-%yy%” /s /i

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks

#4 Guaranteed Steps to keep your PC running fast….

Sunday, January 18th, 2009

I have been working in an IT environment since high school and so I have learned a few tricks. Below are steps that if you follow and maintain them your PC is guaranteed to stay at tip top shape and will never slow down. I never leave the house without the following small applications on my flash drive. All of the applications below work on all OS versions including Vista x64.

#1 – Download and run CCleaner from http://www.filehippo.com/download_ccleaner/. This small (2.51MB) freeware application works wonders. I run it multiple times per day, but that is just because I am obsessive. If ran once a week, you would be fine. After downloading and installing there are two things you will want to do. First, run the cleaner and second, scan for issues in the registry. Depending on how old your computer is and the amount of time since you have cleaned it up, CCleaner might take up to 20 minutes to finish. Normal scan and clean is around 30 seconds if preformed regularly. I have seen this little application remove up to 20GB, yes 20GB!!, which is just absolutely amazing.

#2 – Second, download this small (0.98MB) free application SmitFraud Fix from here http://siri.urz.free.fr/Fix/SmitfraudFix.exe. This program runs directly from the .exe and starts in DOS. Once running, select #2 for clean (safe mode). It will shut down all of the unneeded processes including the explorer. Also, a little weird thing is that it removes your wallpaper. Other than that, wait for it to scan and then select “Y” to clean the registry. After that your explorer will start back up and you can close SmitFraudFix. This tool has worked wonders for me. This is mainly used to remove any unwanted spyware. I have thrown Spysweeper, Spybot, etc. at certain spyware and this is the only tool that always works.

#3 – A classic and yet still useful tool. Go to your start menu, applications, system tools, and run the disk defragmenter.

#4 – Right click on “My Computer” icon and click the advanced tab. Go to the performance options “settings” tab and unselect every option except for the last two. These last two are the only two that you will notice and so you will want to leave them on.

If you run through these 4 steps, and keep repeating steps #1-3 at least once a week, your PC will keep running at its finest, I promise you.

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Google Bookmarks