Tuesday, September 30, 2008

Linux - use find along with cp to copy specific files by date

The reason this came up is because someone I work with was trying to copy specific files from one folder to another, but only if they were created today. He tried using grep and didn't have any luck. I'm not saying you can't use grep, but I figured it out using find instead because it seemed to allow you to use more parameters. The trick is using the find command as your first argument in the cp command. Here's the example:

cp `find filename*.txt -mtime -1` /home/common/files

This will take any files from the current directory that are like filename.txt (e.g filename99.txt, filename130fff.txt, etc), AND that have been modified in the last 24 hours ( number x 24 hours. e.g. use 2 for 48 hrs, 3 for 72 hrs, etc.), and copy them to the directory /home/common/files. You could change mtime argument to mmin instead, and then the number following would be the number of minutes in the past the file would've been modified, which in this case would be 1 minute. In the find command, you can use a full file path as well so you don't have to start the command from within a particular folder. Hopefully that has enough information to at least get you started. To find more parameters for commands, use the man pages in Linux ("man find" or "man cp") to list them. You can always search Google too, which is what I usually do, and you may find some helpful examples. Here is the link to the page that pointed me in the right direction in regards to using find with date/time parameters: http://www.linux.ie/newusers/beginners-linux-guide/find.php

Load pantone colors in Adobe Creative Suites 3

I haven't tried this, but was asked about it today and found this in the Adobe Forum

1. Inside CS3, go to Windows, then Swatches
2. Click on the options at top right of Swatches
3. Open Swatch library
4. Color books

Original post taken from the Adobe Forums

Hope it helps!

Monday, September 29, 2008

Motorola Good Mobile Messaging (Goodlink) debug mode reprovision

This is only for Palm Treo 650's and 750's. The 650's are a little dated, but there may still be others using them since I have a few users still. If you run into problems using Good Mobile Messaging on the devices, you can reprovision your device to try to fix the synchronization problem. To do this, do the following:

Open the GoodLauncher. It is the standard Good icon that will give you the menu of the Good applications you have installed on the phone.

Once GoodLauncher has started

a) If you're on a Treo 650, on your keypad, type "debug"
b) On the Treo 750, you have to type "000debug" where the first three are zeros

This should put you into the Good debugger. In order to reprovision your device, type "reprov" and press Enter. Enter is the return key, and has the symbol that looks like an arrow going down and to the left.

You will then be prompted and asked if you wish to delete all data. Here you'll want to type "y" and press Enter. I know this sounds scary, but by "all data", it really only means all Good data. Any other files on your phone will stay as is. It just needs to delete all the Good application data before reloading it

Your phone will probably restart, and then reprovision your device with the Good server. Once it's done, your email, contacts, calendar, etc will resynchronize and you'll be back to work within Good. I've used this multiple times and the nice thing is that you don't have to request a new PIN from your Good administrator. If you're looking for instructions for other mobile devices, sorry, I don't have them. However, if you check out Good's support site you may be able to track some down for your particular device.

Friday, September 26, 2008

Black box printing instead of image in Word

If you're trying to print a Microsoft Word document that has images in it, but those images are printing out as black boxes instead, it could be caused by a couple of things. The first to check would be to make sure you're allowing drawing objects to be printer. To do this, go to Tools->Options, then select Print and see if Draft mode is checked. If it is, uncheck that box. Also make sure "Drawing Objects" is checked.

Another possibility could be outdated printer drivers. Most printer manufacturers release new drivers on a regular basis, so anytime you're having printer problems, that's a good place to start. Go to your printer manufacturers webpage and search for your printer model. Usually the driver downloads are located within the manufacturers support pages. Find the driver compatible with your printer and whatever system you're using, download, install, and then try printing again.

Default location of Microsoft Outlook pst files

If you're an Microsoft Outlook user, but aren't using a Microsoft Exchange server, then you know how important pst files are. However, you may not know where they are on your machine. This is important for backup reasons, and also in case you ever need to move them to a new computer. They are stored in different locations, depending on which version of Windows you're using. They're also hidden from view, unless you explicitly select to show hidden files.

First off, you need to show hidden files. You can do this by going to My Computer->Tools->Folder Options, and then go to View and select Show hidden files and folders. Now, the location depends on your OS.

If you're running Windows XP, the default pst file location is:
C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Outlook
where username needs to be replaced with your username on the computer.

If you're a Windows Vista user, then you can find the pst file(s) at
C:\Users\username\AppData\Local\Microsoft\Outlook

You can always select a different location for the pst when you first create it, but if you don't remember where you put it then it's most likely in the default location. For information regarding nk2 files, which are responsible for saving your auto-fill lists, refer to my earlier post. Those locations are also the default locations for ost files that are used when you have an Microsoft Exchange account setup. You don't have to worry about those though because as long as your email resides on the Exchange server, you'll have a backup of it there.

Send or transfer large files - for FREE

If you've ever run up against problems with email limits when trying to send files to someone, or you don't have any idea what FTP is, then this will probably help you. There are many services out there that allow you to upload files to their system, then send an email with a link to those files so someone else can download them. This helps you avoid having to attach the files to an email, and really is no different to the end user than downloading something from a webpage. There are two such services that I'll mention here; the first being SendSpace, and the second is YouSendIt. Personally, I've only used each once, but I recommend SendSpace. You can transfer up to 300MB in a single session, and there is no account creation necessary. It has worked fine when I've used it too. YouSendIt works as well, but you're limited to transfers of 100MB or less. Either way will work, and will provide a better alternative than trying to email large files to someone, especially if that someone is really a large group of people.

Thursday, September 25, 2008

Windows Vista error during install, must be system administrator

For any of you who run across this problem and don't understand it because you know you're the computer's administrator, don't worry. It's one of the Vista security features. You are the administrator, however, unless you explicitly select to run the program as the administrator, you only have standard permissions. This keeps malicious programs from running under your user admin account because technically they don't have the permissions to do so. If you have the file downloaded already and are having problems when you double-click on it to run it, instead of double-clicking the install file, right-click and go to Run As Administrator (should be second thing from the top). That should help. If you're installing from a CD, you should be able to do the same thing to the CD icon. Otherwise you may have to right-click, choose Explore, then find the installer program on the CD and run that as administrator. Hopefully this helps.

