Thanks for visiting Daily Cup of Tech!
Here are a few things that you may want to do while you are visiting:
Hope you enjoy your stay!
I’ve been receiving a lot of e-mail lately from people who have continued to follow Daily Cup of Tech, even though there have been very little in the way of updates. I’ve noticed through the feeds and the logs that a lot of you continued to subscribe and check in regularly.
I’d just like to put out a big THANKS to everyone for your loyalty. I’ve gotten settled into my new city, my new house, and my new job. There are still a number of challenges ahead of me and the changes are far from over but I’m going try and put some more effort toward the blog.
I’m also working on a number of new personal projects that I will be talking about in the near future but I’m not ready to release any information about them just yet.
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
If you purchased any Microsoft operating system over the past number of years, you were probably inundated with offers to purchase Microsoft Plus! This product promised to give you even more than was originally provided in your OS.
Personally, I thought it was Microsoft’s attempt to make you part with even more of your hard earned cash than you had already. What Plus! provided was essentially eye candy and it added very little in the way of extra functionality.
But, it looks like Microsoft will no longer me making this product available to the public. According to their website, they believe that they have now built all of the Plus! functionality into their products. My theory is that the public realized that the product wasn’t worth the money and voted with their feet.
Have you had any experience with the Microsoft Plus! products? Did you like them or not? Are you going to miss them? Were they worth the money?
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
It has been long time since I have watched television like “normal” people. Ever since I found bittorrent, there was no turning back!
The problem that I have is that I am a pack rat! Once I download a TV episode, I don’t want to get rid of it. After all, I used up all that bandwidth!
So, I’ve started organizing my television shows into three categories:
- Downloaded - these are shows that have just completed downloading and are in their original form from the Internet
- Unsorted - these shows are in in one central location and should be in playable format. These are all my new shows that I probably have not watched yet
- Sorted - once I have watched a show, the shows get moved into appropriate folders based on series and season name
The issue that I have run into in the past is that once an episode is downloaded, it may not be in playable format since many shows are archived, typically into RAR files. This means that I needed to manually extract these files or move the playable files to the Unsorted folder so that I could watch them.
I finally got fed up with this and I thought that there had to be a better way. It took me a couple of evenings work but I finally came up with a batch files that does the work for me! I simply have Windows programmed to run the batch file on a regular basis and it extracts all of the RAR files to my preferred location and moves all of the AVI files there as well (without copying the samples).
Here is the contents of that batch file:
@echo off
setlocal
cls
rem Set program variables below:
rem sourcedir - where files are saved once they have been downloaded
set sourcedir=C:\Downloaded
rem destinationdir - where you want all of the playable files to be placed
set destinationdir=C:\Unsorted
rem winrarpath - location of the unrar program
set winrarpath=C:\Program Files\WinRAR\
rem filelist - the name of the file which will store all of the RAR and AVI file names that have been processed
set filelist=FoundFiles.txt
rem tempfile - name of the temporary file that will be created and then deleted during the cleanup process
set tempfile=TempFile.txt
set path="%winrarpath%";%path%
echo Extracting new RAR files...
for /R "%sourcedir%" %%R IN (*.rar) DO find /C "%%R" %filelist% > NUL & if errorlevel 1 call unrar e -o- -y "%%R" *.* %destinationdir%\ & echo %%R>>%filelist%
echo Adding sample AVI files to no copy list...
for /R "%sourcedir%" %%R IN (*sample*.avi) DO find /C "%%R" %filelist% > NUL & if errorlevel 1 echo %%R>>%filelist%
echo Moving new AVI files...
for /R "%sourcedir%" %%R IN (*.avi) DO find /C "%%R" %filelist% > NUL & if errorlevel 1 echo Copying %%R... & copy "%%R" %destinationdir%\ & echo %%R>>%filelist%
echo Cleaning up %filelist%...
for /F %%R IN (%filelist%) DO if exist "%%R" echo %%R>>%tempfile%
del %filelist%
rename %tempfile% %filelist%
All you need to do is copy this file and save it as TorMove.cmd. Then edit the three variables:
- sourcedir
- destinationdir
- winrarpath
- filelist
- tempfile
Only the first three are critical. You just need to make sure that the last two do not clash with other files.
Also, you do not need to use WinRAR. If you do not have this program, UnRAR for Windows will work just fine.
Once you have modified your file, save it and then schedule Windows to run it as often as you want!
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
Building forms for your website is a real pain in the backside. There are so many different aspects of the form that you need to know in order to get everything just right.
When a friend from work asked me if I knew of some easier way to create forms, I realized that I didn’t have a quick and easy answer for him. So, a bit of time on Google and some typing later and I have created a nice list of useful form building resources.
- pForm - a really good online form building tool that lets you create a customized form and then download the form for use in your website. Really easy to use and set up.
- JotForm - offers a free and a premium account option. If you are looking at using the forms on your own website, there is very little reason to purchase the premium option. Provides a number of very professional tools that provides you with a maximum of flexibility. It even includes a really nice form building wizard.
- PageBreeze - while this is not an online tool, it is an HTML editor that will allow you to create forms using a simple drag and drop method. You just need to do some basic HTML changes to connect it into your website.
- FormMaker - much like our first two entries, FormMaker is also web based. One of the advantages that it has over the other forms is that it allows you to capture data and store it on their servers for later access. There is no charge for the form maker but it does require an account.
- <STRONG><CONTACT> - An application designed specifically for creating contact forms. It will generate both the PHP and the CSS code required for the contact form to create the look and feel you want.
I know that all of the major IDEs out there have some sort of a form builder in them but if you are looking for a fast and dirty form, this may be a quick alternative.
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
There are a lot of people out there who are sending our e-mail after e-mail and offending everyone on their way, completely oblivious to what they are doing. We all experience them regularly. these are the people who WRITE IN ALL CAPS, > > > > > forward e-mails that have been forwarded several times previously, use REPLY ALL to respond to distribution lists, and attach 50 MB files that clock up our Internet connections.
Here is a great cheat sheet that you can print out and leave on their desk to that they can get the e-mail act together.
Update: I originally had the pdf embedded in the post but too many people were having problems with it (see comments below). It is now just a simple link. That will teach me to try and get fancy. Sorry about the trouble. -Tim
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
Every few months, I like to completely blow away my Windows system and reinstall it. This is primarily because I install so much junk on the system that it just starts to clog everything up. A freshly installed copy of Windows always runs so much quicker and has that “new OS smell”!
I firmly believe that more people would do the same if it wasn’t such a pain to do! Most people figure that you simply need to set aside a full day to do the job right.
So, I’ve put together a two part checklist of things that you should do before and after you completely reformat your system to start over.
Before You Reformat
- Move all of your data off the computer and put it on a different system or drive. The most important folder to backup is the user profile (%USERPROFILE%) folder. This will usually back up 95% of what you want including your My Documents, music, pictures, favorites (for Internet Explorer), e-mail, etc.
- Backup all of the device drivers that are being used on the system and store them somewhere else. I use a freeware program called DriverMax but I am sure that there are several other good ones out there.
- Make sure you have a copy of all the software installed on your computer along with all of the license keys. A quick way to get a list of all installed software is to use something like Belarc Advisor. If you do not have the license keys, a program like Magical Jelly Bean Keyfinder might be of help. This includes operating system and software that you bought by download. I usually start making this list a few weeks before I decide to rebuild my system.
- Download AutoPatcher and prepare a Windows/Office update CD/DVD.
- Create an image of the system just in case you missed/forgot something. There are a number of free imaging programs available. This way, even if there is something that you forgot to backup, you will still be able to get it back from the image.
- Perform a thorough check of your hard drive. If your drive has errors or problems (r you just want a bigger hard drive), now would be a really good time to replace the drive. Some tools include:
- Make sure that you have all of your account information for your Internet provider, including e-mail. Have their phone number handy in case you run into trouble.
- If you do not have all of your online accounts information memorized, now is a good time to write record them so that you do not destroy the information when you reformat your drive.
- Make sure that you have your wireless network information recorded and available.
If you have lost your passwords that are stored on your computer, here are some tools that may be able to help you out:
After You Reformat
Well, you’ve reformatted your disk so there is no turning back. Here is a general overview of the process:
- Make sure only the bare necessaries are plugged into the computer (monitor, keyboard, and mouse).
- Boot from the Windows CD and install Windows.
- Install all of the drivers that you backed up earlier.
- Plug in all of your peripherals and ensure that they are all working correctly.
- Install Office if you had it on your computer.
- Install all of the updates from your AutoPatcher CD/DVD.
- Run a disk clean and defragment on the drive.
- Reconnect your systems to the Internet.
- Install all of the applications that you want installed on the system.
- Migrate all of your files to your newly built system.
- Setup all of your accounts again.
I’m sure that there are a few things that I have forgotten but this is a really good start. Let me know what I’ve missed or if there is something that you do that I do not and I will add it to the list.
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
UPS devices have become so cheap these days that everyone should have one on all of their computers. What surprises me is that nobody has designed a standard computer power supply with built-in UPS capabilities.
Some of the advantages of such a design include:
- Continued running even when power goes out.
- Can (carefully) move a computer to a different room or location without shutting it down.
- Laptops do it, why not desktops?
- Only the critical devices (i.e. the computer) are on the UPS and not other non-essentials like monitors and printers. This will allow for a longer running system without power.
- The ability to gently shut down the system from a hardware (not OS) perspective.
If any of the readers out there are hardware developers and would like to pick up on this idea, feel free. Just drop me a line to let me know how the idea pans out!
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
It is only a matter of time before most IT professionals find themselves having to do some sort of a forensic analysis on a computer. The problem that most people come are then faced with is their lack of experience in performing these tasks.
And all of the pressure does not help either because there are often some pretty high staked involved.
This is where Helix comes in. Helix is a live CD that is designed to find out exactly what is on that computer and what individuals have done with it. From their website:
Helix is a customized distribution of the Knoppix Live Linux CD. Helix is more than just a bootable live CD. You can still boot into a customized Linux environment that includes customized linux kernels, excellent hardware detection and many applications dedicated to Incident Response and Forensics.
Helix has been modified very carefully to NOT touch the host computer in any way and it is forensically sound. Helix wil not auto mount swap space, or auto mount any attached devices. Helix also has a special Windows autorun side for Incident Response and Forensics.
Helix focuses on Incident Response & Forensics tools. It is meant to be used by individuals who have a sound understanding of Incident Response and Forensic techniques. That said Helix is used by the following organizations for Incident Response/Forensics Training:
Some of the tools that are on the Helix CD include:
- sleuthkit: Brian Carrier’s replacement to TCT.
- autopsy: Web front-end to sleuthkit.
- mac-robber: TCT’s graverobber written in C.
- fenris: debugging, tracing, decompiling.
- wipe: Secure file deletion.
- MAC_Grab: e-fense MAC time utility.
- AIR: Steve Gibson Forensic Acquisition Utility.
- foremost: Carve files based on header and footer.
- fatback: Analyze and recover deleted FAT files.
- md5deep: Recursive md5sum with db lookups.
- sha15deep: Recursive sha1sum with db lookups.
- dcfldd: dd replacement from the DCFL.
- sdd: Specialized dd w/better preformance.
- PyFLAG: Forensic and Log Analysis GUI.
- Faust: Analyze elf binaries and bash scripts.
- e2recover: Recover deleted files in ext2 file systems.
- Pasco: Forensic tool for Internet Explorer Analysis.
- Galleta: Cookie analyzer for Internet Explorer.
- Rifiuti: “Recycle BIN” analyzer.
- Bmap: Detect & Recover data in used slackspace.
- Ftimes: A toolset for forensic data acquisition.
- chkrootkit: Look for rootkits.
- rkhunter: Rootkit hunter.
- ChaosReader: Trace tcpdump files and extract data.
- lshw: Hardware Lister.
- logsh: Log your terminal session (Borrowed from FIRE).
- ClamAV: ClamAV Anti Virus Scanner.
- F-Prot: F-Prot Anti Virus Scanner.
- 2 Hash: MD5 & SHA1 parallel hashing.
- glimpse: Indexing and query system.
- Outguess: Stego detection suite.
- Stegdetect: Stego detection suite.
- Regviewer: Windows Registry viewer.
- Chntpw: Change Windows passwords.
- Grepmail: Grep through mailboxes.
- logfinder: EFF logfinder utility.
- linen: EnCase Image Acquisition Tool.
- Retriever: Find pics/movies/docs/web-mail.
- Scalpel: Carve files based on header and footer.
I think that digital forensics is a really cool career. Kind of like CSI for geeks!
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
Many of you are familiar with the concept of computer imaging. Essentially, you take a system, configure it the way that you would like, and then duplicate the hard drive to all of the other systems, saving yourself all of the same steps that you did on the first system.
Now, there are a lot of great commercial software programs out there that can do this for you. Acronis and Ghost come to mind. But, not everyone can afford these options. For those of you find yourself in this situation, I present you with a list of options that are available for free or are open source. (All descriptions are copied from their respective websites.)
Partimage
Partimage is a Linux utility which saves partitions having a supported filesystem to an image file. Most Linux and Windows filesystems are supported. The image file can be compressed with the gzip / bzip2 programs to save disk space, and they can be splitted into multiple files to be copied on CDs / DVDs, … Partitions can also be saved across the network since version 0.6.0 using the partimage network support, or using Samba / NFS. If you don’t want to install Partimage, you can download and burn SystemRescueCd. It’s a livecd that allows to use Partimage immediately even if your computer has no operating system installed (useful to restore an image), and it allows to save an image on a DVD on the fly.
PING (Partimage Is Not Ghost)
PING is a live Linux ISO, based on the excellent Linux From Scratch (LFS) documentation. It can be burnt on a CD and booted, or integrated into a PXE / RIS environment. Several tools have been added and written, so to make this ISO the perfect choice to backup and restore whole partitions, an easy way. It sounds like Symantec Ghost(tm), but has even better features, and is totally free.
Clonezilla
Clonezilla, based on DRBL, Partition Image, ntfsclone, and udpcast, allows you to do bare metal backup and recovery. Two types of Clonezilla are available, Clonezilla live and Clonezilla server edition. Clonezilla live is suitable for single machine backup and restore. While Clonezilla server edition is for massive deployment, it can clone many (40 plus!) computers simultaneously. Clonezilla saves and restores only used blocks in the harddisk. This increases the clone efficiency. At the NCHC’s Classroom C, Clonezilla server edition was used to clone 41 computers simultaneously. It took only about 10 minutes to clone a 5.6 GBytes system image to all 41 computers via multicasting!
IRestorer
Drive Snapshot (IRestorer) creates an exact drive image of your system into a file, including the operating system, installed programs, your data and all security attributes, while Windows is running and you continue to work. If disaster strikes (a virus, worm, trojan, or hard disk crash), a complete and exact restoration of your system will be possible in only few minutes. The image file can be mounted as a virtual drive, so you can easily restore (or use) single files or directories, using the Windows Explorer, or other programs. Restart to DOS is only necessary, if you must restore your system partition. Otherwise there is no need to reboot, not even during installation. Drive Snapshot saves only the used disk space, compresses the data and is extremely fast, a P4 - 3.0 GHz will save approx. 2.5 GB/Min on a modern hard disk!
Linbox Rescue Server
The Linbox Rescue Server is an asset management software including 5 modules :
- system backup for emergency crash recovery, hard disk cloning or deployment using a
PXE network boot. This module was fully developped by Linbox FAS.
- file backup, based on the famous BackupPC, to which we have added a configuration interface,
- inventory, based on ocs-inventory agents, and on an agent which runs during the PXE network boot,
- Software deployment module which works with Linux, MacOS X and MS Windows clients, or any Un*x system running OpenSSH,
- remote control, based on TightVNC.
HDClone
Copies smaller drives onto larger ones for migrating or backing up complete installations as well as for data rescue. The download package contains a program to easily create a bootable floppy disk or CD/DVD under Windows with only few clicks. A floppy image, ISO image, and manual as PDF are also enclosed.
DiscWizard
If you are setting up your new drive, you can use the install instructions to assist in mounting the drive, then use the tools built into your operating system to prepare the drive.
G4L
G4L is a hard disk and partition imaging and cloning tool. The created images are optionally compressed and transferred to an FTP server instead of cloning locally.
MaxBlast 5
If you are setting up your new drive, you can use the install instructions to assist in mounting the drive, then use the tools built into your operating system to prepare the drive.
DriveImage XML Backup Software
DriveImage XML is an easy to use and reliable program for imaging and backing up partitions and logical drives.
The program allows you to:
Image creation uses Microsoft’s Volume Shadow Services (VSS), allowing you to create safe “hot images” even from drives currently in use.Images are stored in XML files, allowing you to process them with 3rd party tools. Never again be stuck with a useless backup!
Restore images to drives without having to reboot.
DriveImage XML runs under Windows XP, Windows Server 2003 and Windows Vista only. The program will backup, image and restore drives formatted with FAT 12, 16, 32 and NTFS.
DuBaron DiskImage
DiskImage is the ultimate tool to backup and restore partitions, entire harddisks, USB keys, floppy drives and (read-only) optical media. DiskImage features built-in zip compression, it’s own compression method for data
> 2Gb, MD5 and SHA1 checksumming, a hex editor, and various tools like drive speed and seek testing.
Dumping and restoring partitions, USB sticks, floppies, optical media, diskimage is the swiss army knife.
WinDD - Disk Dump for Windows
WinDD - Disk Dump for Windows! Windows XP version of Unix ‘dd’ command. Safe, effort-free backup for FAT, FAT32, NTFS, ext2, ext3 partitions.
Partition Saving
Partition Saving is a DOS and Windows program that is used to save, restore and copy hard-drive, partitions, floppy disk and DOS or Windows devices.
With this program you could save all data on a partition to a file (such as you could save this file on a CD for example). Then if something goes wrong, you can completely restore the partition from the backup file. You no longer have to reinstall every piece of software from scratch. All you have to do is restore the partition from the backup file and then update any software that was modified since the backup was created.
NFGDump
nfgdump (Ntfs-Fat-Generic-dump) is a Win32/Linux tool that dumps/restores NTFS (including 3.1=XP), COMPRESSED NTFS, FAT16, FAT32 and arbitrary (generic) partitions. Dump files support compression, encryption, splits, page file content removal, etc.
Forensic Acquisition Utilities
This is a collection of utilities and libraries intended for forensic or forensic-related investigative use in a modern Microsoft Windows environment. The components in this collection are intended to permit the investigator to sterilize media for forensic duplication, discover where logical volume information is located and to collect the evidence from a running computer system while at the same time ensuring data integrity (e.g. with a cryptographic checksums) and while minimizing distortive alterations to the subject system. The components of this package are not intended to preclude changes to the subject system while the evidence collection process is under way. A third party hardware or software write blocker should be employed in those circumstances where it is deemed necessary to guarantee that no changes occur to the subject volume prior to and after the imaging process.
Self Image
SelfImage is the little hard drive utility with big aspirations.SelfImage is capable of making an image file of a hard disk or hard disk partition, and can restore an image back to any drive or partition that doesn’t have open files. Useful for making backups. Unlike dd for Windows (or cygwin), SelfImage is capable of creating an image of a partition that is currently in use.
SelfImage can even create images of partitions that Windows doesn’t recognize (partitions that Windows doesn’t have mounted on a drive letter). This is perfect for the dual-boot system, you can create an image backup of a Linux partition directly from Windows.
PC inspector clone maxx
PC INSPECTOR™ clone maxx is the new professional hard drive copying program from CONVAR. Using the new direct DMA support, data can be copied from hard drives in high speed mode with speeds up to 3.3 GB per minute.This high speed is achieved by PC INSPECTOR™ clone maxx through intelligent inspection of the PC motherboard and the hard drive controller. The software independently determines the fastest data transmission rate and achieves these exceptional speeds through optimal utilization of the DMA chipset on the motherboard of your PC.
PC INSPECTOR™ clone maxx can be started directly from a boot diskette. The copying process is always based on the physical drive and is independent of the file system (e.g. FAT12, FAT16, FAT32, HPFS, NTFS, Ext2, Reiser, etc.) or the number of partitions.
g4u - Harddisk Image Cloning for PCs
g4u (”ghosting for unix”) is a NetBSD-based bootfloppy/CD-ROM that allows easy cloning of PC harddisks to deploy a common setup on a number of PCs using FTP. The floppy/CD offers two functions. The first is to upload the compressed image of a local harddisk to a FTP server, the other is to restore that image via FTP, uncompress it and write it back to disk. Network configuration is fetched via DHCP. As the harddisk is processed as an image, any filesystem and operating system can be deployed using g4u. Easy cloning of local disks as well as partitions is also supported.
FOG :: A Ghost-like Computer Cloning Solution
Fog is a Linux-based, free and open source computer imaging solution for Windows XP and Vista that ties together a few open-source tools with a php-based web interface. Fog doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE. Also with fog many drivers are built into the kernel, so you don’t really need to worry about drivers (unless there isn’t a linux kernel module for it). Fog also supports putting an image that came from a computer with a 80GB partition onto a machine with a 40GB hard drive as long as the data is
less than 40GB.
Fog also includes a graphical Windows service that is used to change the hostname of the PC, restart the computer if a task is created for it, and auto import hosts into the FOG database. The service also installs printers, and does simple snap-ins.
- Each has its own pros and cons but all have a purpose. I am personally really liking FOG and am finding a lot of different places to put it to work.
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?