Archive for the ‘Tutorial’ Category

How to Configure HP Procurve 1700/1800 Switch

Saturday, August 8th, 2009

This is a short tutorial on how to configure a HP ProCurve 1700/1800 Managed Switch from scratch.

HP Procurve 1700/1800 Switch

HP Procurve 1700/1800 Switch

Step #1

First, you need to know that the default IP for the 1700/1800 switches is: 192.168.2.10. (If you are hooking this up in a business network you will most likely need to copy down the MAC address off of the bottom and register it with your DHCP server to receive the IP you need it to.)

Step #2

I will be showing you how to configure it manually with an IP address of your choice. The easiest way to first connect to the switch is to connect to it with a laptop. Hook up an ethernet cable to your laptop and then to the feed port (port #8) on the procurve switch.

Step #3

Change your IP on the laptop to something within the same subnet so that you can reach the switch. For example, if you set a manual IP of 192.168.2.11 that would at least allow you to ping the switch and reach it in your browser by the 192.168.2.10 IP.

HP Procurve 1700/1800 Switch

HP Procurve 1700/1800 Switch

Step #4

By default the administrator password is blank, so just go ahead and click the “Login” button.

HP Procurve 1700/1800 Switch

HP Procurve 1700/1800 Switch

Step #5

Once in the switch management page I would suggest setting your Admin password. Then you can setup your VLANs, assign an IP Address, etc. Be careful, if you get the IP address wrong you might end up not being able to reach the switch and you would end up having to reset your switch. See my article on resetting the procurve switch above.

HP Procurve 1700/1800 Switch

HP Procurve 1700/1800 Switch

How to Capture and Deploy Image (.wim) Without Sysprep

Saturday, August 8th, 2009

If you are using WinPE 2.0 or WinPE 3.0 to capture your PC images (.wim files) and deploy them you have probably run into a little problem when trying to deploy an image of Vista or Windows 7 when not first running sysprep. The problem is that if you try to re-deploy an image of a nonsysprepped image of Vista or 7 that the BootMGR will be broken. Follow the steps below to fix this problem.
Microsoft Windows 7

Step #1

I am assuming you have captured your image already and are ready for deployment. Go ahead and boot up your image deployment software (WinPE 2.0 or WinPE 3.0).

Step #2

In my other articles I describe how to use DiskPart and also avoiding the hidden partition before deploying a new image. I suggest reading them.

Step #3

After you have deployed your non-sysprepped image you need to run the following commands: (I have a batch file I use to do this).

bcdedit /set {default} device partition=c:
bcdedit /set {default} osdevice partition=c:
bcdedit /set {bootmgr} device partition=c:

Step #4

This will fix the BOOTMGR problem when deploying a non-syprepped image in Vista or 7. Enjoy!

How to backup your Microsoft OneNote 2007 Notebooks

Saturday, August 8th, 2009

This is a short guide on how to perform a backup of your Microsoft OneNote 2007 Notebooks to two different locations. I would recommend saving it locally and also to a network drive. Or if you are not located on a network, then save the 2nd copy to a thumb drive or 2nd hard drive.

Microsoft Office OneNote 2007

Microsoft Office OneNote 2007

Step #1

Launch Microsoft OneNote 2007. If you have not yet created a notebook, on the left hand side right click and select “create new notebook.”

Step #2

Once you have a notebook created you will need to go up to the “Tools” menu and then “Options”.

Microsoft OneNote 2007 Options

Microsoft OneNote 2007 Options

Step #3

Then go down to the save option in the list. You can change the Backup Folder and the Default Notebook Location. Make sure they are going to two different physical places; not just different folders on the same hard drive. This way if your hard drive dies, you will still have a copy of your OneNote Notebooks.

Microsoft OneNote 2007 Save Location

Microsoft OneNote 2007 Save Location

Step #4

Now go to the Backup option in the list and select “Back Up All Notebooks Now” to test and verify they are being saved to the two different locations.

Microsoft OneNote 2007 Backup Now

Microsoft OneNote 2007 Backup Now

How to Sysprep XP Machine SP3 / Copy Administrator Profile to Default Profile

Tuesday, August 4th, 2009

I realize this article is a little old since Windows 7 is coming out here in a few days, but I thought I would share it with you in case your business has decided to stick with XP for now. When you sysprep a machine you are basically wanting to clone the settings from that machine to another one. You also want it to copy those changes to each profile, correct? Well, in order for the sysprep to successfully copy over the administrator profile to the default profile for each user you have to add an extra line to the sysprep.inf file or else it won’t work in Service Pack 3 like it did in Service Pack 2.

Step #1

The first step is to download the Sysprep App which is included in the CAB file for Windows XP Service Pack 3 Deployment Tools. (Download Sysprep Tool)

Step #2

Next go to the PC you are going to be sysprepping and create a folder on the root of the C: drive called sysprep.

Step #3

Next you will need to extract the contents of the deploy.cab file you downloaded in Step #1 to the sysprep folder on the root of the C: drive.

Step #4

Now we are going to run the sysprep Setup Manager. Double click on setupmgr.exe.

Sysprep Setup Manager

Sysprep Setup Manager

Step #5

Click Next and it is going to ask you whether you want to modify an existing Answer File or create a new one. We are wanting to create a new one, so again click next.

Sysprep - New or Existing Answer File

Sysprep - New or Existing Answer File

Step #6

You now have three options: Unattended Setup, Sysprep Setup, or Remote Installation Services (RIS). In this example we are going to select the Sysprep setup option and then click next. (This creates a sysprep.inf file)

Sysprep - Sysprep.inf File

Sysprep - Sysprep.inf File

Step #7

Select Windows XP Professional and click next. (This will also work on Windows XP Home, Windows Server 2003 Standard, Web, and Enterprise.)

Sysprep - Windows XP Professional

Sysprep - Windows XP Professional

Step #8

In this step it is asking you if you want to fully automate the installation. That is up to you, either way works fine. In this example I will be using the “No, do not fully automate the installation.”

Sysprep - Fully Automate or Not?

Sysprep - Fully Automate or Not?

Step #9

Now we are at the configuration page. There is a lot in here so I am not going to go into detail. In fact, you don’t even need to input anything here for the sysprep to just work. However, everything you input in here will save you time and help shape your image.

Sysprep - Configuration Page

Sysprep - Configuration Page

Step #10

Once you are all done, you should be at the bottom and selected on “Identification String”; click Finish and it is going to prompt you for a location to create and save the sysprep.inf file. The default location is fine, as it will need to be within that sysprep folder on your C: drive. Once you hit ok you will then need to click “Cancel”. There is no close button.

Sysprep - Saving the Sysprep.inf File

Sysprep - Saving the Sysprep.inf File

Step #11

Now you should verify the sysprep.inf file by double clicking on it and opening it up with Notepad.

Sysprep - Verifying the Sysprep.inf File

Sysprep - Verifying the Sysprep.inf File

Step #12

There were a few changes with Windows XP Service Pack 3 and sysprep. The administrator’s profile is no longer copied over to the default profile. You will need to add a line within the sysprep.inf file to regain this important function. Under the InstallFilesPath section add this:

UpdateServerProfileDirectory=1

Once done, hit save.

Sysprep - Adding line to sysprep.inf so the administrator profile will copy over to default profile

Sysprep - Adding line to sysprep.inf so the administrator profile will copy over to default profile

Step #13

Now you are ready to start the sysprep, reboot, and capture your sysprepped image. Double click on the sysprep.exe and then select the following three options in order: Use Mini-Setup, Shutdown Mode: Reboot, and click Reseal. Make sure you have your media ready to capture your image. If you reboot fully without booting to your capturing software it will ruin the sysprep and you will have to redo the sysprep.

Sysprep - Preparation Tool 2.0

Sysprep - Preparation Tool 2.0

How to Install Windows 7 From a Flash Drive / USB Stick

Friday, July 31st, 2009

This is a short guide on how to install Windows 7 onto a computer from a USB Flash Drive / USB Stick or Portable Hard Drive. Since read speeds are faster from USB drive than your CD-ROM drive, this actually decreases the install time for Windows 7.

OCZ Flash Drive - Install Windows 7

OCZ Flash Drive - Install Windows 7

Step #1

The first thing you will need to do is format your USB Flash Drive or Portable Hard Drive so that your computer will read it as a bootable drive. So plug your flash drive into a workstation.

Step #2

Open up Command Prompt / CMD (located in Program Files->Accessories) and type the following commands:

DiskPart
List Disk (this will list the disks currently plugged into your computer. Most likely, the C: drive on that computer will be listed as disk 0, and you will have to look down the list to see which disk your flash drive is. Look at the corresponding disk sizes to easily figure it out.)
Select Disk 3 (I am using 3 as example for assigned flash drive)
Clean
Create Partition Primary
Select Partition 1
Active
Format FS=NTFS Quick
Assign (you can assign a particular drive letter if you want, example: assign=E:)
Exit (this will exit DiskPart)
Exit (this will exit CMD)

Step #3

Next you will need to either insert your Windows 7 CD and browse to the CD or open up your Windows 7 ISO and browse to the folders within it. (If you are using ISO, I would suggest extracting the contents to a new folder)

Step #4

Next you will need to spoof your flash stick so that the computer will think it is an install CD. From within the root of the Windows 7 CD or ISO contents, right click while holding shift key and select “Open Command Windows Here”. This will open up a Command Prompt window within that directory. Then input the following commands:

cd Boot
bootsect /nt60 E: (I am using drive letter E: as my flash drive)
exit (exits command prompt)

Step #5

Next simply copy over the entire contents of your windows 7 CD or ISO to your flash drive.

Step #6

Reboot the computer your are wanting to install Windows 7 on with the flash drive plugged in, hit the boot key (normally F12, DEL, or ESC) to select the boot device, boot to your flash drive, and it will go immediately to the Windows 7 Setup screen.

How to Speed Up FileZilla FTP Transfers

Friday, July 31st, 2009

Are you having trouble with download speeds using the FTP Client Filezilla? It is most likely due to simply not having some configurations options set. By default, the FTP client will be set at minimal connections, but if you change a few things you can increase your download speed by over 2Mb/s.

FileZilla FTP Logo

FileZilla FTP Logo

Step #1

Download and install the FileZilla FTP client from their website at http://filezilla-project.org/.

Step #2

At the top left of the application, go to File-> Site Manager. In site manager you are going to setup a new connection with the host your are connecting with.

FileZilla FTP Site Manager

FileZilla FTP Site Manager

Step #3

Go over to the “Transfer Settings” tab and select Limit Simultaneous connections. Then input 10 for the Maximum Number of Connections. This will optimize your connection speeds with most servers to get the highest download speeds; and without them disconnecting. (My download speeds jumped from 900KB down to 2500KB down just from changing this one option.

FileZilla FTP - Transfer Settings

FileZilla FTP - Transfer Settings

How to Delete Or Clear COM Ports In Use

Tuesday, July 28th, 2009

If you are having trouble with your COM ports stacking up because they are in use, these brief steps below will help you clear them out. (I found myself the other day needing to connect via a USB to Serial adapter to a server and noticed that 35 COM ports showed in use. Somehow the COM ports were not getting cleared out.)

COM-Ports

COM-Ports

Step #1

One thing is to see if hidden devices are taking up the ports:
Click Start > All Programs > Accessories and then click Command Prompt.

Step #2

Type set devmgr_show_nonpresent_devices=1 in the Command Prompt and then press Enter.

Step #3

Type cd \Windows\system32 in the Command Prompt and then press Enter.

Step #4

Type start devmgmt.msc in the Command Prompt and then press Enter.

Step #5

Click View > Show hidden devices. This will display devices that are not connected to your computer.

Step #6

Now if you expand the section on COM ports, all the COM ports that have ever
been created will be displayed, the non present ones being in grey. You can
uninstall away anything that you don’t want (right click, select uninstall).

How to Install and Configure Canon ScanGear Tool

Tuesday, July 28th, 2009

This is a short guide to setting up the Canon ScanGear Tool to enable the Canon copiers to be able to scan directly from the copy machine to the computer.

Step #1

First you will need to download the ScanGear Tool from Canon’s website. Version 2.21 will work with all the non-color copiers like Canon IR-2200. Version 2.30 will work with all the newer Canon color copiers.

Download Canon ScanGear Tool V.2.21
Download Canon ScanGear Tool V.2.30

Step #2

Run the EXE you just downloaded. By default the EXE unpacks the contents of the EXE to your TEMP folder.

  • TEMP FOLDER LOCATION on Windows 2000 through XP : C:\Documents and Settings\NameofUser\Local Settings\Temp
  • TEMP FOLDER LOCATION on Vista through Windows 7 : C:\Users\NameofUser\AppData\Local\Temp
  • Step #3

    Launch the setup file located within the TEMP folder and go through the prompts to install the ScanGear Tool.

    Step #4

    Once installed, you will need to launch the ScanGear Tool and input the IP address of the copier. Make sure it connects successfully by click the “Test Connection” button.

    Canon ScanGear Tool

    Canon ScanGear Tool

    Step #5

    Now you can Scan with the copier. For this example, I am going to be using the “Microsoft Office Document Scanning” tool provided within Microsoft Office 2003 through 2010.

  • LOCATION OF MODS in XP, Vista, & Windows 7: Start Menu -> Microsoft Office -> Microsoft Office Tools
  • Step #6

    Now walk over to your Canon copier. Press the big SCAN button to switch the copier into SCAN mode.

    Step #7

    Select the “Online” option to force the SCAN mode on. (It will start searching for the ScanGear client on your computer)

    Step #8

    Place the document you are wanting to scan into the feeder tray on top of the Canon Copier. (It will not start scanning until feeder tray has paper in it)

    Step #9

    On your computer, select Scan (black and white or color) and then the computer will begin scanning your documents.

    Microsoft Office Document Scanning Tool

    Microsoft Office Document Scanning Tool

    How to Avoid Reserved or Hidden Partition in Windows 7

    Tuesday, July 28th, 2009

    There is a hidden partition created by default in Windows 7. This can be very frustrating, especially for IT administrators who are working with capturing and deploying images with Sysprep and ImageX. The boot files needed for Windows 7 to boot correctly are stored on this 2nd hidden partition. This will show you how to install Windows 7 on one partition.

    Step #1

    First, there is no way to simply delete this hidden 100MB partition in Windows 7; you simply have to reformat. So the first step is to backup your data and boot to the Windows 7 Install CD. (To boot to CD, restart your computer and normally it will be either DEL, F12, or ESC key to select CD-ROM drive, and boot to it)

    Step #2

    Once you are up to the Windows 7 screen, you will need to select “Repair Your Computer” option.

    Windows 7 Startup Repair - Picture provided by About.com

    Windows 7 Startup Repair - Picture provided by About.com

    Step #3

    Next you will need to select “Command Prompt”.

    Windows 7 Command Prompt - Picture provided by About.com

    Windows 7 Command Prompt - Picture provided by About.com

    Step #4

    In Command Prompt we are going to reformat your hard drive in a certain way so the 2nd partition doesn’t automatically get created when you install Windows 7. Here are the comands:

    Diskpart
    List Disk (You might have more than one hard drive)
    Select Disk 0 (By default your main boot drive will be disk 0, check it)
    Clean
    Create Partition Primary
    Select Partition 1
    Active
    Format FS=NTFS Quick
    Exit

    Step #5

    Then simply walk through installing Windows 7 as you would normally. This time the setup will not create the 100MB hidden reserved partition.

    VMWare – Delay VM Bootup Time to Allow Bios Entry/Boot Options

    Wednesday, June 24th, 2009

    You will need to change a few things in your .vmx file for your virtual machine. In Windows Vista and Windows 7 the default location of your virtual machine is:

    C:\Users\USER\Documents\Virtual Machines\VIRTUALMACHINENAME.vmx

    Step #1

    Open up the .vmx file in notepad and add :

    bios.bootDelay = “5000″
    this adds a 5000 ms (5 seconds) delay at boot time
    save the .vmx file

    or add:

    Step #2 (Optional)

    To force VM to enter the BIOS setup at next boot change the following:

    bios.forceSetupOnce = “TRUE”

    Escape will get you into the Boot Order and F2 will get you into the BIOS menu.

    Buy VMWare Workstation.