Skip to content. | Skip to navigation

Personal tools
You are here: Home Knowledge Reinstalling Windows on a Dell Dimension E521

Reinstalling Windows on a Dell Dimension E521

I recently bought a Dell Dimension E521, and I wanted to reinstall Windows before I started using it. These are the steps I took.

My old computer was a 1 GHz machine I assembled myself at least 4 years ago.  It only had USB 1.0, and the only working ports were on the back of the machine, which was becoming increasingly annoying.  So, it was time for an upgrade. 

I chose a Dell Dimension E521 because the price was right, I didn't have to assemble it myself, and it uses an AMD processor instead of Intel.  I decided to "repave" the hard drive to get rid of all of the "craplets" that come pre-installed.  I don't want AOL, Earthlink, McAfee, Dell Jukebox, and countless other icons on my desktop.  Sure, I could have removed them one by one, but you can never be sure that they're completely removed, and that removing them won't destabilize the computer.

Rather than repave the existing hard drive, I decided to buy another one and install afresh on it.  That way, if I had a problem, I would have a fallback plan.  I almost needed to use this plan, but ultimately I succeeded.  Although I did reinstall 5 times in order to get the various devices working.  By following these instructions, the next time I repave I'll be able to do it correctly the first try.

One thing that surprised me is that the copy of Windows XP Home Edition that Dell supplies is marked "Reinstallation CD".  I took this to mean that it would in some way be less than fully functional, or that it would reinstall all of the craplets that I'm trying to get rid of.  Surprisingly, that's not the case.  It seemed to work the same as a retail copy of Windows XP.

Here are the steps I took to reinstall and get the machine to a freshly installed state.  Every time it asked me to reboot, I did.  I never tried to install another piece of software if I had a pending reboot.

  1. Boot from the Reinstallation CD, answer all of the questions, and install Windows.  The network will not be available during the install, because the driver for the motherboard's built in NIC is not present.
  2. Install the Dell "Drivers and Utilities" CD.  I don't know why this is actually required to be installed.  I would think I could just install the drivers directly from the CD, but I went ahead and installed.  It seems like something you'd want to have on the hard disk, although from what I can tell you still need the CD around to actually install any drivers.  Installing this creates the "Dell Resource CD" start menu item.
  3. From the Dell Resource CD start menu item, install the "Desktop System Software".
  4. From the Dell Resource CD start menu item, install the "Broadcom 440x 10/100 Integrated Controller" Network (NIC) Driver.  It took me 4 installs to notice that there are 2 items on the list of drivers, one says "Network (NIC) Diagnostics", the second one says "Network (NIC) Drivers".  I kept installing the Diagnostics, thinking it was the driver.
  5. From the Dell Resource CD start menu item, install the "nVidia GeForce 6150" driver.
  6. From the Dell Resource CD start menu item, install the "SIGMATEL STAC 92XX C-Major HD Audio" driver.
  7. Delete the "c:\dell" directory.  This directory is temporary space used to install the drivers.  Once the drivers are installed, it is no longer needed.
  8. I bought my machine with a DVD-RW drive and DVD-R drive.  To burn DVD's, I bought the Roxio Creator software when I bought the machine.  To install it, use the "Roxio Creator MyDVD Combo Plus" CD.  The machine also comes with a "Roxio Creator MyDVD Combo LE" CD, but I assume that is the free software, not the upgraded version.  I don't know what the differences are.
  9. The video playback is way too dark.  Open Control Panel, Display, Settings, Advanced, GeForce 6150 LE, Color Correction.  Apply color changes to Overlay.  Try brightness at 137% and contrast at 106%.
  10. Install Dell CinePlayer to view DVD's.  My computer did not come with a CinePlayer CD for reinstallation.  It also didn't come with a CD to reinstall any of the other craplets, like AOL and Dell Jukebox, so I'm not all that upset.  I emailed Dell support, and they sent me a CinePlayer install CD overnight, no charge.  So that was pretty nice.  Unfortunately when I tried to install it, it required the .Net Framework 1.1, so on to the next step.
  11. Install the Microsoft .NET Framework Version 1.1 Redistributable Package.  Surprisingly, this doesn't require a reboot.
  12. Now actually install CinePlayer.

Open Issues

Here are some issues I haven't addressed yet, but will over time.

  1. No current outstanding issues.

Other setup tasks

