Posts tagged “windows”.

Tuning the Windows environment – Windows XP re-install

Tuning the Windows environment – Windows XP re-install

Here is a guide to refurbish a Windows XP Laptop system; in other words, re-installing Windows from scratch. In this case, the Laptop was a Toshiba Satellite 1800-514 which has a Celeron 1 GHz processor and 384 Mb RAM (128MB + 256MB) installed and a 15Gb internal hard drive. It is a ‘legacy’ system with limited resources, indeed. However, with some tweaking, it will still perform well for common applications. After customization, the system was able to run iTunes 9, Mozilla Firefox and Microsoft Office 2003 suite.

1)      Backup all data.
Make sure you are logged on with administrator privileges. Change the folder options to include hidden files and system folders.
Search the system for data files. Not all files may reside under ‘My Documents’, in particular also scan the Shared folders on the system.
An easy way to perform the backup is to use the ‘Sysback’ tool.

2)      Backup user profile specific files.
Custom desktop wallpaper files are stored in C:\Documents and Settings\<user profile>\Local Settings\Microsoft\
Custom account picture files are stored in C:\Documents and Settings\All Users\Application Data\Microsoft\User Account Pictures\

3)      Backup user mailboxes.
In case of Microsoft Outlook Express, it wise to follow my Microsoft Outlook Express housekeeping steps.

4)      Backup or get a copy of specific drivers for video, sound, modem and network support. In particular, keep a copy of the video drivers; download the most up to date copy from the manufacturer’s site (e.g. NVIDIA or ATI), if necessary. Check if any other specific files or settings have to be saved. Check the equipment model and version in the Device Manager (Control Panel, System, Hardware). The auto detection of some of the devices may not work for older systems, so write them down.

5)      Save your Wireless Network Connection settings, in particular, ensure you note the network name (SSID) and security key.

6)      Set the CD-ROM as first bootable drive in the BIOS and reboot the system with the Windows XP installation CD. Remove all external drives! If not, windows may install them as system drives.

7) Before starting the windows installation process, check the available partitions. Ideally, you should create a partition to install windows on (with at least 30 Gb) and a partition for the user data files (any remaining space). If the drive is too small (50 Gb or less), just use one partition. More information about partitioning is available in my ‘dedicated data partition‘ post. In this case the system has only 15 Gb, which means that you should remain with only one partition.

8) Once Windows has been installed, proceed with the custom driver installation. The first to update is the video driver. Then check the Control Panel, System, Hardware, Device Manager: for any device with a (yellow) question mark, you will need to install or update the driver. Use the files from step 4, install from the manufacturer CD (if available) or download from the internet. This step is only successful if no question marks occur in the Device Manager list. You may need to reboot the system after installation of some device drivers.

9)      Start the customization of your windows environment:
Regional and Language Options (in the Control Panel) are a minimum to verify, in particular the keyboard settings (in the Languages tab, Details) need to match the attached keyboard lay-out.
Name and Company Information can be changed in the Registry. Follow the Microsoft instructions.
Apply the items of my ‘Windows XP optimization‘ post.
In this particular case, I applied additional tweaks to improve the performance:

  1. Verification if some services can be disabled (refer to my ‘disable services’ post).
  2. Prefetch setting was set to value 1-App launch (instead of 3-Both):
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnablePrefetcher].
  3. Last Access Timestamp was disabled
    [run: FSUTIL behavior set disablelastaccess 1]
  4. DOS 8.3 filename creation was disabled
    [run: FSUTIL behavior set disable8dot3 1]
  5. Performance counters were disabled
    [HKEY_LOCAL_MACHINE \SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib]
    (run regedit and create DWORD ‘DisablePerformanceCounters’)
    Set the value of DisablePerformanceCounters to 1
  6. Disable ‘Automatically search for network folders and printers’ in the Control Panel, Folder Options, View tab.
  7. Process idle tasks in the background (this operation may be periodically repeated).
    (run ‘Rundll32.exe advapi32.dll,ProcessIdleTasks’)

10)   Set the Hard Drive as first bootable drive in the BIOS and reboot the system. Make sure the system is connected to the internet (a wired connection, not Wi-Fi), to allow windows updates to occur. The system may need to be rebooted upon request. In this particular case, only a Wi-Fi adaptor was available.

11)   Install all applications (respect the copyrights) and printers. This may be a good opportunity to upgrade the system with the latest version of the applications. Check on the software developer’s site if any new versions are available. In this case, Firefox 3.5.5 was installed instead of Internet Explorer 8.  Firefox performed better when I checked the performance of the browser, using the Network Tools on my ADSL page.

12)   Create a system ‘restore point’ (Start, Programs, Accessories, System Tools, System Restore).

13)   Restore the data from step 1, 2 and 3. Check the user privileges and access rights of the restored data (try to copy a file to an USB key, to check the file access rights).

14) Perform the five essential steps in XP Maintenance.

Tuning the Windows environment – Windows XP re-install

Windows XP re-install

Here is a guide to refurbish a Windows XP desktop system; in other words, re-installing Windows from scratch. In this case, the desktop was a Dell Dimension 4550 on which three user profiles were defined.