Wednesday, September 24, 2008

Compress and resize images - for FREE!

If you're looking to send images in an email, or just upload to some sites, you may run into a problem because of the size of the files. This is because most digital cameras now come with enough megapixels to create a high-res image, and that's what they default to. When you put the images on your computer, it's not surprising to see sizes of 2 or more MB. Resizing the images isn't always the easiest, and trying to make the file size smaller isn't much fun either. When I say compress, I don't mean add it to a zip file either. I mean to change the picture's resolution so the quality is a little lower, which will in turn drive the over all file size down.

Axiom's PicSizer application is a free tool that will do just that for you. At the time of this post, the Axiom website appears to be unavailable, so an alternative download link can be found at MajorGeeks.com. This freebie will allow you to resize/compress a single image, or it will also process an entire folder of images. I've used it and recommended it in the past to multiple people, and it's worked great every time. It's as simple as loading the image, then selecting save, reducing the quality slider, and clicking OK.

Tuesday, September 23, 2008

Automatically create Outlook signature using Active Directory info

I can't take credit for this, but I've used it and it works pretty slick. It is a VB script file (VBS) that can be modified to your needs, and it will create a signature for Outlook 2003 or 2007 by using information it gets from Active Directory. You do need to have an understanding of HTML and probably a little coding (primarily VB) experience, but it's really not that difficult. All the hard stuff has been taken care of and you can focus on customizing the actual signature.

Here's the first post that contains the actual script: http://bradmarsh.wordpress.com/2008/02/18/ad-based-outlook-email-signature-for-2003-and-2007/

And here's the second post with more information on how to implement it: http://bradmarsh.wordpress.com/2008/05/14/ad-based-outlook-email-signature-for-2003-and-2007-continued/

The easiest way, if you don't know what you're doing, is to run the script and see what it does initially. Be aware that this script erases all signatures you already have each time it is run, primarily because it's meant as more of an administrative tool to force a specific signature upon users. I'm sure you can change that feature, but I didn't bother doing it myself because I didn't care. Once you see the output, then you can find where the information is being compiled within the script and reconfigure it to output what you want it to. Good luck!

Outlook email address auto-fill storage file (nk2) location

I've noticed a few people landing on my blog using search terms that involved finding the nk2 file for Outlook, so I thought I'd post the answer for you. First off, it's hidden, so you need to start by showing hidden files and folders on your computer. You can accomplish this the same way in both XP and Vista:

Open up My Computer, then go to Tools->Folder Options (you may need to press the Alt button in Vista to get the Tools menu to show up). Then go to the View tab, then under Hidden Files and Folders, select "Show hidden files and folders".

Now you can go to the nk2 file, which is in different locations in each OS (Vista and XP)

For XP, you can find it at C:\Documents and Settings\"username"\Application Data\Microsoft\Outlook\

In Vista, it's at C:\Users\"username"\AppData\Roaming\Microsoft\Outlook

If you have multiple nk2 files, it's because you have multiple Outlook profiles. The nk2 for each profile will be named the same as the profile. If you're moving the nk2 file to a different machine, make sure that after you copy it to the new location, you rename the copied nk2 file so it is named the same as the new profile as Outlook relies on that naming convention in order to open and use the nk2 file with a certain profile. The default profile name is Outlook. For the Microsoft instructions, check out this page.

Monday, September 22, 2008

Palm Treo 750 activate/deactivate call forwarding

For the Palm Treo 750 (at least the AT&T/Cingular model) you can find the settings by going to Start->Settings->Phone->Services, then Call Forwarding. That's where you can set the call forwarding to on or off, and also assign the number that the calls are forwarded to while it is turned on.

Invalid drive letter error during installation in Windows

I've ran across this before, but until today I knew why it was happening. It turns out the problem today was the same cause as the others, but I'm not sure why it had ever changed. Anyway, when you try installing a program, you may get an error saying something like "Invalid drive K:\". The cause of this error is the system registry trying to redirect one of your document folders (My Documents, My Pictures, etc) to an invalid location. I ran into this problem with Vista as well, when I had my My Documents folder redirected to our server in order to have a backup of my files. Once I went back to working locally, the problem disappeared.

There are two ways to fix this. One is to change back the redirection, assuming you know what is being directed. You could check your documents folders by right-clicking them and checking the properties, but that's kind of a hassle.

Another option would be to edit the registry key(s) for your document folders so they're not incorrect. However, proceed with caution because the registry is a dangerous place if you aren't familiar with it. Any incorrect changes hava the potential to make your computer useless, so be careful. You can start the registry editor by going to Start->Run, then type regedit and press enter. I searched the registry for the drive it was showing, so in my case, I searched for "K:\" by going to Edit->Find. There I found that the My Pictures folder was pointing to a path of "K:\My Pictures", which doesn't exist because I have no K drive. I changed this back to the default of "%USERPROFILE%\My Pictures" and everything went back to normal. You may want to go to Edit->Find Next just to make sure that all the incorrect entries are gone before assuming it's fixed. In my case, I only had one incorrect entry, but it would be possible to have more. If you'd rather skip the find and jump right to a registry key responsible for the document location settings, go to MyComputer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders within regedit. Remember, modify the registry at your own risk. You could always back it up first by going to File->Export, and then saving a copy somewhere on your machine

Sunday, September 21, 2008

Reset or recover Windows Administrator password

First off, this post is not meant to promote hacking in any way. Please use this information only if you legitimately need to recover an administrator password for a Windows computer that you own or are responsible for managing. If you're looking for information regarding resetting or recovering an admin password for Mac OS X, check out my other post. I know this works for Windows XP Home and Professional because I've used it multiple times. I believe it is supposed to work for Windows Vista as well, but I've never tried it so you'd have to test it at your own risk. One thing I do know is that if you try to modify the administrator password on a disk that is encrypted, all files will be unreadable until you return the password to the original as that's the only entry that will decrypt those files, so keep that in mind as well.

Ok, for starters, you're going to need to download the Ultimate Boot CD, which you can get here. You can then use the download to burn to a CD, which will create a bootable CD with a lot of useful programs you can use on the computer in question. I've used the UBCD numerous times to reset passwords or perform other maintenance.