Here are things not related to the default installation, but which I do every time I repave a machine.  This is mostly here for my own use, but you might find it useful.

  1. Set the Control Panel to classic view.
  2. Configure Explorer.
    1. Under View:
      1. Set to "Details".
      2. Turn on Explorer Bar, Folders.
      3. Turn on Status Bar.
      4. Turn on Tool Bar, Address Bar.
    2. Under Tools, Folder Options:
      1. Turn on single click, underline when pointed to.
      2. Under View:
        1. On: Display the contents of system folders.
        2. On: Show hidden files and folders.
        3. Off: Hide extensions of known file types.
        4. Off: Hide protected operating system files.
        5. Off: Remember each folder's view settings.
        6. On: Show Control Panel in My Computer.
      3. Under File Types, Folder, Advanced, set default action to "explore".
  3. Configure the Explorer Taskbar.  Turn on "Auto-hide the taskbar" and "Show Quick Launch".  Drag a link to My Computer to the Quick Launch bar.  Delete everything on it except My Computer and Show Desktop.  Other programs will add themselves to Quick Launch, keep deleting them.
  4. Under Control Panel, Security Center, Virus Protection, Recommendations, check "I have another antivirus program that I'll monitor myself".  This stops the annoying pop-up balloons telling you you don't have any virus protection installed.  It's true that I don't, but I don't need it.
  5. Copy /home directories from backups.
  6. Set IE's default page to blank.
  7. Move IE to the pinned Start menu.
  8. Install Google quick search in IE.
  9. Configure Task Manager:
    1. Options: Turn off "Always On Top".
    2. Select "Show processes from all users".
  10. Install Microsoft's PowerToys.  Of these, I install Tweak UI and CD Slide Show Generator.  For Tweak UI, configure:
    1. Taskbar and Start Menu, Grouping, Group any application with at least 2 windows.
    2. My Computer, Auto Play, Drives: disable all drives.
    3. My Computer, Auto Play, Types: disable all types.
    4. Control Panel, turn on "odbccp32.cpl - Microsoft Data Access - ODBC Control Panel".
  11. Disable caps lock with disable_caps_lock.reg.  Alternately, map caps lock to the control key, and disable the left control key with this registry file.  I do this on both my Mac and PC's, to make them more similar.
  12. Install Firefox.  Do a standard install, then these configuration changes:
    1. On: Tools, Options, Tabs, Always show the tab bar.
    2. Off: View, Toolbars, Bookmarks Toolbar.
    3. Import bookmarks to get Quick Searches working.  This feature is so useful, I don't know why they dropped it by default.  I renamed the Google query to "g", and Wikipedia to "w".
    4. Right click on the menu bar, select Customize.
      1. Delete the "Home" icon.
      2. Put the "Print" icon where "Home" used to be.
      3. Add the "Print Preview" icont to the right of "Print" (turns out this isn't possible without an extension - bummer).
      4. Delete the "Search" control.
    5. Install these extensions:
      1. Tab Mix Plus.  Configure:
        1. Display, Tab Bar:
          1. Off: New tab button.
          2. Off: Close tab button.
          3. Off: Hide tab bar when only one tab is open.
          4. When tabs don't fit width: Multi-row.
          5. Max number of rows to display: 3.
        2. Display, Tab:
          1. Off: Highlight Unread Tabs.
        3. Menu, Main Context Menu:
          1. On: Close Tab.
        4. Session, Start/Exit:
          1. On: When Browser Starts, Restore.
      2. Web Developer
      3. Adblock Plus
      4. All-in-One Gestures
      5. LiveHTTPHeaders
  13. Install Thunderbird.  Do a standard install, then these configuration changes:
    1. Copy abook.mab from an older installation of Thunderbird.  This contains the "discovered" email addresses that Thunderbird displays when you type in an address.
    2. Tools, Options, Composition, General, Forward messages inline.
    3. Tools, Options, Composition, General, Return Receipts, Never send a return receipt.
    4. For each IMAP account, set:
      1. On: Server Settings, SSL.
      2. On: Server settings, Clean up ("Expunge") Inbox on Exit.
      3. Off: Composition & Addressing, Compose messages in HTML format.
      4. Sent folder to lowercase "sent", because of a BlackBerry requirement for copying email to "user+sent".
  14. Install the Adobe Acrobat Reader.  Be careful and don't select any other downloads, like Photoshop Album Starter Addition, which Adobe likes to tack on to Acrobat reader downloads.
  15. Install the Flash Reader for FireFox.  Do this by finding a page with Flash embedded, and install it through FireFox.
  16. Install the driver for the HP 2605dn color laser printer.  I'm using the "HP color LaserJet 2605 PCL6 Print Driver Package" Remember, despite the fact that this is a network printer, it needs to be configured as a local printer, creating a new TCP port.  Windows is so funny.
  17. Install the Dina font, my favorite font for programming editors.  You copy the dina.fon file to the \windows\fonts directory to install it.  Despite the fact that Windows acts like you can drag directly from the file directory to the fonts directory, you cannot.  You need to first extract the .fon file from the .zip file, then drag it to the fonts directory.
  18. Install Microsoft Office Pro 2003.
  19. Install Open Office.  Perform a Complete installation.  I'm not currently setting it as the default for any of the Microsoft file formats, but that may change.
  20. Install Secure CRT, the best terminal and ssh client for Windows.  When installing, use a Personal Profile.
    1. Change the global mapping of the backspace key to delete.  Chose Options, Global Options, General, Default Session, Edit Default Settings.  Then Terminal, Emulation, Mapped Keys.  Select "Map a Key" and press the backspace key.  Chose "Send String", with a value of "\177" (without the quotes).  Select Yes when you're asked if you want to apply this to all of your sessions.
  21. Copy Secure CRT to the pinned start menu.
  22. Install cygwin, in c:\opt\cygwin.  Install for all users, using Unix /binary as the default text mode.  Use C:\Documents and Settings\<user>\Local Settings\Temp for temporary files.  Although it's not obvious, there is a way to find out which cygwin package contains a specific file.  I add these packages:
    1. aspell
    2. bc
    3. binutils
    4. curl
    5. enscript
    6. file
    7. font-adobe-dpi75
    8. inetutils
    9. netcat
    10. openssh
    11. patch
    12. ping
    13. psmisc
    14. rsync
    15. shutdown
    16. unzip
    17. util-linux
    18. vim
    19. wget
    20. xorg-server
    21. zip
  23. Configure the HOME environment variable, in My Computer, Properties, Advanced, Environment Variables.  Make it a user-specific value.  This is needed for cygwin to find dot files.
  24. Edit the password file (vi /etc/passwd), and fix the home directories to by /cygdrive/c/home/<user>.
  25. Copy (via right-click drag and drop) a link to the bash shell to the pinned start menu.
  26. Launch a bash shell.  Under Properties, Options turn on Quick Edit mode.  Under Properties, Font set the font to be Lucida Console 12 point.  Under Properties, Layout set the Window Size to be 132x50, and set then Screen Buffer Size Height to be 2000.  Under Properties, Colors set the Screen Background to be dark blue, and the Screen Text to be bright white.  Save, and select "Modify shortcut that started this window".  I'd like to find a way to make the font Dina, but I've been unable to get that to work, yet.
  27. Configure the Cygwin X Server to automatically start.
  28. Install the fullbin version of GNU emacs in c:\opt\emacs.  For emacs 21.3, this will create a directory c:/opt/emacs/emacs-21.3.
  29. Under C:\Documents and Settings\<user>\SendTo, create a shortcut to C:\opt\emacs\emacs-21.3\bin\runemacs.exe, named "emacs".
  30. Install ActiveState Python version 2.4 into c:\opt\python24.  Accept all of the other installation defaults.
  31. Install the Unicode version of windirstat in c:\opt\windirstat.  Under C:\Documents and Settings\<user>\Start Menu\Programs, create a link to windirstat.exe, named WinDirStat.
  32. Install the Sonos Desktop Controller.  Depending on the configuration, go to Music, Setup Music Library, Add a Share.  Answer Yes to the firewall question.
  33. Install the Rhapsody Player.  Log in to Rhapsody, then select Reinstall Rhapsody.  De-select Rhapsody as default player for all audio file types.  When you reboot, Rhapsody will launch, ask you to log in, and ask to install an Adobe viewer.  I'm not sure why it needs to install this, but I let it.
  34. Install the BlackBerry Desktop Manager.  I installed an older version from T-Mobile.  I'm not sure if newer versions from BlackBerry itself would work.  Perform a typical installation.  Select BlackBerry Internet Service.  Do not run automatically on system startup.  Configure Options, Connection Settings, Connection to be USB.
  35. Install iTunes.  Edit, Properties, Advanced, General, disable "Look for remote speakers connected with AirTunes".  Edit, Properties, Advanced, Importing, set Import Using to MP3 Encoder, set to Highest Quality (192 kbps).  Edit, Properties, Parental Control, select "Disable iTunes Store".
  36. Configure rsync to allow a dirvish backup:
    1. Create an rsync service:

      cygrunsrv --install=rsyncd --path=/usr/bin/rsync.exe \
        --args='--config=/etc/rsyncd.conf --daemon --no-detach' \
        --disp='rsync daemon' --desc='Fast incremental file transfer' \
    2. Configure rsync service in /etc/rsyncd.conf (c:/opt/cygwin/etc/rsyncd.conf):
      gid = users
      read only = true
      use chroot = false
      transfer logging = true
      log file = /var/log/rsyncd.log
      log format = %o %h [%a] %m (%u) %f %l %b
      hosts allow = <local network address>/24
      hosts deny =
      strict modes = false
      path = /cygdrive/c/
      auth users = <some-user>
      secrets file = /etc/rsyncd-drive-c.secrets
      ignore nonreadable = true
    3. Create the password file /etc/rsyncd-drive-c.secrets (c:/opt/cygwin/etc/rsyncd-drive-c.secrets) , it must match the corresponding password on the dirvish server.  XXX Set this as readable only by localsystem: how to do this in XP?
    4. In Control Panel, Windows Firewall, Exceptions, Add Port, add an exception called "rsyncd" for TCP port 873.
  37. Configure the system to use NTP for setting the local time:
    net time /setsntp:<ntpserver>
  38. Install Trillian Basic.  Configure for MSN and IRC.
  39. To allow creating of PDF files from all Windows programs, install PDFCreator.
  40. XXX: /usr/local/bin? /home/local/bin?
  41. XXX: plone, diyplonestyle

    If you enjoyed this article, we invite you to learn more about how you can become a high achieving computer professional.

Document Actions
« August 2017 »