1)      Backup all data for each user profile.
Make sure you are logged on with administrator privileges. Change the folder options to include hidden files and system folders.
Search the system for data files. Not all files may reside under ‘My Documents’, in particular also scan the Shared folders on the system.
An easy way to perform the backup is to use the ‘Syncback’ tool.

2)      Backup user profile specific files.
Custom desktop wallpaper files are stored in c:\Documents and Settings\<user profile>\Local Settings\Microsoft\
Custom account picture files are stored in C:\Documents and Settings\All Users\Application Data\Microsoft\User Account Pictures\

3)      Backup user mailboxes.
In case of Microsoft Outlook Express, it wise to follow my Microsoft Outlook Express housekeeping steps.

4)      Backup or get a copy of specific drivers for video, sound, modem and network support. In particular, keep a copy of the video drivers; download the most up to date copy from the manufacturer’s site (e.g. NVIDIA or ATI), if necessary. Check if any other specific files or settings have to be saved.

5)      Set the CD-ROM as first bootable drive in the BIOS and reboot the system with the Windows XP installation CD. Remove all external drives! If not, windows may install them as system drives.

6)      Before starting the windows installation process, check the available partitions. Ideally, you should create a partition to install windows on (with at least 30 Gb) and a partition for the user data files (any remaining space). If the drive is too small (50 Gb or less), just use one partition. More information about partitioning is available in my ‘dedicated data partition‘ post.

7)      Once Windows has been installed, proceed with the custom driver installation. The first to update is the video driver. Then check the Control Panel, System, Hardware, Device Manager: for any device with a (yellow) question mark, you will need to install or update the driver. Use the files from step 4, install from the manufacturer CD (if available) or download from the internet. This step is only successful if no question marks occur in the Device Manager list. You may need to reboot the system after installation of some device drivers.

8)      Start the customization of your windows environment:
Regional and Language Options (in the Control Panel) are a minimum to verify, in particular the keyboard settings (in the Languages tab, Details) need to match the attached keyboard lay-out.
Name and Company Information can be changed in the Registry. Follow the Microsoft instructions.
Apply the items of my ‘Windows XP optimization‘ post.

9)      Set the Hard Drive as first bootable drive in the BIOS and reboot the system. Make sure the system is connected to the internet (wired connection, not Wi-Fi), to allow windows updates to occur. The system may need to be rebooted upon request.

10)   Install all applications (respect the copyrights) and printers. This may be a good opportunity to uprade the system with the latest version of the applications. Check on the software developer’s site if any new versions are available.

11)   Create a system ‘restore point’ (Start, Programs, Accessories, System Tools, System Restore).

12)   Create the user profiles and restore the data from step 1, 2 and 3. Check each user profile, in particular the user privileges and access rights of the restored data (try to copy a file to an external drive, to check the file access rights).
Visual Effects may need to be reviewed for each user profile.

13)   Perform the Five essential steps in XP Maintenance.

Tuning the Windows environment – Reclaim Disk Space

Reclaim Disk Space after an XP Hotfix Installation

To reclaim diskspace from Hotfix installations, you can use a freeware:

XP_Remove_Hotfix_Backup.exe

this utility removes Hotfix Backup files and the Add/Remove Programs Registry entries.

Reclaim Disk Space after Vista Service Pack Installation

For Vista SP1 you may use the File Removal Tool Vsp1cln.exe from the command line.

For Vista SP2 you may use the File Removal Tool compcln.exe from the command prompt.

Keep in mind that once you have run these tools, the Service Packs cannot be uninstalled.

You may also refer to the Microsoft article about the Windows Installer Cleanup (MSICUU2.exe) utility.

 

Reclaim Disk Space after Windows 7  Service Pack Installation

For Windows 7 SP1 you may use the Disk Cleanup Tool and use the Systems Files Cleanup option:

Alternatively, you may also run (as administrator) the command line:

dism /online /cleanup-image /spsuperseded

To save even more disk space, you may also cleanup obsolete restore points in the Other Options menu:

Tuning the Windows environment – XP Housekeeping

XP Housekeeping

The foundation to make the housekeeping process easy and efficient is the partioning of my hard disk(s).

While the primary partition holds the operating system and programme files, the secondary is dedicated to the data files. This way, the operating system may be re-installed at any time without data loss. Disk cleanup and defragmentation will run faster and more efficient. Finally, also the system performance may be improved.

Removing unused and temporary information from your system allows Windows to run faster and more efficiently:

  • Perform a regular disk cleanup and defragmentation of the volumes
  • Perform a regular registry cleanup and defragmentation
  • Perform a regular complete virus scan of your disks
  • Perform a regular complete spyware scan of your system
  • Defrag the pagefile

Check my related posts:

Five Essential Steps in XP Maintenance‘,

Windows XP Optimization‘,

optimize XP for audio and video‘,

disable services‘,

reclaim disk space‘,

and Best of Breed section for a selection of freeware tools to help you with these tasks.

Dutch speaking users may check PcLeek.com which offers an excellent digest of XP and Vista help pages!