Once you've downloaded the CD files, and burned the downloaded image to a CD, the next step is to insert the CD in the computer and turn it on. You'll need to make sure it boots from the CD. Most computers will by default. Otherwise you may have to try to figure out how to get into the BIOS to change the boot order, or look for a key to press to activate a one-time boot menu option, where you'd want to choose the CD-ROM drive.

After you get the UBCD loaded and running, you need to go to Filesystem Tools->NTFS Tools->Offline NT Password & Registry Editor. That is the program you'll need to run in order to modify the administrator password. Highlight it, press Enter, then follow the prompts.

When the NT Password Editor has loaded, read the prompts. Typically the default in [ ] is what you want, and if it is, just hit Enter to get to the next prompt. Once you get to where you can reset the password to what you want, the easiest thing to do is just use *, which means to blank the password out. Then use !, then q to quit. When asked if you want to save, be sure to use y to signify yes, otherwise the password will not be changed. You will then get a success/failure message. If it was successful, you can eject the CD and restart the computer. If it fails, feel free to try again, however it's more than likely that it won't work.

Once the computer has rebooted, let it go to the normal Windows login screen. Here you'll want to sign in with administrator (or whatever user account you reset) and leave the password field empty (or enter whatever you changed it to if you didn't blank it). If the computer was on a domain, make sure it's set to login locally. You can't reset domain accounts using this method, as they're stored in Active Directory and would need to be changed on a domain controller by a system administrator. Once logged in, you can go and reset the password to whatever you want, and reset whatever other account passwords you need to change.

This process is surprisingly simple, and pretty scary. Being so simple means that almost anyone could download the UBCD and break into your computer to get your files. In order to protect yourself, there are a few things you could do. The easiest would be to go into your BIOS and set three things: BIOS password, Hard drive password, and boot order to boot from the hard drive first. Setting those three things would render the UBCD useless. You could always go back into the BIOS and clear those settings so it goes back to normal if you don't like it that way. Setting the hard drive password also eliminates the possibility that you could put the drive in another computer to read the information from, which can be done otherwise without any need for an administrator password. Trust me, I used to work for a data recovery company and I bet that a lot of people don't even realize how easy it would be for someone to walk in and steal all the data from their computer without knowing any password for it. That's why I recommend those three BIOS settings, because they practically eliminate that possibility. The way I look at it is if they can get past those three, then they deserve to have my data

The creator of the Offline NT Password & Registry editor tool has his own instructions for using the tool to reset the password, so if mine were confusing or not thorough enough, feel free to check his page here.

Free virus protection for your computer

If you're looking for an antivirus for your Windows computer, but don't want to spend money on Norton or Mcafee to only get a year of protection, here are two free alternatives that seem to work just as well.

AVG offers an antivirus program called AVG Free, which you can download and use for free on your personal machine(s). I've used it for a few years and haven't had any virus problems, and would say it's comparable to any of the others you pay for. There is no account sign-up or anything like that, just download and run.

Avast! also offers a free antivirus program for personal use. I've only actually used this once for someone else's machine, and it appeared to actually have a few bonus features compared to AVG Free, but since I already had a good history with AVG Free I didn't bother changing. It did the job though and cleaned that person's computer, which was really infected with viruses when I started. You do have to create an account, and that grants you a 1-year license for free use. At the end of the year, you can renew and get another year free, and then continue that process each year to continue your free usage.

Don't forget to use spyware/adware protection alongside your antivirus software. You can check my previous entries to find information regarding free software that will work for you.

Friday, September 19, 2008

Open new Microsoft Office documents on a Mac

One boneheaded move that Microsoft made when they released Office 2007 and Office 2008 Mac was not being ready for those on a Mac who would need to open their new file formats. That issue has finally been resolved though, and they have released the updates necessary to do it. If you're running Office 2004 Mac and have been waiting, you can get the updates by opening one of the Office programs, then going to Help->Updates. You'll want to continue searching, downloading, and installing until you've got past at least 11.5.0 (11.5.1 is the most current right now). After that, you'll also need to download and install the Open XML Converter for Mac, which will allow you to convert the docx and xlsx files into something readable by Office 2004.

The funny part of this whole thing is that even though Microsoft made the change, they didn't update the rest of their software to work with their changes. However, OpenOffice.org's free suite of Office alternatives has worked with the Open XML file formats for a while (on both Windows and Mac). It's odd that a third-party can update their software more quickly than the actual developer, but that's a topic for another day...

Open new Microsoft Office documents in Windows

I just realized that some of you may still be having problems opening the new Office documents in Windows too, so I thought I'd add a follow-up. This issue is address in an automatic update for Office from Microsoft Update (not to be confused with Windows Update). You can also download the compatibility package direct from Microsoft here. Once installed, you'll be able to open those pesky Open XML documents (docx, xlsx, etc) that come with Office 2007, and can stop asking the creator to save them down to the previous format for you.

Wednesday, September 17, 2008

Symantec Backup Exec backup to disk problems

I've used Backup Exec 10, 11, and 12, and have had a similar problem with backup-to-disk jobs in each. In version 10 I couldn't get them to work at all. Version 11 had problems with the agent either crashing, or the job getting hung. I figured out a fix (see below) for the problem, but didn't talk to support since I was able to get it working. Then I upgraded to Backup Exec 12 and everything went out the window. I felt like it was actually a downgrade because version 11 had been working well, and post-upgrade I couldn't finish any backup-to-disk jobs without a remote agent either crashing or getting stuck.

Here's a little background on my setup. I have 4 different Backup Exec installations, all running a mixture of differential and full backups. One is for an Exchange server and it works great. I'd highly recommend version 12 for this because it allows you to backup the information store only, rather than both the information store and individual mailboxes, and you can still restore individual messages. Another is for a set of Windows server with SQL, and that setup works well too. The other two are for a mix of Mac and Windows servers, and that's where the problem lies. The Mac agent seems to like to crash or get hung up during a backup to disk. Backing up to tape usually works fine, but that's not always convenient. I'd have to remember to check the backup jobs now and then in order to restart the agent, or kill the current job and restart the Backup Exec services. It was definitely a hassle, especially since version 11 had been working pretty seamlessly.

One of my installs just started to work, mostly. I don't know if there was an update that solved a problem it had, but all of a sudden the backup jobs were finishing and I was able to live with it. It was after that when I upgraded the other installation (that had been a fresh install of 12) that was running version 11. After the upgrade, the backups had a really hard time completely. After dealing with it for 2-3 weeks, it started getting better, just like the previous install. However, it still wasn't working well enough to just accept it, so I contacted support. After dealing with them for a few weeks, and going through what seemed like a new tech each day, I remembered what I had to do to fix the version 11 install. That fix was to map the backup-to-disk folder on the Windows server running Backup Exec, otherwise the connection to the backup-to-disk folder would drop mid-backup. I did that and version 12 started working much better. When I asked the Symantec tech why their software required that you map a drive, even though the application forced you to use a UNC path and didn't say anything about mapping drives, he had no answer. He also didn't offer any information as to whether it was a bug they were working on, or if others had run across the same problem.

If you're having a Backup Exec remote agent crash or get stuck, hopefully you run across this post and it helps you out. The trick seems to be mapping a drive to your backup-to-disk folder on the Windows server running Backup Exec. I couldn't tell you why it works, but it definitely seems to help.

Tuesday, September 16, 2008

Remove, clear, or disable autofill addresses from Entourage

The entry about removing addresses from Outlook's auto-fill appears to have been popular, so I thought I'd follow it up with one for Entourage.

1. Select New as if you were going to create a new email message
2. In the new message, start typing the email address you want to remove. Since it's in your auto-fill list, you should be able to find it
3. Hold CTRL and click the address you want to remove
4. In the menu that pops up, select Add to Address Book
5. Now an address card should pop-up with the information for that email address. At this point, simply delete that card. To delete, click on the trash can icon with the red 'x'
6. You can discard changes when you exit

It seems odd that you have to add a contact to your address book in order to remove it, but technically you never really do. I know this works and has been used by a few Mac users I'm responsible for. If you're stuck with an email address that you don't want showing up in your auto-fill list anymore, this will definitely help you get rid of it. You can find the official Microsoft information in KB 280299


If you want to completely clear the list, you can do so by going to Entourage->Preferences, then to Mail & News Preferences and under the Compose heading you'll see Recent Addresses. You can click the button to completely clear the list there. Or if you want completely disable the autofill feature, you can uncheck the box there that says "Display a list..."

Show more emails on your iPhone

If you like having most of your emails accessible on your mobile device, the iPhone's default settings may be an issue for you. The defaults are set to show 50 messages, and only the last 3 days worth of email. You can change these if you'd like:

1. Go into Settings->Mail, Contacts, Calendar.
2. Under the Mail heading, you'll find Show. Here's where it lists the option of how many messages to show from your email account. Select the number you want (max is 200).
3. While still in Mail, Contacts, Calendar, at the top you'll see the Accounts heading. Choose the account you want to change
4. Just above the Delete Account button is where you'll find "Mail days to sync". Change this setting to allow your messages from more than 3 days to synchronize with your phone. There is an option for No Limit if you'd rather just rely on your setting from step #2.

Installing Sun's Java for your web browser

Usually going to www.sun.com and into their downloads section works fine to find Java for your browser, but every now and then the installation will get halfway through and throw and error because it can't reach one of Sun's servers to download the next step of the install. If you have that problem, there's an offline installation file you can use instead. Scroll down and you'll see both online and offline links. Use the offline link and go ahead with your Java install. This way the installation will have all the files necessary, and you won't have to worry about it having communication problems with Sun's servers mid-install.

Outlook freezes on reply with "Starting Word as your email editor"

If you run into this problem when replying or forwarding messages, it's most likely because Word is still running in the background because of some issue you had earlier. You can either open your task manager and look under the processes tab for "winword.exe", or you can use the Outlook email editor instead. If you choose to look in the task manager and happen to find one or more winword.exe processes running, you'll want to end each of them. In order to make it simpler on yourself, make sure you don't have Word or any email messages open, as each of them will register a winword.exe process. You're only looking to close the background processes that shouldn't still be running, which is why you should close any others that may create a false background process.

If you'd rather not mess with using Word, in Outlook, go to Tools->Options->Mail Format, and uncheck the box that says "Use Microsoft Word as the default email editor". This will default your email editor to Outlook's built-in editor. However, you do lose a lot of different features when you do this, so you may not want to use this options. You can try it, and if at any point you'd rather got back to Word, simply go back in and check that box again.

Monday, September 15, 2008

Remote control your Windows or Mac computer, for FREE!

If you've ever wished you had access to a computer that is somewhere else, but haven't had a way to do it, here's your answer. www.logmein.com offers plenty of paid services for remote support/access, but they also offer logmein Free, which I use a lot. It provides a web interface for organizing your LogMeIn accessible computers, plenty of security, and practicaly no additional configuration needed other than installation. There's no need to change your firewall, and I've used it with success on Windows XP, Vista, Server 2003, and OS X 10.3 and 10.4. If you do any remote support, or just need access to your machine when you're away, I highly recommend checking it out. Another nice thing is that it will log you on to the console session, so if you're connecting to a terminal server, you can access it as if you're standing right in front of it. That has come in handy a few times for me.

If you're looking to access someone else's machine to help support them, but don't want to give out your logmein user account info, or create a secondary account, there's another solution out there. www.crossloop.com is my backup for accessing machines remotely. All the user needs to do is download and install the program, then provide you with the 12 digit access code. This provides minimal setup, and can serve as more of a one-time use application. I prefer LogMeIn, and it does work better, but for those times where you just want quick access without any accounts, I tend to use CrossLoop. It's based on the popular VNC remote control protocol.

How to sync your iPhone Notes - you can't

The short answer is you can't. I was able to find a few workarounds, but they involved purchasing software and even then it still looked like a hassle. Instead, I'm going to provide you with a few options, and assume that you're using an email account with your phone.

1. Create the note on your iPhone, then email it to yourself and copy it into your note-taking application on your computer. If you go into your note, there is a mail icon at the bottom, which is how you email it to someone. This isn't the greatest idea, but it will work.

2. Create a new contact, and use that for your note. That way your "contact" will sync with your email account and you'll be able to reference it later on. The downside of this is that you'll have to keep up with managing your notes or else your address book will be a huge mess.

3. If your email account synchronizes your drafts, create the note as a draft. That way it will synchronize back to your email, and you'll have a copy of the note that way. While this sounds like the best idea, I tried it on my iPhone which uses the Exchange sync. It didn't work, so you'd have to try it for yourself and see what happens.

That's it. For those of you who rely on Notes and would like them to synchronize with your computer, good luck to you. Hopefully Apple will figure that out and release it in an update sometime soon. I've gotten used to just emailing myself instead, but will admit that it would definitely be nice to have the capability of synchronized Notes.

Sunday, September 14, 2008

Recover deleted files, even after emptying recycle bin

If you've ever deleted file, then emptied the recycle bin only to realize you needed something you just deleted, this will help you avoid that gut-wrenching feeling you get. Piriform's Recuva is a free tool that will help you recover those files that you've deleted. It runs on Windows Vista, XP, 2003, 2000, and 98.

If you happen to try Recuva and it doesn't find what you're looking for, another option is Active@ UNDELETE. It'll cost you $40, but I used it with a pretty good success rate prior to running across Recuva. I believe they offer a free demo, which you can use to scan your computer to see if the file(s) you want are recoverable, and if they are, you can spend the money on the full version to get them back. If they're not recoverable, you'll know before spending anything on the full version.

If you do accidentally delete something, make sure you attempt recovery as soon as possible. The longer you go without trying to recover, the higher the chance that the operating system will overwrite the file you want to get back. If you don't know how deleting and recovering files works, here is a quick overview. You delete a file and it goes to the recycle bin, which is just a holding tank where the file can stay. Once you empty the recycle bin, the memory space that file existed in goes back into the available pool, but isn't necessarily used right away. That's where the recovery software comes in. It scans the memory and finds those files that still exist and haven't been overwritten yet, which will allow you to restore them. By waiting to recover the file, it gives your computer more time to possibly overwrite that now available memory, which you don't want to have happen.

Speed up your computer - remove adware for FREE!

Update 4/7/2011

This post has been dormant for a while, but I have a few minor updates. To remove adware or spyware from your machine I would suggest a combination of MalwareBytes's Anti-Malware and Spybot Search & DestroyCCleaner works well for removing leftover temporary files, but it doesn't do anything to remove malicious programs. The addition to this list is TDSSKiller, from Kasperky. You can use that to remove some potential root kits, which can cause all kinds of problems. Best of all, they're all still FREE for you to use.

Update 1/19/09


I ran across a couple of machines with some pretty nasty Vundo/Virtumonde infections and didn't have much luck with SuperAntiSpyware or Spybot. I've heard others recommend MalwareBytes's Anti-Malware, but had never used it. I finally gave it a try and it seemed to work pretty well. I'm still stuck on one file, but between SAS, Spybot, and MBAM, I've been able to eliminate almost all the malicious programs. 

Original Post

Adware, spyware, viruses, and trojans are all programs you don't want on your computer. Sometimes they're hidden and you never know they're there, and other times you actually install them yourself without realizing it because they're bundled with some type of legitimate software and you didn't both unchecking the box for the optional install. No matter how it gets on your computer, it's still annoying and can really test your patience when working on your computer. Most people have become aware of this problem, but a lot of them still don't know what to do if they happen to have this installed. There's a lot more information that what I'm going to type in this entry, but it'll be a decent starting point for those of you who don't know where to begin. All of the software I'm going to list is free to download. Some of them may accept donations, or have versions you can pay for, so if you like the program or it helps you out, feel free to help out the software developer so they can continue providing great freebies for us.

First off, if you don't have any malicious programs installed, make sure you're protected so you never get any. Javacool's SpywareBlaster and Spybot Search & Destroy both work to prevent spyware in the first place. I use a combination of both. SpywareBlaster needs to be updated manually every so often in order to stay current with protection, but also offers an inexpensive license that will allow the program to autoupdate. Spybot S&D performs an "immunization" of your computer, which also needs to be manually updated every now and then. One bonus of Spybot is that it also provides scanning and removal service for some malicious software as well.

Two more applications you'll want to install are SuperAntiSpyware and Lavasoft's Ad-aware 2008. These two programs will help you scan and remove any malicious programs you already have installed on your machine. It's best to use a combination of programs because each of them seem to find most, but not all infections. Using a combination increases your chances of finding and removing all infections. SuperAntiSpyware contains an autoupdate feature, and had performed the best for me. Ad-aware has plenty of versions, but the free version is all you really need.

If you're in need of an anti-virus program, check out AVG Free Edition, or Avast!. Both are free and can be used to replace your annual subscription to McAfee or Norton. But make sure you only have ONE anti-virus installed on your machine at any given time. You can have multiple spyware/adware protection programs install, like the ones mentioned above, but you shouldn't install more than one anti-virus. The reason being that conflicts amongst anti-virus programs seem to happen a lot, and I learned that from experience. I had Symantec and McAfee installed without realizing it, and my computer practically grinded to a halt until I went through a lengthy, manual uninstall of both.

One last program you'll probably want is Piriform's CCleaner. It'll help clean your temporary files, and also clean out some other files that you normally wouldn't think of removing.

If you do end up having a really bad software infection, you may need to download these programs from a different computer, then transfer them to the infected machine using a CD, USB drive, etc. One thing you'll want to make sure of when removing spyware/adware is to exit any network connections. Either disable your network adapter(s), or just unplug the cable if you don't have wireless. If you don't, the malicious software may just continually download and reinstall itself, so you'll end up in a continuous loop of removal, scan, remove, scan... When you are scanning, keep repeating the scan until it doesn't find anything, then move to the next program and do the same thing.

Friday, September 12, 2008

Default Font Folders in Mac OS X

Fonts can cause a lot of problems on Macs, so it's a good idea to make sure you know where they are stored. OS X has 3 different, main locations for fonts:

1. System/Library/Fonts
2. Library/Fonts
3. Users/"username"/Library/Fonts

You can find more information about what role each folder plays at Apple's support pages, or here's the direct link

One thing to keep in mind is that the fonts in the Users folder are only available to that specific user. System and Library fonts are shared among all users.

For font management, Linotype offers a free program called FontExplorer X. It provides a free alternative to Extensis's Suitcase product, and is very comparable from what I've heard. Some actually prefer it over Suitcase.

Telnet in Windows Vista Home

Apparently telnet isn't installed by default in Windows Vista, or at least not the Home edition. However, it's pretty easy to solve the problem:


1. Go to Start->Control Panel->Programs and Features
2. Click on "Turn Windows features on or off."
3. Scroll down to "Telnet Client", check that box, and click OK.
4. Confirm the installation in the dialog box that appears and go through with the install

You do not appear to need the Vista install disc in order to install the telnet command, but it may require a reboot of your computer.

I ran into the problem myself, and came across this post.

Uninstall program from Windows Vista

This may seem like an easy thing, but I've found a few people asking questions about it so I thought I'd post the solution I gave them:

1. Click on the Windows icon/Start Button in the lower left hand corner of the screen.
2. In the menu that pops up, you want to choose Control Panel, which will be mid-right
3. You should see an icon for Programs, with categories underneath. One of those is "Uninstall a program". Click on that
4. You will now get a list of all installed programs on your computer. In order to uninstall them, you must first click on the program you want to uninstall, then choose Uninstall from the bar across the top. That will get you to the uninstall wizard.
5. Typically uninstallations are pretty standard, but you'll probably need to click Next or Continue through some prompts.

Thursday, September 11, 2008

Using a USB webcam with Mac OS X

It's kind of a pain to try to find a webcam to use with a Mac computer, or at least that was the problem I ran into. A lot of results showed up, but then either Mac wasn't listed in the specs, or else it just didn't say anything about supported operating systems. For any of you that run into this problem, hopefully this post helps. Macam is out there to help those of us with webcams made for Windows. It's a free, open-source program available at Sourceforge.net, and supports a fairly long list of webcams that are on the market. Macam is also listed in Apple's download pages.

The installation is really simple, like most Mac applications. It also includes support for using your webcam with other applications, such as Skype. I had to get a Mac user setup to use Skype to talk with one of our offices overseas, and ended up installing Macam and using a Logitech QuickCam Pro 5000. It worked like a charm, and supported the built-in microphone as well.

Wednesday, September 10, 2008

Excel spreadsheet not updating from second spreadsheet

If you're looking at a "master" spreadsheet that gets information from other spreadsheets, but the information doesn't look current, it probably isn't. This is because automatic updating via spreadsheet links is disabled by default in Excel. In order to allow the cells in the "master" to update, you need to explicitly allow the updates. To do this:

Excel 2003: When you open the spreadsheet, it will prompt you with a dialog box asking whether to Update or Don’t Update. Make sure you choose Update if the spreadsheet is getting values from another spreadsheet.

Excel 2007: After opening the "master" spreadsheet, you'll see a security warning bar at the top. You'll want to click on “Options…” and then choose "Enable this content". If you want to permanently allow the updating from external links (this is not recommended), you need to click the Office symbol in the top left, then go to Excel Options towards the bottom right of the list. There you go to Trust Center->Trust Center Settings...->External Content and change the security settings for workbook links.

Boot device problems or errors

Have you ever started a computer or device, only to get an error saying there are problems with the boot device? Or even worse, no errors at all but it won't load? If you do run into that, the first thing to do is make sure you don't have anything additional in your computer, which means empty the floppy drive (if you still have one), CD/DVD drive, and make sure any USB memory devices are unplugged (USB jumb drives, portable hard drives, etc).

This is one of those things that most people already know, but the reason I'm posting it is because I actually had this problem with a printer. It's a higher-end Xerox production printer with additional software installed for color matching, but when I turned it back on this morning it wouldn't connect to the network. I called Xerox and they set up a service call, but in the meantime I had 20 people who couldn't print to it. The tech called and walked me through a few things, and one of them was that you could reload the software onto the printer with a USB jump drive. I had already seen that one was plugged into the printer, but had assumed it was a licensing dongle. I mentioned that to her and she was confused, but that ended up being the problem. I pulled the USB jump drive out of the printer, restarted it, and everything worked fine after that. Apparently a Xerox tech left it plugged in the last time they were out to fix something, and forgot to take it when they were done. Then after I restarted the machine, it was trying to boot from that USB drive instead of the main printer itself. I ended up with an 8GB USB jump drive out of the deal though, so I guess it wasn't all bad...

Tuesday, September 9, 2008

Can't edit iPhone calendar with Exchange sync

For any of you iPhone users out there who wanted it to replace your previous PDA, you may have run into this problem too. You may get meeting notifications as invites, instead of notifications. Or you may not be able to edit an appointment that you originally created within Outlook. This appears to be nothing more than a case-sensitivity issue. Here's the Apple support article: http://support.apple.com/kb/TS1865. The default email address on the Exchange server has to match EXACTLY with what you have in your iPhone mail settings. If not, you can change one or the other to fix the problem. However, even after you've changed them to match each other, it doesn't appear to allow you to change any appointments that had been created prior to that. I just tried it myself and was able to edit a new one I created afterwards, but all the previous appointments still show up like invitations.

Here's the original article I ran across that pointed me in the right direction: http://forums.macrumors.com/showthread.php?t=518550

Monday, September 8, 2008

"Extend" the life of your projector bulb

Say you're about to give an important presentation, but when you turn on the projector you get a warning that says your bulb has exceeded it's usable life and you need to replace it. Typically you'll get at least one warning and then it will go back to normal for a while. However, it could shut itself off while the bulb is forced to cool down. This could be a disaster.

Most projectors have a built-in timer in order to track the life of the bulb. The trick to "extend" the life of the bulb is to reset that timer without replacing the bulb. The method to do this will vary depending on the make and model of your projector, so consult the instructions and documentation. I will warn you that the life-timers are there for a reason, and it's best to listen to them. If you're in a bind and really need to get it working though, you can use this trick to buy yourself some time. This can also be used on printers and various other equipment that typically have life-timers on the consumables being used.

The next time you run into something saying you need to replace a part, but you don't have an extra one on hand, give this a try and it just may help you avoid some unhappy users.

Mac OS X boots to a spotlight icon (blue and white magnifying glass) in top right

If you're running a Mac and all of a sudden reboot one day to find that your desktop won't load and all you   get is a Spotlight icon (the blue and white magnifying glass that usually sits in the top right of your window), don't get worried right away. I've seen this happen many times, and typically it's a simple fix. Here's what you do:

1. Shut the computer off. You may have to hold down the power button for a while since the computer will seem stuck or frozen
2. Once the computer is off, press the power button, then right after, hold down Shift on the keyboard. Holding Shift while the computer is booting up causes it to boot into Safe mode, which is a really good way to diagnose problems.
3. You may have to hold down Shift for quite a while. If it's been 5-10 minutes and you still haven't seen any progress, go ahead and let go. Sometimes it won't progress while the key is still pressed
4. You should get to the login screen, but you'll see Safe Mode in red. This is fine. Sign in like you normally would.
5. This should load your desktop like normal. If it does, then your problem is solved. However, before you continue working, restart your computer again and let it boot into normal mode. Each time I've had a computer boot in safe mode, the next normal boot works like usual too.

That's the easy fix for the problem. There can be other reasons and fixes for it, so feel free to leave comments with your own experiences. I'd say those 5 steps have worked 90% of the time for me though, so hopefully your odds are at least as good. Restarting from the CD and using Disk Utility to repair file permissions is an alternative option if this doesn't work, so go ahead and give that a try too.

Fantasy "sports" for celebrity lovers?

An ex-coworker of mine, alongside a few other people, recently revamped http://www.hollywooddraft.com/. Most of you probably know something about fantasy sports, or at least what they are. Her idea was to appeal to those who would prefer watching E! over ESPN, or Perez Hilton instead of John Madden. It's an interesting concept and change to the typical fantasy sports, and most likely fills a niche for the gossip magazine readers who couldn't care any less about sports. You pick your "team" of celebrities and gain points depending on how much they're in the news or referenced in a specific list of blogs and magazines. The reason they're in the news also can change the point total. If you're into the concept of fantasy "sports", but aren't too fond of the sport side of it, check out http://www.hollywooddraft.com/ and try your hand at fantasy "National Enquirer". I'm not too interested in the game myself, but I thought it was worth mentioning in case any of you blog readers are.

Sunday, September 7, 2008

USB memory stick through the laundry?

Apparently I should check my pockets a little better before doing laundry. Last week, I left my 4GB Kingston DataTraveler memory stick in my pants pocket, and put it through the full-blown wash cycle. I didn't realize it until I took my clothes out and found it in the bottom of the washer. Luckily I didn't have anything important stored on it, but at the same time I really didn't feel like having to buy a new one. I thought there could be a chance that if I left it alone for a while and let it dry out, it may still work. I let a week go by, and popped it into my laptop tonight to check it out. Sure enough, it was recognized right away and popped up with all my files. I can definitely say I was surprised, but I'm definitely not complaining. So, the short version is if you get an electronic device wet, make sure you leave it alone for long enough for it to dry out completely. You may have heard this before, as I know I have, but here's an actual success story to help ease your worries if you run across this post before knowing whether you just ruined your hardware.

Thursday, September 4, 2008

Create or convert PDFs - for FREE!

Have you ever needed to create a pdf, or convert something to pdf format, but you didn't have Adobe Acrobat and didn't feel like buying it? What you may not know is that you can most likely do this for free with the help of a free download. DoPDF and Doro PDF are the two that I like to use. For an individual, DoPDF will serve the purpose nicely. However, if you're trying to set this up in a terminal services environment, Doro PDF is what you'll want to use. How this software works is that you "print" to the printer it installs, the same way you're used to printing anything else. By printing to the software's PDF printer however, that process will actually create a PDF file, rather than printing out an actual piece of paper. Once you choose that printer and click print, another window pops up and asks what you'd like to name the file and where you'd like to save it. It's simple, safe, and best of all, FREE! If you're looking for a free way to rearrange or merge your PDF files, check out my other post about PDFsam.

DoPDF - http://www.dopdf.com/
Doro PDF printer - http://download.cnet.com/Doro-PDF-Writer/3000-13455_4-56168.html?tag=mncol;lst

If the link to Doro doesn't work for you, go to http://www.download.com/ and search for it. There may be a more recent version available by the time you read this post.

Integrate or slipstream Windows XP or Vista updates into installation

For anyone who installs Windows XP on a regular basis, you know that keeping everything patched can be a pain. I have an XP Pro installation disc with service pack 2, and after the install there are over 100 updates to download. Well, you can change that by "slipstreaming" your installation disc. This process lets you download the latest service pack release from Microsoft, integrate it with your Windows XP installation disc, then create a new disc that will install both Windows XP and the latest service pack. The process isn't that difficult either, but does require some software you may or may not have. There are quite a few different guides out there, but the best one I had found is here: http://www.theeldergeek.com/slipstreamed_xpsp2_cd.htm. It uses service pack 2 in the instructions, but you can substitute any service pack in that you may need. After creating a slipstreamed install CD and installing Windows, I went from 100+ updates to 6, which I'm sure anyone could appreciate.

I've actually come back to this post to give you an update. There is a free application out there called nLite which makes this process much easier for Windows XP, or vLite for Windows Vista. I highly suggest using these free applications instead of trying to do it manually. They will extract the files from your install CD, let you integrate service packs, updates, drivers, etc, and then create an .ISO for you to mount or burn to CD for future use. It's also really use if you run into a problem during a Windows install saying that a hard drive doesn't exist, which you can find in another post on this site. In order to use vLite you'll also need the WAIK (Windows Automated Installation Kit) installed, which you can download for free direct from Microsoft. For Windows 7 the link is here. For XP and Vista you can get it from here. It's rather large, but once you have it you can mount it to a virtual drive using something like Daemon Tools and install from there.

Mac OS X - copy file path?

Ever have a Mac user try to tell you the path to a file, only to have it start in the middle and end in a folder that doesn't exist? There really isn't a great way to get the path of a file on a Mac, other than a screen grab of the file/folder info page. An alternative to using an image attachment to show the path is to use the built-in TextEdit application in plain text mode. Here's how:

1. First you have to know where TextEdit is in order to open it. You can find it under Applications->TextEdit.
2. Now you must change it to default to plain text, which only has to be done once. To do that, on the menu bar, go to TextEdit->Preferences…, then under New Document, change the Format to Plain Text and close the Preferences window
3. After that you'll want to close the current TextEdit window and open a new one, which will then be in plain text mode
4. In order to get the path to a file or folder, drag the file or folder into the TextEdit window. It’ll put the path there, which can then be copied and pasted wherever you need it to go.

That should help avoid the dead-ends and "missing" files that I'm sure some of you run into. The original article I found this in can be found here, with a few other options that I didn't bother testing.

Wednesday, September 3, 2008

Customize Outlook Web Access (OWA) logon page

For any of you who are sick of looking at the plain, old standard Outlook web access page, you don't have to any more. If you know how to modify a webpage, then you can change the settings to customize your page to fit your business. The main thing you'll need to know is where the files are located on your Exchange 2003 server. The answer to that is C:\Program Files\Exchsrvr\exchweb\bin\auth\usa (if you're using a US version of Exchange). For other languages, go into that folder in the last step, rather than usa. It's always a good idea to make a backup copy of a file before you modify it, just in case. logon.asp is the file you'll want to change in order to customize the OWA logon page to match the desired appearance.

You can reference Microsoft's article pertaining to this here.

Remove address from Outlook 2007 autocomplete

Do you have old or incorrect email addresses showing up when you start typing in someone's name in the To box of a new email in Outlook? Well, now you can fix the problem. All you need to do is create a new email, start typing in the name so you can bring up the incorrect address, use the arrow key to scroll down to that incorrect address, then press Delete on the keyboard. That will remove the address from your auto-fill list of recent email addresses. When you close the compose window it will ask if you want to save, which is the same as saving as a draft. Go ahead and click no, and then you're done.

Another option would be to remove your entire auto-fill list from Outlook. In order to do this, you need to actually remove the file that is used to store the email addresses, which has the extension "nk2". I recently posted a newer blog entry specific to locating the nk2 file, and you can find the entry here. Otherwise, Microsoft has a guide to do this here, which is KB article 287623. It doesn't actually list the location of this file though, which depends on the OS you're using. The nk2 file is named according to your Outlook profile, which is Outlook by default. If you have multiple .nk2 files, then you also must have multiple profiles. I'll assume that if you knew how to set up multiple Outlook profiles, you'll also know which one you'll need to remove to get rid of the email list in question. Delete the nk2 file and that will get rid of your auto-fill email address list.

Tuesday, September 2, 2008

Outlook 2007 stuck disconnected

Update 6/21/2011: After not seeing this problem in almost two years, it came back on a few machines over the last month or so. It was related to NTLM authentication being used in Outlook Anywhere. Most of my users have this setting and it's fine, but a few were getting stuck disconnected and as soon as I changed the authentication to Basic they reconnected and have been fine ever since. I've only been using NTLM instead of Basic for the past 5-6 months, so it's odd that it didn't happen earlier but that also explains why it didn't cause an issue when I originally ran into this problem.

Original post:

I have run into this problem a few times and think I may have the answer. If your Outlook says it's disconnected, and right-clicking the lower right and unchecking "Work Offline" doesn't work, this might help. This is mostly related to laptop/portable computers that use docking stations, because I have yet to see it happen on a desktop. That doesn't mean it can't though. If you have access to the email server, check the event log and you'll probably see some event 9646 in reference to the user in question. If you do, then this is most likely the fix

1. Open Outlook
2. Go to Tools->Account Settings



3. Choose the account you're having problems with, and click on Change



4. Click on More Settings



5. Go to the Advanced tab and uncheck "Download shared folders" and click Apply, then Ok



6. Click Next, then Finish
7. Click Close

You could also use Group Policy to enforce this on multiple machines. However, you first need to download and install the Microsoft Office 2007 templates on one of your domain controllers. Then add the Outlook template to the Administrative Templates section of the User Configuration section. From there the policy you want to define is User Configuration->Administrative Templates->Microsoft Office Outlook 2007->Tools | Account Settings->Cached Exchange Mode, and set "Download shared non-mail folders" to disabled. You can get the templates direct from Microsoft at http://www.microsoft.com/downloads/details.aspx?FamilyID=92d8519a-e143-4aee-8f7a-e4bbaeba13e7&displaylang=en. If you're not familiar with Group Policy, I'm going to have to leave that up to you to sort out.

This fix will not work immediately, but it should prevent the disconnect from happening again. The Exchange server's default MAPI session life is 2 hours, which is how long you'll have to wait unless you want to restart your Exchange services or modify the registry on that server. If you do need it to be relatively immediate and are willing to change the registry on the Exchange server, change the KeepAliveTime setting found in HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters. It should be a DWORD with a default value of 0x6DDD0, which sets it for the equivalant of 2 hours in hex, measured in milliseconds. Change that value to something smaller, like 0x04650 (5 minutes in milliseconds, in hex). For more info, check out the last page of the TechNet article found here

You could also try setting up the user's Outlook settings in 2003, then migrating those settings to 2007. That has been successful for at least one person. To read more about his method, check out http://wtfiswrong.com/2010/03/outlook-07-disconnected, especially if the above does not work for you.

I also had found a forum where they had luck just flushing their DNS settings. This worked once for me, but then I found the other answer and that has been the only permanent solution I've seen. Just in case the above fix doesn't resolve your issue, here was the other possible fix I ran across:
1. Disable your Local Area Connection. To do this, go to Start->Network Connections (aka Connect To->Show All), then right-click on Local Area Connection and choose disable.
2. Open a command prompt. Go to Start->Run, then type cmd and press Enter
3. In the prompt box, type in ipconfig /flushdns and press Enter
4. Once that finishes, type in ipconfig /registerdns and press Enter
5. Once that's done, you can close the command prompt
6. Re-enable your Local Area Connection. To do this, go back into your Network Connections, right-click on Local Area Connection, and choose enable.

This problem (so I've read) is caused by a default limit imposed on the Exchange Server Outlook is connecting to. 32 is the limit, and once it is reached, you are not allowed to connect. Another potential fix for this is to change that limit on your Exchange server, but I provided the least intrusive fixes only in case you're someone that doesn't have control over your email server configuration.

For more information, check out Microsoft KB 842022. Fix 1, along with the server fix, can be found in that article. I had found a forum that said this was a known problem that was fixed in an update to Office, but the update wasn't being released until December 2008, which is still a few months away. For most of us that can't wait that long, hopefully this will keep us going until then.