Check out the Windows Sysinternals website for latest tool developments.

Protected: Manual configuration of IP Addresses

This content is password protected. To view it please enter your password below:

Tuning the Windows environment – Windows XP optimization

Tuning the Windows environment – Windows XP speed optimization

Here is a list of items that I apply to optimize a Windows XP system.

1)      Review the System Properties
Adjust the Performance Options in the Advanced Tab:

  1. Visual Effects:
    Adjust for best performance.
    In case you want to keep the look and feel of XP, then tag:
    visual styles, common tasks in folders, show window contents while dragging, smooth edges of screen fonts, smooth-scroll list boxes.
    Visual Effects
    Additionally, you may disable the Start Menu delay in the registry:
    [HKEY_CURRENT_USER\Control Panel\Desktop\]
    set MenuShowDelay to 0
  2. Virtual Memory (Advanced Tab):
    Adjust the pagefile size used for Virtual Memory (a.k.a. swap file). The recommended size is equivalent to 1.5 times the amount of physical installed memory (RAM) on your system.
    In case you have a (fast) secondary or subsequent physical internal drive installed in your system (not an external drive), you may opt to move the paging file to one of these drives.
    Virtual Memory
  3. Disable Error Reporting (Advanced Tab)
    Error Reporting
  4. Adjust Environment Variables (Advanced Tab)
    Match the location for the ‘Temp’ directory in the ‘User variables’ and in ‘System variables’
    Temp Variables
  5. Adjust the Automatic Updates selection to Notify only.
    Automatic Updates
  6. Review the Device Manager IDE controllers (Hardware Tab)
     Enable DMA on primary IDE channel
    IDE Channel

2)      Disable indexing services
In Control Panel, choose Administrative Tools, Services, Indexing Service.
By default, indexing is disabled on my System Hard Disk partition. Other drive partitions should also be considered, if the Search function is not or seldom used.
Indexing Services

3)      Clear Virtual Memory Pagefile
The Virtual Memory Pagefile (a.k.a. swap file) may become fragmented.
I use two options to keep this file ‘tidy’:
option 1: Regularly perform a pagefile defrag (see ‘Five essential steps in XP Maintenance‘).
option 2: Clear Virtual Memory Pagefile at shutdown
This option is also used for security purposes. It ensures that no traces are left on the system and prevents other operating systems to ‘sneak’ into this file.
The backdraw is a slower shut down.
Enable this policy in the registry to clear the system Pagefile upon shutdown.[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
Set ClearPageFileAtShutdown value to 0

Clear Virtual Memory

4)      Move the Temporary Internet Files (TIF) folder from the default location.
In ‘Internet Options’, select the ‘General’ tab, Temporary Internet Files box, Settings button, Move Folder button. Move the folder to the root location of any of the permanent drive partitions (like D:\). Note that this is a hidden folder and therefore may not be visible by default.

Tuning the Windows environment – Name and Company Information entries

Name and Company Information (after installation of Windows XP) can be changed in the Registry.

Follow the Microsoft instructions:

Click Start, and then click Run.

In the Open box, type regedit, and then click OK.

Locate the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

To change the company name, do the following:

In the right pane, double-click RegisteredOrganization. Under Value data, type the name that you want, and then click OK.

To change the name of the registered owner, do the following:

In the right pane, double-click RegisteredOwner. Under Value data, type the name that you want, and then click OK.

Click Exit on the File menu to quit Registry Editor.

source: Microsoft Support Website

FileZilla Server – removable drive support


FileZilla Server for windows removable drive support

To support several drives, including removable drives, you need to create an alias for every resource other than your homedirectory.

FilleZilla

Here is how you can add directory aliases to Filezilla server:

1) Start the Filezilla server interface

click the user/group button on the menu bar, create a user/group if you don’t have one already.

2) Select Shared folders from the left panel, and select a user/group from the right panel

3) Right click one of the directories other than the home directory (denoted by a leading H) and choose Edit Aliases from the popup menu (see picture above – shared drive L:).

4) Enter the alias for the directory with a leading slash “/”. For example, /LaCie (for an USB attached drive)

5) Click OK to close Enter Directory Alias dialog and click OK on Users/Groups dialog to make the changes take effect.

Now shared drive ‘L:\ will be available as /LaCie for your ftp clients.

Tuning the Windows environment – Five essential steps in XP Maintenance

Five essential steps in XP Maintenance

Check the disk space for a successful defragmentation. If the system disk has less than 10% free space then install the tools in the next steps on another partition. If no other partition is available, then uninstall unused software first.

1) Cleanup the XP hotfixes and reclaim disk space (see related post)

2) Cleanup the temporary and unused files and the registry (use a cleanup tool like ‘ccleaner‘)

3) Defragment the system disk (use a tool like MyDefrag)

4) Defragment the registry (use a tool like Auslogics registry defrag)

5) Defragment the Pagefile (use a tool like Windows Sysinternals PageDefrag)

pc maintenance

Protected: MAC OS – Repository

This content is password protected. To view it please enter your password below: