rss

contact me

Medan, North Sumatera, Indonesia
Computer Technical support & information

Friday, August 21, 2009

How to Fix Windows Installer Errors

For Windows XP, 2000, & NT

1. Click Start

2. Click Run

3. Enter the following command (as illustrated) and then click OK.

msiexec /regserver

Fix Windows Installer Error

If the command above produces a path not found error, enter one of the following commands:

(WinXP) C:\Windows\system32\msiexec.exe /regserver

(Win2000 & Winnt) C:\Winnt\system32\msiexec.exe /regserver



For Windows 95 & 98

1. Click Start

2. Click Run

3. Enter the following command (as illustrated) and then click OK.

msiexec /regsrv32

Fix Windows Installer Error

If the command above produces a path not found error, enter the following command:

(WinXP) C:\Windows\system\msiexec.exe /regsrv32

Wednesday, August 12, 2009

Shutdown is very slow - Windows XP

When you shutdown your Windows XP computer, it may take more time to complete the shutdown process. Slow shutdowns are caused by a number of factors. One of the common cause is the Clear Pagefile at Shutdown option enabled.

Virtual memory support uses a system pagefile to swap pages of memory to disk when they are not used. On a running system, this pagefile is opened exclusively by the operating system, and it is well protected. However, systems that are configured to allow booting to other operating systems might have to make sure that the system pagefile is wiped clean when this system shuts down. This ensures that sensitive information from process memory that might go into the pagefile is not available to an unauthorized user who manages to directly access the pagefile.

When this option is enabled, it causes the system pagefile to be cleared upon clean shutdown. This takes considerable time of the Operating System to flush-out the pagefile, thus causing the slow shutdown. You may disable ClearPageFileAtShutdown option to improve shutdown times. But the pagefile.sys will be intact and accessible via other Operating System, in case or dual or multi-boot.

Some points to improve the shutdown times

Start Registry Editor and navigate to the following key:

[HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]

Set ClearPageFileAtShutdown value to 0

Or, using Group Policy Editor [for Windows XP Professional]

Click Start, Run and type Secpol.msc
Click Local Policies | Security Options
In the right-pane, set Shutdown: Clear virtual memory pagefile to Disabled

Remove the .NET Credentials (Stored User names and Passwords)

To remove the Stored User Names and Passwords from your system, try this:

  • Click Start, Run and type Control keymgr.dll
  • Remove the entries from the list.

The other ways to access this dialog are:

Type Control Userpasswords2 in RUN box, click Advanced, Manage Passwords

-or-

From Control Panel, select your User Account, click Manage your network passwords

Repair Windows Firewall

Symptoms

  1. Windows Firewall/Internet Connection Sharing (ICS) service not listed in Services.msc Console.
  2. Windows Firewall/Internet Connection Sharing (ICS) service is listed in Services Console, but you may not be able to start the service.
  3. The following error occurs when accessing the firewall settings (firewall.cpl)

Due to an unidentified problem, Windows cannot display Windows Firewall settings.

Cause

This happens due to missing or corrupt SharedAccess registry key, which represents the Windows Firewall Service. This usually occurs if your system is infested with Virus or other Malware, or in the aftermath of Virus removal. In conjunction with the solution provided in the article, it's advisable to run a thorough cleanup of the system.

Solution :

Download sharedaccess.reg (only for Windows XP systems with Service Pack 2 or Service Pack 3 applied) and save to Desktop. Then double-click the file to merge the contents to the registry. The Services entry will be created. Restart Windows (mandatory step, otherwise the following NETSH command might display an error).

After restarting Windows, execute the following command via Start, Run dialog:

CMD /K NETSH FIREWALL RESET

Launch firewall applet from Control Panel, and see if you're able to configure the Windows Firewall settings.

If the above steps do not help, as a last resort solution (before attempting to reinstall the Service Pack), give the following commands a try:

Click Start, Run and type:

rundll32 setupapi,InstallHinfSection Ndi-Steelhead 132 %windir%\inf\netrass.inf

The above command repaired most of the Windows Firewall settings when I tested. After running the above command, restart Windows and then run the following:

CMD /K NETSH FIREWALL RESET

Attempt to start Firewall applet. Start the Windows Firewall service when prompted.

Repair Computer Browser if not start in Services Console

Computer Browser service
http://www.blackviper.com/WinXP/se [...] er_Browser

The Computer Browser service depends on the Server service and the
Workstation service. These two services have to be running before the
Computer Browser service can start.

Open Services...
Start | Run | type: services.msc | Click OK |
Scroll down to and double click Server |
Set Startup type to Automatic | Click Apply |
Click the Start button | When the Server service starts,
Click OK | Scroll down to and double click Workstation |
Set Startup type to Automatic | Click Apply |
Click the Start button | When the Workstation service starts,
Click OK | Close Services

If the Workstation service is not listed in Services...

The Client for Microsoft Networks component is actually the Workstation
service.

Network Connections | Right click: Your Connection | Properties | General
tab | Install button | Highlight: Client | Add button | Highlight: Client
for Microsoft Networks | OK | Close

Removing Client for Microsoft Networks Removes Other Services
http://support.microsoft.com/defau [...] -us;322267

If the Server service is not listed in Services...

This will restore the Server service (lanmanserver).

Start | Run | Type: ncpa.cpl | OK |
Right click Your Connection | Properties |General tab |
Install button | Highlight: Service | Add button |
Highlight: File and Printer Sharing for Microsoft Networks | OK |
Close

Server
[[Used for file and print sharing from your computer or Message Queuing. For
security purposes, you may disable this service if you do not require local
printers and files shared across your network. Connectivity, however, still
exists even on incoming shared network drives. Workstation needs to be
running to connect to another computer that has the files you are looking
for. Note: If you disable File and Print sharing, the Server Service may
disappear from the Services listing. Just enable File and Print sharing
again and the Server Service will return.]]
http://web.archive.org/web/2004101 [...] ice411.htm

Hack Network Passwords in 13 Steps

Does the title attracts your attention? It certainly attracts mine. Came across this in Digg which then further leads me to a forum. The following tutorials teaches you how to sniff a password file from a windows network. This is only for educational purposes, your wild imagination is not my responsibility.

  1. Download, install and run Cain & Abel at http://www.oxid.it/cain.html
  2. Click “Configure” in the top bar.
  3. In the “Sniffer” tab, click the adapter which is connected to the network to be sniffed, then click “Apply”, then “OK”.
  4. Click the “Sniffer” tab in the main window.
  5. Click the network card in the top bar (2nd icon from the left).
  6. Click the “+” button in the top bar.
  7. Select “All hosts in my subnet”, click “OK”. Entries should appear in the main window under the “IP address”, “MAC address” and “OUI fingerprint” headings.
  8. From the “Sniffer” tab, click “APR” in the bottom tab.
  9. Click the top right pane in the main window. Click the “+” button in the top bar.
  10. Click on the router in the left pane. The router is generally the entry which has the lowest final IP value (xxx.xxx.xxx.*). Highlight the IP addresses to sniff in the right pane. Click “OK”.
  11. Click the ARP icon in the top bar (3rd icon from the left). Wait until other users have logged into websites on other computers. Depending on the size of the network and the traffic which this network receives, this can range from minutes to hours.
  12. After some time has passed, click “Passwords” in the bottom tab.
  13. In the left pane, select the bolded entries. The right pane should show the time, server, username, password (in plaintext) and site accessed.

Hacking DeepFreeze

I don't know if it is allowed to post tutorials here, put i feel like i have to share my personal experience when it comes to this nice app.

To start of the tutorial i have to say, that recently I'm busy playing the role of a network admin, and since the network needed some work, and the computers have deep-freeze on them i had to find a way to bypass it, because nobody knew the password(yeah...what a Nice job i have).
So this tutorial is not meant to be used to hack the system at your school, library or any other place which uses this software to protect the PC's.

So let's start.

Step I:
Setup the PC so that it boots from the CD, i think i don't have to say how that can be done :wink:

Step II:
Download Admin Pack from Winternals.com, you need a payed email address, they wont send you the link if you provide a free email address like @yahoo.com,@gmail.com and so on.

Step III:
Burn yourself a copy of ERD Commander 2005, you can use the wizard.

Step IV:
Boot from the CD and wait until ERD starts. Once started use regedit and navigate to:
HKLM\System\ControlSet001\Services\DepFrzLo
make a backup copy of that key, and then proceed to deleting everything except the "installpath" key
Once that is done, reboot the computer and start normally, now it will take abit more than usually but once Windows starts you will be happy to see that there is no deep-freeze started, and everything you do will remain there :smile: Unfortunately this method can't be used to uninstall Deep-Freeze, but it's good if you want to make a quick change and don't know the password

Step V:
If you want to restore deep-freeze, boot from the CD and use your backup :smile:You did make a backup didn't you?

I hope this helps someone, this method can't be found searching with google(trust me i searched allot for a way to bypass the password) so i think it's an asset :smile:

The lines above are provided "AS IS", i am not responsible if you kill and/or damage your or anybody elses computer with these instructions.
I AM NOT RESPONSIBLE FOR WHAT YOU DO WITH THE INFORMATION PROVIDED IN THIS ENTRY.

Fast up you internet connection!

I found this trick while messing up with group policy editor.

That ...Microsoft reserves 20% of your available bandwidth for their
own purposes like Windows Updates and interrogating your PC etc. same
issue is with all Microsoft OS by default.

You can get it back:
Click Start then Run and type "gpedit.msc" without quotes.
This opens the group policy editor.
Then go to: Local Computer Policy then Computer Configuration then
Administrative Templates
Then Network then QOS Packet Scheduler
And then to Limit Reservable Bandwidth.
Double click on Limit Reservable bandwidth.
It will say it is not configured, but the truth is under the 'Explain'
tab i.e." By default, the Packet Scheduler limits the system to 20
percent of the bandwidth of a connection, but you can use this setting
to override the default.
"So the trick is to ENABLE reservable bandwidth, and then set it to
ZERO. This will allow the system to reserve nothing, rather than the
default 20%.
It works on Win 2000 as well. How did you like it? Please comment.

Note: This trick works only for windows xp sp2 professional and
windows 2000 professional. It does not work on windows xp sp2 home
edition As there is no way to edit group policy editor.....

Remove W32/Sality.AE

Sality is an computer virus which will infected any files with extension .exe .com and .scr , sality will using your default share folder to spreading in your network area beside that sality using old autorun.inf technique also to spreading. Your application will become a little bigger in size around 60kb-80kb after sality infected it.

No need to hide this virus was created in China /Taiwan it have some website list to update himself with new varian some of them pedmeo222nb.info, pzrk.ru, technican.w.interia.pl, www.kjwre9fqwieluoi.info and many more. Blocking this site list using hosts file might help you in short condition but after it updated you might in trouble again. like almost smart virus in the past sality have protection to keep him alive in their computer target. Sality will kill any application/website with some string list such as, avast! Antivirus, F-Secure Gatekeeper Handler Starter, NOD32krn and many more. Sality will blocking your firewall, security notification, and also your computer safe mode.

The easiest way to know if you’re infected by this virus is you can’t boot your computer in safe mode or some application will not run when you open it. When this happen follow this step…..

Remove W32/Sality.AE

1. Disconnected your computer from the network.

2. Turn off “System Restore” when in cleaning process.

3. Turn off “Autorun” and “Default Share” download this file right click on it then choose install.

4. Kill active process in your computer backround and checking your startup file you can use hijackthis.

5. Scan with Norman Malware Cleaner please note because this virus will infected files with extesion .exe com and .scr you have to rename Norman_Malware_Cleaner.exe with new extension example Norman_Malware_Cleaner.cmd

please make sure you downloaded fresh new cleaner from norman official website and don’t run it before you change the extension or this cleaner will got infected first before he can eliminate sality.

6. For repair your computer to booting in safe mode please download this file and merge only one that same with your windows version.

7. Repair your registry using this file right click on it then choose install.

8. Reboot your computer and scan again with norman malware cleaner, after that reboot again to make sure your system clean.

As more and more of us load up our systems with lots and lots of RAM, this question surfaces more and more. You put 4GB in your computer. The motherbo

As more and more of us load up our systems with lots and lots of RAM, this question surfaces more and more. You put 4GB in your computer. The motherboard supports 4GB, Windows XP and Vista support 4GB, so everything is fine.

But when you open the System applet in Control Panel, the system tells you that there is 3.5GB, or maybe 3 GB even. Where did the rest go?

It turns out that these systems have a 4GB address space, which must be used to address physical RAM, as well as other things. This is addressed in the Microsoft document Memory Management: What Every Driver Writer Needs To Know. In particular, the fourth full paragraph on page 10 says:

The physical address space is used to address more than just RAM. It is also used to address all of the memory and some of the registers presented by devices. Consequently, if a machine is configured with the maximum amount of physical memory, some of that memory will be unusable because some of the physical address space is mapped for other uses.

So the machine must use that 4GB address space for other things besides your RAM. But what other things?

I recently had a new Dell Optiplex computer put on my desk at work. Being curious, I went to the Dell web site and found the manual for this computer. In that document, it says this:

This computer supports a maximum of 4 GB of memory when you use four 1-GB DIMMs or two 2-GB DIMMs. Current operating systems, such as Microsoft® Windows® XP, can only use a maximum of 4 GB of address space; however, the amount of memory available to the operating system is less than 4 GB. Certain components within the computer require address space in the 4-GB range. Any address space reserved for these components cannot be used by computer memory.

The following components require memory address space:

  • System ROM
  • APIC(s)
  • Integrated PCI devices, such as network connectors and SCSI controllers
  • PCI cards
  • Graphics card
  • PCI Express cards (if applicable)

At start-up, the BIOS identifies the components that require address space. The BIOS dynamically calculates the amount of reserved address space required. The BIOS then subtracts the reserved address space from 4 GB to determine the amount of usable space.

If the total installed computer memory is less than the usable space, all installed computer memory is available for use only by the operating system.

If the total installed computer memory is equal to or greater than the usable address space, a small portion of installed memory is unavailable for use by the operating system.

The first thing that I see on this list is “Graphics card”. Video cards nowadays commonly have one or two hundred MB of RAM on them. That video RAM takes up part of the 4GB address space, which then is not available for your physical RAM.

With all of that understood, I’m still hard pressed to fugure out where an entire GB of address space goes.

Another very good discussion of this topic is HP's RAM Allocation with Microsoft Windows XP Professional (32 & 64-bit).

The ultimate solution to this is 64-bit computing. A 64-bit computer running a 64-bit operating system will have an enormous address space. The Microsoft document referenced above says that 32-bit Windows XP allows 128GB of RAM. That's 37 bits of address space. (a full 64-bit address space would be something like 18 quintillion (18x1015) bytes. I don't think any hardware or software manufacturer is to that point yet.) That system would have no problem accessing every bit of your 4GB of RAM.

What about the /3GB switch?

It doesn't apply.

The /3GB switch in the boot.ini file affects the way Windows XP allocates the 32-bit virtual address space that each process gets. By default, that address space is split evenly between the operating system and the program. The /3GB switch forces the OS to allocate 3GB to the program and only 1GB to the system. This can result in the OS being squeezed and not working efficiently. It's necessary for only a very few, extremely RAM-hungry programs. It will not make your missing physical RAM reappear.

USB Ubuntu Edgy install tutorial for Linux Users

USB Ubuntu install from Linux This tutorial enables you to install, boot and run Ubuntu Linux from USB. When booting Ubuntu in persistent mode, it uses a "casper-rw" partition to save your changes back to the drive, restoring them on each boot. The tutorial is similar to the USB Ubuntu installation tutorial for Windows users with the exception that it was written with a Linux user in mind. If your already working from a Ubuntu Linux desktop environment and do not have access to or prefer not to use a Windows computer, this tutorial is for you.

Ubuntu® is a product of Canonical ltd.

Screenshot of Ubuntu Edgy 6.10 running from USB:

Ubuntu Screenshot

Requirements:

  • Ubuntu.ISO (tutorial is done from the Live CD)
  • CD Burner/Recorder
  • 1GB or larger USB flash drive

USB Ubuntu installation tutorial:

  1. Download the Ubuntu 6.10 Edgy ISO and burn it to a CD
  2. Reboot your computer into Ubuntu from the Live CD
  3. Insert a 1GB or larger USB flash drive
  4. Open a terminal window and type sudo su
  5. Type fdisk -l to list available drives/partitions. Note which device is your flash drive (example: /dev/sda) Throughout this tutorial, replace x with your flash drive letter. For example, if your flash drive is sdb, replace x with b.
  6. Type umount /dev/sdx1
  7. Type fdisk /dev/sdx
    • type p to show the existing partition and d to delete it
    • type p again to show any remaining partitions (if partitions exist, repeat the previous step)
    • type n to make a new partition
    • type p for primary partition
    • type 1 to make this the first partition
    • hit enter to use the default 1st cylinder
    • type +700M to set the partition size
    • type a to make this partition active
    • type 1 to select partition 1
    • type t to change the partition filesystem
    • type 6 to select the fat16 file system
    • type n to make another new partition
    • type p for primary partition
    • type 2 to make this the second partition
    • hit enter to use the default cylinder
    • hit enter again to use the default last cylinder
    • type w to write the new partition table
  8. Type umount /dev/sdx1 to ensure the 1st partition is unmounted
  9. Type mkfs.vfat -F 16 -n usb /dev/sdx1 to format the first partition
  10. Type umount /dev/sdx2 to ensure the 2nd partition is unmounted
  11. Type mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
  12. Remove and Re-insert your flash drive
  13. Back at the terminal, type sudo apt-get install syslinux mtools
  14. Type syslinux -sf /dev/sdx1
  15. Download this custom usyslinux.tar file using the archive manager and extract the syslinux.cfg file to your "USB" stick
  16. Type cd /cdrom
  17. Type cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz install/mt86plus /media/usb/
  18. Reboot your computer and set your system BIOS to boot from USB-HDD or USB-ZIP. Also set the boot priority if necessary.

If everything has gone as it should, you should now be able to boot Ubuntu from the USB flash device and it should save your changes, restoring them on boot.

Notes: If your having trouble getting Ubuntu to boot, your memory stick may have a corrupted mbr. To repair the mbr of your USB device, at the terminal type sudo apt-get install lilo then type lilo -M /dev/sdx (replacing x with the letter of your flash device)

BOOT BARTPE FROM A FAT32 FORMATTED DRIVE (Great for 8+ gigabyte drives)

Tools Required


Steps
  • Insert your USB key and your Windows 98 floppy

  • Open the HP USB Disk Storage Format Tool
    • Select your USB key
    • Set the file system to FAT32
    • Check "Create a DOS startup disk"
    • Tell it to use the DOS system files located at A:
    • Click "Start" and let it go.


  • Open PEtoUSB.exe
    • Check "Enable File Copy" and select Overwrite Always from the drop-down
    • Click "Start" and wait for the file copy to finish


  • Select all the files for GRUB4DOS and copy them to the root of the USB key.
    • Allow it to overwrite config.sys
    • Open config.sys and edit the second line to read:

      CODE
      device=grub.exe --config-file="color black/cyan yellow/cyan;timeout 0;default 0;title find and load NTLDR of Windows NT/2K/XP;find --set-root /ntldr;chainloader /ntldr"


      This will allow it to go straight to the NTLDR process.


  • Boot your USB key.


Interesting side effect - When you boot off of the USB key, you will see the Windows 98 splash screen, followed by the Windows XP boot process and splash screen.

This is confirmed working on an 8gb SanDisk Cruzer Micro. After trying various different things, I stumbled upon success with these steps. Hopefully my steps will help others out there trying to accomplish the same thing.

Install Windows XP on the Asus Eee PC

Installing Windows XP on the Asus EEE pc using a single USB flash drive.


Please note this tutorial works on all computers not just the Asus EEE PC.
To complete this tutorial you need a 32bit version of Windows XP or Windows Vista installed on your home PC.

What you'll need:
USB_PREP8 (alternative download)
PeToUSB (alternative download)

Bootsect.exe (alternative download)
Special Note: If you use the program Nlite be sure to keep the manual installation files as the USB_prep8 script relies on these files.

Extract the files in Bootsect.zip
The next step is to extract USB_prep8 and PeToUSB.
Next copy the PeToUSB executable into the USB_prep8 folder.
Inside of the USB_prep8 folder double click the executable named usb_prep8.cmd.

The window that opens will look like this:



Press any key to continue

You next window will look like this:
These settings are preconfigured for you all you need to do now is click start.
Once the format is complete DO NOT close the window just leave everything as it is and open a command prompt from your start menu (type cmd in the search bar or run box depending on your version of windows.).

Inside of the command windows go to the directory you have bootsect.exe saved.
(use the cd directoryname command to switch folders)

Now type "bootsect.exe /nt52 R:" NOTE R: is the drive letter for my USB stick if yours is different you need to change it accordingly. What this part does is write the correct boot sector to your USB stick, this allows your PC to boot from the USB stick without it nothing works.
Please note: When running the bootsect.exe command you cannot have any windows open displaying the content of your USB stick, if you have a window open bootsect.exe will be unable to lock the drive and write the bootsector correctly.

If all went well you should see "Bootcode was successfully updated on all targeted volumes."

Now you can close this command prompt (don't close the usbprep8 one by mistake) and the petousb window.

You window you see now should look like this:

If it doesn't try pressing enter.

Now you need to enter the correct information for numbers 1-3.
Press 1 and then enter. A folder browse window will open for you to browse to the location of you XP setup files (aka your cdrom drive with xp cd in)
Press 2 and enter a letter not currently assigned to a drive on your PC
Press 3 and enter the drive letter of your USB stick
Press 4 to start the process.

The script will ask you if its ok to format drive T:. This is just a temp drive the program creates to cache the windows installation files. Press Y then enter.

Once it's done formating press enter to continue again, you can now see the program copying files to the temp drive it created. Once this is done press enter to continue again.

Next you will see a box pop up asking you to copy the files to USB drive yes/no you want to click yes.

Once the script has completed copy files a popup window asking if you would like to USB drive to be preferred boot drive U: select YES on this window.

Now select yes to unmount the virtual drive.

Ok we are done the hard part, close the usbprep8 window.

Now make sure your EEE pc is configured with USB as the primary boot device.
Insert your USB drive and boot up the EEE.

On the startup menu you have two options, select option number 2 for text mode setup.

From this point on it is just like any other windows XP installation delete/recreate the primary partition on your EEE pc and format it using NTFS. Make sure you delete ALL partitions and recreate a single partition or you will get the hal.dll error message.

Once the text mode portion of setup is complete it will boot into the GUI mode (you can press enter after the reboot if your too excited to wait the 30 seconds)

Once the GUI portion of setup is complete you will again have to boot into GUI mode this will complete the XP installation and you will end up at you XP desktop. It is very important that you DO NOT REMOVE THE USB STICK before this point. Once you can see your start menu it is safe to remove the usb stick and reboot your pc to make sure everything worked.

This method has advantages over all current no cdrom methods of installing XP to the EEE. You do not have to copy setup files in DOS to the SSD and install from there. It gives you access to the recovery console by booting into text mode setup, and it gives you the ability to run repair installations of XP if you have problems later on.

Installing Win XP Pro via UFD (Universal Flash Device)

This small tutorial is designed to help those in need of installing Microsoft Windows XP on any PC that is capable of booting from a UFD (USB Flash Device). Hopefully, you will find this as easy and problem free as I have.

I must send out thanks to the people at EEEguides.com, as that is where I learned how to perform this installation technique. Please, visit their site and instruction guide at:

http://www.eeeguides.com/2007/11/installing-windows-xp-from-usb-thumb.html

The site includes hundreds of posts with problems and answers, as well as some technical details that I have left out.

For my experiment, I used the following:

· PNY 4 gig UFD

· Kingston 1 gig UFD

· Frankenstein home PC – running legit copy of Win XP Pro

· Win XP Pro – store bought (this makes sense if you understand the technical problems with copied discs as described on the EEEguides.com site)

· Compaq TC1000 Tablet PC – as the first installed to system

· Sony Vaio PCG-FRV37

I hope you have fun with this! I did.

Scardog

————————————————————————————-

Prior to starting your work you will need to gather the following files/hardware:

1. Insert UFD to any open USB port

2. Create a workspace folder

a. I created a folder on my desktop called – USB OS Load Workspace

3. Extract the following files to your workspace folder

a. Bootsect.zip

b. PeToUSB_x.x.x.x.zip (I used v3.0.0.7 for my install)

c. Usb_prep8.zip

4. Copy the PeToUSB executable file into the USB_prep8 folder

5. Within the USB_prep8 folder run the usb_prep8.cmd file by double clicking

a. Running the file will give a window that looks like this:

6. As instructed press any key to continue resulting in the following window:

7. Click “Start”

8. Click “Yes” to continue popup

9. Click “Yes” to format warning popup

10. Click “OK” to successful completion popup

11. After format is complete DO NOT close the window for PeToUSB

NOTE: When format is complete it will open a window displaying the contents of your flash disk. Close this window. An open window will prevent bootsect.exe from locking the drive and writing the bootsector correctly

12. Click on Start menu and click run – type cmd and press enter

13. Navigate via “CD” to folder where bootsect is stored (see step 2 and 3)

14. Once in your folder where the bootsect files are stored enter the following command

a. Bootsect.exe/nt52 J:

i. NOTE: in line of code above substitute the J: for the drive letter of your UFD that you want to copy OS setup files to

15. Press Enter

16. Ensure that “Successfully updated FAT filesystem bootcode.” message appears

17. Type Exit and press Enter to close cmd window

18. Click Close on the PeToUSB window

19. Within the usb_prep8.cmd window enter 1 and press enter

20. Within the Browse For Folder window navigate to drive where Win XP CD or .iso is located and click OK

21. Within the usb_prep8.cmd window enter 2 and press enter

22. Enter any UNUSED drive letter to create a Virtual Temp Drive

23. Within the usb_prep8.cmd window enter 3 and press enter

24. Enter the drive letter of your chosen UFD – pay attention to enter same drive letter as you entered in Step 14 – and press Enter

25. Within the usb_prep8.cmd window enter 4 and press enter

26. Enter “Y” at command line to proceed with format and press enter

27. Ensure that you get message that formatting you Temp Drive was successful – Steps 21 and 22

28. Press any key to continue operation

29. Select “Yes” to Copy to USB Drive popup window

30. After setup files have copied to drive click on “Yes” for Change Migrate.inf popup window

31. Click on “Yes” to unmount virtual drive

32. Within the usb_prep8.cmd window press any key to continue

33. Within the usb_prep8.cmd window press any key to exit

34. Now take the newly formatted UFD and set target PC to boot from UFD and install

35. At first boot select Option 1 (the second option oddly enough) for text mode setup

36. From here it’s the same as a normal Win XP setup – when the text mode setup portion completes and system reboots select Option 2 (the first option) for GUI setup

37. DO NOT REMOVE THE UFD FROM USB PORT UNTIL YOU SEE THE WINDOWS START MENU

Make Your Windows XP Fast

DISABLE INDEXING SERVICES

Indexing Services is a small little program that uses large amounts of RAM and can often make a computer endlessly loud and noisy. This system process indexes and updates lists of all the files that are on your computer. It does this so that when you do a search for something on your computer, it will search faster by scanning the index lists. If you don’t search your computer often, or even if you do search often, this system service is completely unnecessary. To disable do the following:

1. Go to Start
2. Click Settings
3. Click Control Panel
4. Double-click Add/Remove Programs
5. Click the Add/Remove Window Components
6. Uncheck the Indexing services
7. Click Next

OPTIMISE DISPLAY SETTINGS

Windows XP can look sexy but displaying all the visual items can waste system resources. To optimise:

1.Go to Start
2. Click Settings
3. Click Control Panel
4. Click System
5. Click Advanced tab
6. In the Performance tab click Settings
7. Leave only the following ticked:
- Show shadows under menus
- Show shadows under mouse pointer
- Show translucent selection rectangle
- Use drop shadows for icons labels on the desktop
- Use visual styles on windows and buttons

DISABLE PERFORMANCE COUNTERS

Windows XP has a performance monitor utility which monitors several areas of your PC’s performance. These utilities take up system resources so disabling is a good idea.

To disable:

1. download and install the Extensible Performance Counter List
2.Then select each counter in turn in the ‘Extensible performance counters’ window and clear the ‘performance counters enabled’ checkbox at the bottom.button below.

SPEEDUP FOLDER BROWSING

You may have noticed that everytime you open my computer to browse folders that there is a slight delay. This is because Windows XP automatically searches for network files and printers everytime you open Windows Explorer. To fix this and to increase browsing significantly:

1. Open My Computer
2. Click on Tools menu
3. Click on Folder Options
4. Click on the View tab.
5. Uncheck the Automatically search for network folders and printers check box
6. Click Apply
7. Click Ok
8. Reboot your computer

IMPROVE MEMORY USAGE

Cacheman Improves the performance of your computer by optimizing the disk cache, memory and a number of other settings.

Once Installed:

1.Go to Show Wizard and select All
2.Run all the wizards by selecting Next or Finished until you are back to the main menu. Use the defaults unless you know exactly what you are doing.
3.Exit and Save Cacheman
4.Restart Windows

OPTIMISE YOUR INTERNET CONNECTION

There are lots of ways to do this but by far the easiest is to run TCP/IP Optimizer.

1. Download and install
2. Click the General Settings tab and select your Connection Speed (Kbps)
3. Click Network Adapter and choose the interface you use to connect to the Internet
4. Check Optimal Settings then Apply
5. Reboot

OPTIMISE YOUR PAGEFILE

If you give your pagefile a fixed size it saves the operating system from needing to resize the page file.

1. Right click on My Computer and select Properties
2. Select the Advanced tab
3. Under Performance choose the Settings button
4. Select the Advanced tab again and under Virtual Memory select Change
5. Highlight the drive containing your page file and make the initial Size of the file the same as the Maximum Size of the file.

Windows XP sizes the page file to about 1.5X the amount of actual physical memory by default. While this is good for systems with smaller amounts of memory (under 512MB) it is unlikely that a typical XP desktop system will ever need 1.5 X 512MB or more of virtual memory. If you have less than 512MB of memory, leave the page file at its default size. If you have 512MB or more, change the ratio to 1:1 page file size to physical memory size.

RUN BOOTVIS – IMPROVE BOOT TIMES

BootVis will significantly improve boot times

1. Download and Run
2. Select Trace
3. Select Next Boot and Driver Trace
4. A Trace Repetitions screen will appear, select Ok and Reboot
5. Upon reboot, BootVis will automatically start, analyze and log your system’s boot process. When it’s done, in the menu go to Trace and select Optimize System
6. Reboot.
7. When your machine has rebooted wait until you see the Optimizing System box appear. Be patient and wait for the process to complete

REMOVE THE DESKTOP PICTURE

Your desktop background consumes a fair amount of memory and can slow the loading time of your system. Removing it will improve performance.

1. Right click on Desktop and select Properties
2. Select the Desktop tab
3. In the Background window select None
4. Click Ok

REMOVE FONTS FOR SPEED

Fonts, especially TrueType fonts, use quite a bit of system resources. For optimal performance, trim your fonts down to just those that you need to use on a daily basis and fonts that applications may require.

1. Open Control Panel
2. Open Fonts folder
3. Move fonts you don’t need to a temporary directory (e.g. C:FONTBKUP?) just in case you need or want to bring a few of them back. The more fonts you uninstall, the more system resources you will gain.

DISABLE UNNECESSARY SERVICES

Because Windows XP has to be all things to all people it has many services running that take up system resources that you will never need. Below is a list of services that can be disabled on most machines:

Alerter
Clipbook
Computer Browser
Distributed Link Tracking Client
Fast User Switching
Help and Support – (If you use Windows Help and Support leave this enabled)
Human Interface Access Devices
Indexing Service
IPSEC Services
Messenger
Netmeeting Remote Desktop Sharing (disabled for extra security)
Portable Media Serial Number
Remote Desktop Help Session Manager (disabled for extra security)
Remote Procedure Call Locator
Remote Registry (disabled for extra security)
Remote Registry Service
Secondary Logon
Routing & Remote Access (disabled for extra security)
Server

SSDP Discovery Service – (Unplug n’ Pray will disable this)
Telnet
TCP/IP NetBIOS Helper
Upload Manager
Universal Plug and Play Device Host
Windows Time
Wireless Zero Configuration (Do not disable if you use a wireless network)
Workstation
To disable these services:

Go to Start and then Run and type “services.msc”
Doubleclick on the service you want to change
Change the startup type to ‘Disable”

TURN OFF SYSTEM RESTORE

System Restore can be a useful if your computer is having problems, however storing all the restore points can literally take up Gigabytes of space on your hard drive. To turn off System Restore:

Open Control Panel
Click on Performance and Maintenance
Click on System
Click on the System Restore tab
Tick ‘Turn off System Restore on All Drives’
Click ‘Ok’

DEFRAGMENT YOUR PAGEFILE

Keeping your pagefile defragmented can provide a major performance boost. One of the best ways of doing this is to creat a separate partition on your hard drive just for your page file, so that it doesn’t get impacted by normal disk usage. Another way of keeping your pagefile defragmented is to run PageDefrag. This cool little app can be used to defrag your pagefile, and can also be set to defrag the pagefile everytime your PC starts. To install:

Download and Run PageDefrag
Tick “Defrag at next Reboot”,
Click “Ok”
Reboot

SPEEDUP FOLDER ACCESS – DISABLE LAST ACCESS UPDATE

If you have a lot of folders and subdirectories on your computer, when you access a directory XP wastes a lot of time updating the time stamp showing the last access time for that directory and for ALL sub directories. To stop XP doing this you need to edit the registry. If you are uncomfortable doing this then please do not attempt.

Go to Start and then Run and type “regedit”
Click through the file system until you get to “HKEY_LOCAL_MACHINESystemCurrentControlSetControlFileSystem”
Right-click in a blank area of the window on the right and select ‘DWORD Value’
Create a new DWORD Value called ‘NtfsDisableLastAccessUpdate’
Then Right click on the new value and select ‘Modify’
Change the Value Data to ‘1′
Click ‘OK’

DISABLE SYSTEM SOUNDS

Surprisingly, the beeps that your computer makes for various system sounds can slow it down, particularly at startup and shut-down. To fix this turn off the system sounds:

Open Control Panel
Click Sounds and Audio Devices
Check Place volume icon in taskbar
Click Sounds Tab
Choose “No Sounds” for the Sound Scheme
Click “No”
Click “Apply”
Click “OK”

IMPROVE BOOT TIMES
IMPROVE BOOT TIMES

A great new feature in Microsoft Wind 1ws XP is the ability to do a boot defragment. This places all boot files next to each other on the disk to allow for faster booting. By default this option in enables but on some builds it is not so below is how to turn it on.

Go to Start Menu and Click Run
Type in “Regedit” then click ok
Find “HKEY_LOCAL_MACHINESOFTWAREMicrosoftDfrgBootOpt imizeFunction”
Select “Enable” from the list on the right
Right on it and select “Modify”
Change the value to “Y to enable”
Reboot

IMPROVE SWAPFILE PERFORMANCE

If you have more than 256MB of RAM this tweak will considerably improve your performance. It basically makes sure that your PC uses every last drop of memory (faster than swap file) before it starts using the swap file.

Go to Start then Run
Type “msconfig.exe” then ok
Click on the System.ini tab
Expand the 386enh tab by clicking on the plus sign
Click on new then in the blank box type”ConservativeSwapfileUsage=1″
Click OK
Restart PC

MAKE YOUR MENUS LOAD FASTER

This is one of my favourite tweaks as it makes a huge difference to how fast your machine will ‘feel’. What this tweak does is remove the slight delay between clicking on a menu and XP displaying the menu.

Go to Start then Run
Type ‘Regedit’ then click ‘Ok’
Find “HKEY_CURRENT_USERControl PanelDesktop”
Select “MenuShowDelay”
Right click and select “Modify’
Reduce the number to around “100″
This is the delay time before a menu is opened. You can set it to “0″ but it can make windows really hard to use as menus will open if you just look at them – well move your mouse over them anyway. I tend to go for anywhere between 50-150 depending on my mood

MAKE PROGRAMS LOAD FASTER

This little tweak tends to work for most programs. If your program doesn’t load properly just undo the change. For any program:

Right-click on the icon/shortcut you use to launch the program
Select properties
In the ‘target’ box, add ‘ /prefetch:1′ at the end of the line.
Click “Ok”
Voila – your programs will now load faster.

IMPROVE XP SHUTDOWN SPEED

This tweak reduces the time XP waits before automatically closing any running programs when you give it the command to shutdown.

Go to Start then select Run
Type ‘Regedit’ and click ok
Find ‘HKEY_CURRENT_USERControl PanelDesktop\’
Select ‘WaitToKillAppTimeout’
Right click and select ‘Modify’
Change the value to ‘1000′
Click ‘OK’
Now select ‘HungAppTimeout’
Right click and select ‘Modify’
Change the value to ‘1000′
Click ‘OK’
Now find ‘HKEY_USERS.DEFAULTControl PanelDesktop’
Select ‘WaitToKillAppTimeout’
Right click and select ‘Modify’
Change the value to ‘1000′
Click ‘OK’
Now find ‘HKEY_LOCAL_MACHINESystemCurrentControlSetControl\’
Select ‘WaitToKillServiceTimeout’
Right click and select ‘Modify’
Change the value to ‘1000′
Click ‘OK’

SPEED UP BOOT TIMES I

This tweak works by creating a batch file to clear the temp and history folders everytime you shutdown so that your PC doesn’t waste time checking these folders the next time it boots. It’s quite simple to implement:

1. Open Notepad and create a new file with the following entries:

RD /S /q “C:Documents and Settings”UserName without quotes”Local SettingsHistory”
RD /S /q “C:Documents and SettingsDefault UserLocal SettingsHistory”
RD /S /q “D:Temp” <–”Deletes temp folder, type in the location of your temp folder”

2. Save the new as anything you like but it has to be a ‘.bat’ file e.g. fastboot.bat or deltemp.bat

3. Click ‘Start’ then ‘Run’

4. Type in ‘gpedit.msc’ and hit ‘ok’

5. Click on ‘Computer Configuration’ then ‘Windows Settings’

6. Double-click on ‘Scripts’ and then on ‘Shutdown’

7. Click ‘Add’ and find the batch file that you created and then press ‘Ok’

SPEED UP BOOT TIMES II

When your PC starts it usually looks for any bootable media in any floppy or cd-rom drives you have installed before it gets around to loading the Operating System from the HDD. This can waste valuable time. To fix this we need to make some changes to the Bios.

1. To enter the bios you usually press ‘F2′ or ‘delete’ when your PC starts

2. Navigate to the ‘Boot’ menu

3. Select ‘Boot Sequence’

4. Then either move your Hard drive to the top position or set it as the ‘First Device’

5. Press the ‘Escape’ key to leave the bios. Don’t forget to save your settings before exiting

Note: Once this change has been made, you won’t be able to boot from a floppy disc or a CD-rom. If for some strange reason you need to do this in the future, just go back into your bios, repeat the steps above and put your floppy or CD-rom back as the ‘First Device’

SPEED UP BOOT TIMES III

When your computer boots up it usually has to check with the network to see what IP addresses are free and then it grabs one of these. By configuring a manually assigned IP address your boot time will improve. To do this do the following:

1. Click on ‘Start’ and then ”Connect To/Show All Connections’

2. Right-click your network adapter card and click ‘Properties’.

3. On the ‘General’ tab, select ‘TCP/IP’ in the list of services and click ‘Properties’

4.I n the TCP/IP properties, click ‘Use the following address’ and enter an IP address for your PC. If you are using a router this is usually 192.168.0.xx or 192.168.1.xx. If you are not sure what address you could check with your ISP or go to ‘Start/run’ and type ‘cmd’ and then ‘ipconfig/all’. This will show your current IP settings which you will need to copy.

5. Enter the correct details for ‘Subnet mask’, ‘Default gateway’ and ‘DNS Server’. Again if you are not sure what figures to enter use ‘ipconfig/all’ as in stage 4.

FREE UP MEMORY

I found this useful app via FixMyXP. ClearMem Is an Excellent Tool for speeding up your XP Computer (especially if your system has been on for awhile and you have a lot of applications open). What it does, is it Forces pages out of physical memory and reduces the size of running processes if working sets to a minimum. When you run this tool, the system pauses because of excessive high-priority activity associated with trimming the working sets. To run this tool, your paging file must be at least as large as physical memory. To Check your Paging File:

1. Go to your control panel, then click on ‘System’, then go to the ‘Advanced’ Tab, and Under ‘Performance’ click ‘Settings’ then the ‘Advanced’ Tab

2. On the Bottom you should see ‘Virtual Memory’ and a value. This is the value that must be at least as large as how much memory is in your system.

3. If the Virtual Memory Value is smaller than your system memory, click Change and change the Min Virtual Memory to a number that is greater than your total system memory, then click ‘Set’ and Reboot.

4. Once you have rebooted install ClearMem

ENSURE XP IS USING DMA MODE

XP enables DMA for Hard-Drives and CD-Roms by default on most ATA or ATAPI (IDE) devices. However, sometimes computers switch to PIO mode which is slower for data transfer – a typical reason is because of a virus. To ensure that your machine is using DMA:

1. Open ‘Device Manager’

2. Double-click ‘IDE ATA/ATAPI Controllers’

3. Right-click ‘Primary Channel’ and select ‘Properties’ and then ‘Advanced Settings’

4. In the ‘Current Transfer Mode’ drop-down box, select ‘DMA if Available’ if the current setting is ‘PIO Only’

ADD CORRECT NETWORK CARD SETTINGS

Some machines suffer from jerky graphics or high CPU usage even when a machine is idle. A possible solution for this, which, can also can help network performance is to:

1. RightClick ‘My Computer’

2. Select ‘Manage’

3. Click on ‘Device Manager’

4. DoubleClick your network adaptor under ‘Network Adapters’

5. In the new window, select the ‘Advanced’ tab

6. Select ‘Connection Type’ and select the correct type for your card and then Reboot

REMOVE ANNOYING DELETE CONFIRMATION MESSAGES

Although not strictly a performance tweak I love this fix as it makes my machine ‘feel’ faster. I hate the annoying ‘are you sure?’ messages that XP displays, especially if I have to use a laptop touchpad to close them. To remove these messages:

1. Right-click on the ‘Recycle Bin’ on the desktop and then click ‘Properties’

2. Clear the ‘Display Delete Confirmation Dialog’ check box and click ‘Ok’

If you do accidently delete a file don’t worry as all is not lost. Just go to your Recycle Bin and ‘Restore’ the file.

DISABLE PREFETCH ON LOW MEMORY SYSTEMS

Prefetch is designed to speed up program launching by preloading programs into memory – not a good idea is memory is in short supply, as it can make programs hang. To disable prefetch:

1. Click ‘Start’ then ‘Run’

2. Type in ‘Regedit’ then click ‘Ok’

3. Navigate to ‘HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory ManagementPrefetchParameters\’

4. Right-click on “EnablePrefetcher” and set the value to ‘0′

5. Reboot.

How to set, view, change, or remove special permissions for files and folders in Windows XP

Set, view, change, or remove special permissions for files and folders

To set, view, change, or remove special permissions for files and folders:
  1. Click Start, click My Computer, and then locate the file or folder where you want to set special permissions.
  2. Right-click the file or folder, click Properties, and then click the Security tab.
  3. Click Advanced, and then use one of the following steps:
    • To set special permissions for an additional group or user, click Add, and then in Name box, type the name of the user or group, and then click OK.
    • To view or change special permissions for an existing group or user, click the name of the group or user, and then click Edit.
    • To remove an existing group or user and the special permissions, click the name of the group or user, and then click Remove. If the Remove button is unavailable, click to clear the Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here check box, click Remove, and then skip steps 4 and 5.
  4. In the Permissions box, click to select or click to clear the appropriate Allow or Deny check box.
  5. In the Apply onto box, click the folders or subfolders where you want these permissions applied.
  6. To configure security so that the subfolders and files do not inherit these permissions, click to clear the Apply these permissions to objects and/or containers within this container only check box.
  7. Click OK two times, and then click OK in the Advanced Security Settings for FolderName box, where FolderName is the folder name.
CAUTION: You can click to select the Replace permission entries on all child objects with entries shown here that apply to child objects. Include these with entries explicitly defined here check box. Therefore,all subfolders and files have all their permission entries reset to the same permissions as the parent object.If you do this, after you click Apply or OK, you cannot undo this operation if you click to clear the check boxes.

Important: If you are not joined to a domain and you want to view the Security tab:
  1. Click Start, and then click Control Panel.
  2. Click Appearance and Themes, and then click Folder Options.
  3. Click the View tab, and then click to clear the Use simple file sharing [Recommended] check box in the Advanced settings box.
Notes:
  • The Everyone group does not include the Anonymous Logon permission in Windows XP.
  • If you click to select the Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here check box, the file or folder inherits permission entries from the parent object.
  • You can set permissions only on drives that are formatted to use NTFS .
  • If the check boxes in the Permissions box are not available, the permissions are inherited from the parent folder.
  • To change permissions, you must be the owner or have permission to change permissions by the owner.
  • Groups or users who have Full Control permissions for a folder can delete the files and the subfolders in that folder, regardless of the permissions that protect the files and the subfolders.

How to dual boot Linux and Windows XP (Linux installed first)

How to dual-boot Windows XP and Linux. (Now updated for XP SP 3 and Ubuntu 8.04.)

Page 1 - Intro


Updated 5 June 2008 - now uses Ubuntu 8.04 as the Linux distribution.

Scenario: You want to install XP on your machine alongside your existing Linux installation on the same physical drive which already has Ubuntu 8.04 installed.

Tutorial Summary: We'll create space on the Linux partition to install Windows XP. XP bootloader is fairly clumsy when it comes to dualbooting and will overwrite GRUB completely. We'll reinstall GRUB to the MBR and configure it to dualboot both Ubuntu and XP.
Page 2 - Back up the GRUB boot menu

Regardless of which bootloader you end up using, it's a very good move to first back up the GRUB bootloader. It's easy to lose it and unless you know how to re-write it from scratch then you're generally facing a full reinstallation of Ubuntu.

Firstly, boot into Ubuntu and go to Applications --> Accessories --> Terminal. Then, type in sudo gedit /boot/grub/menu.lst.

This text file contains all the information GRUB uses to configure various boot options. Scroll down and the entries between "## ## End Default Options ##" and "### END DEBIAN AUTOMATIC KERNELS LIST" are the Linux boot options.

Make a backup of the file by going to File, Save As and selecting a different location. Or take a full copy of the contents and place it into a new text file. If you can, create the backup on a removable disk or networked location.
Page 3 - Make space for XP

Now we need to create space on the hard drive for XP, so this will involve resizing the main Ubuntu partition. Restart the system using the Ubuntu Live CD as this gives you access to GNOME Partition Editor. When the CD loads, select "Try Ubuntu without any change to your computer".

Once the CD loads, go to System, Administration, Partition Editor.

Right-click on the main data partition which has been formatted with ext3 - it should be /dev/sda1 - and select "Resize/Move"

Move the slider from the right to shrink the ext3 partition and create free space on the hard drive, which will take the NTFS XP partition. Make sure that the free space is sufficient to hold XP (at least 2GB - preferably 5GB). Then click "Resize/Move" to confirm the selection, and "Apply" back in the main screen to carry out the pending change.
Page 4 - Install Windows XP

Restart the system with the Windows XP CD and boot into the install program.

Unfortunately XP isn't so adaptive at handling existing partitions during installation. It detects the two Ubuntu partitions and marks then C: and E: accordingly. The remaining unpartitioned space which is available for XP will be marked as F:.

For the operating system and the vast majority of Windows applications which have properly-coded installation scripts, this is not a problem. Some older applications will assume that C: is the system partition and may bring up errors. There are ways of changing the drive letter assignation of the system partition, but in this scenario it's strongly discouraged.

To insult to injury, XP detects the Linux partition as an active system partition and won't install unless it marks this partition as inactive.
Page 5 - Restore the GRUB boot loader

Once XP has been installed, it will boot happily into XP but there's no sign of Ubuntu. To reinstate GRUB as the system bootloader it needs to be reinstalled into the MBR.

Boot the system from the Ubuntu Live CD and select "Try Ubuntu without any change to your computer".

Open a Terminal session - Applications, Accessories, Terminal

To enter the GRUB configuration mode, type in "sudo grub" and press Enter. Then type in the following commands in sequence:
- root (hd0,0)
- setup (hd0)
- quit
- exit

Reboot the system. You'll get the GRUB bootloader but Vista won't be an option - we need to add this to the boot options.

Boot into Ubuntu and open up another Terminal session. Then, type in sudo gedit /boot/grub/menu.lst

Scroll down to the bottom of the file and type in the following text strings:

title Windows XP
root (hd0,1)
makeactive
chainloader +1

Save the file and reboot. When the GRUB loader launches hit ESC for the boot menu. Windows XP is the last option - select it and XP will load.

If you want to make the GRUB menu always available, boot back into Ubuntu and edit the MENU.LST file. Find the hiddenmenu text string and change it to #hiddenmenu.

To increase the menu timeout, change the default timeout 3 to something more appropriate.






How to dual boot Windows XP and Linux (XP installed first)

How to dual-boot Windows XP and Linux, on a system where you have already installed XP. Easy step-by-step tutorial that doesn't assume prior knowledge of Linux.

Page 1 - Intro

Updated 5 June 2008 to use Ubuntu 8.04 and Windows XP SP3

Scenario: You want the simplest way to dual-boot XP and Linux. You've already installed Windows XP and now want to dual-boot it with Ubuntu 8.04

Summary of tutorial: This is an updated tutorial (we previously used Ubuntu 7.04 and GPartEd (GNOME Partition Editor), but in this tutorial, we'll use Ubuntu 8.04 to make space on the XP partition and then use the GRUB bootloader to dualboot XP and Ubuntu.
Page 2 - Boot Ubuntu from the Live CD

As we're assuming that XP has already been installed (either via an OEM or self-installation) I won't run through the XP installation process. We'll further assume that XP has been installed to a single NTFS partition which takes up the whole disk.

One interesting thing to note though - Ubuntu is happy to read NTFS partitions, so one potential configuration option is to either create a 2nd NTFS partition which will house data for access by both operating systems, or simply a 2nd hard drive, again formatted with NTFS.

Install Ubuntu

You'll need the latest desktop ISO of Ubuntu (8.04). You can choose a list of download mirrors from the Ubuntu website, or use this link from Planetmirror. Download the ISO and burn it to CD to create bootable Ubuntu CD.

Boot the XP machine from the CD and select "Install Ubuntu" from the boot menu.

Once the Live CD has loaded, on the Welcome screen choose your language and select Forward.

On the "Where are you" (timezone) page, select your location and then Forward.

On the next screen, choose the appropriate keyboard layout and then Forward.
Page 3 - Make room on the disk for Ubuntu

Ubuntu will then load the disk partitioner to determine where it's going to be installed. The default option is that Ubuntu will resize the Windows XP NTFS partition to make space for the Ubuntu install. You can drag the dividing line left or right to increase or decrease the amount of space to be freed up.

Once you're happy with the selection, click Forward.

Ubuntu then prompts you to commit the changes (despite what the warning, it won't take very long). Click Continue - the screen disappears and then click Forward again.
Page 4 - Set up Ubuntu

On the "Who are you?" screen, enter your username and password details, then click Forward.

On the Migrate Documents and Settings screen, if Ubuntu finds any user accounts to migrateit will happily import user settings from XP to Ubuntu. If it doesn't find any, obviously this isn't an option. Select as much or as little as you wish and click Forward.

On the "Ready to install" screen, you'll see that Ubuntu now has enough information to commence the installation. In the summary under Migrate Assistant, it should say "Windows XP Professional" along with any user account details you selected in the previous step

This means that regardless of whether Ubuntu found any user account to migrate, it certainly knows that Windows XP is installed on the other partition Click Install.

See the install through and then let it boot into Ubuntu.

When the install is complete the system will reboot. When the GRUB boot menu is displayed, have a look at the last entry in the list.

After the Ubuntu boot options, there will be an entry "Other operating systems" and beneath that "Microsoft Windows XP Professional". By default Ubuntu will load itself after 10 seconds, but you can select the XP option and the OS will boot normally.

The GRUB bootloader is decidedly better than XP's and XP doesn't handle dualbooting non-Microsoft operating systems very well, so there's little point trying to restore the XP bootloader. Be happy with GRUB!




How to Fix SVCHOST.EXE Application Error 0x745f2780

The instruction at "Ox745f2780" referenced memory at "0x00000000".
The memory could not be "read"

I came across this error the other day at a customer's house. They have Windows XP Professional with a password set for the main administrator account.

When they turned their computer on and it came up to the user login screen. They were presented with this SVCHOST.EXE error message. The only options the error message allows are to click OK to terminate the program or click Cancel to debug the program. After asking them several questions about what they did before turning the computer off, it became apparent that Windows Update had run before the computer was shut down.

Interestingly enough, even starting the computer in Safe Mode produced the same error. While the event log in Windows XP indicates the faulting application is truly svchost.exe.

How to Repair this SVCHOST.EXE error

After some investigating into the 0X745f2780 SVCHOST error, it became apparent the problem is a corrupted Windows Update in Windows XP. Follow the steps below to fix this error.

Verify Windows Update Service Settings
  • Click on Start, Run and type the following command in the open box and click OK

    services.msc

  • Find the Automatic Updates service and double-click on it.
  • Click on the Log On Tab and make sure the "Local System Account" is selected as the logon account and the box for "allow service to interact with desktop" is UNCHECKED.
  • Under the Hardware Profile section in the Log On Tab, make sure the service is enabled.
  • On the General Tab, the Startup Type should be Automatic, if not, drop the box down and select Automatic.
  • Under "Service Status" on the General tab, the service should be Started, click the Start button enable it.
  • Repeat the steps above for the service "Background Intelligent Transfer Service (BITS)"
Re-Register Windows Update DLLs
  • Click on Start, Run, and type CMD and click ok
  • In the black command window type the following command and press Enter

    REGSVR32 WUAPI.DLL

  • Wait until you receive the "DllRegisterServer in WUAPI.DLL succeeded" message and click OK
  • Repeat the last two steps above for each of the following commands:

    REGSVR32 WUAUENG.DLL
    REGSVR32 WUAUENG1.DLL
    REGSVR32 ATL.DLL
    REGSVR32 WUCLTUI.DLL
    REGSVR32 WUPS.DLL
    REGSVR32 WUPS2.DLL
    REGSVR32 WUWEB.DLL
Remove Corrupted Windows Update Files

  • At the command prompt, type the following command and press Enter

    net stop WuAuServ
  • Still at the command prompt,

    type cd %windir% and press Enter
  • In the opened folder, type the following command and press Enter to rename the SoftwareDistribution Folder

    ren SoftwareDistribution SD_OLD
  • Restart the Windows Update Service by typing the following at the command prompt

    net start WuAuServ

  • type Exit and Press Enter to close the command prompt
Reboot Windows
  • click on Start, Shut Down, and Restart to reboot Windows XP
Although this method may not solve all of the issues with a SVCHOST.EXE Application error, I have found it fixed the problem with the 0x745f2780 reference error.

Other Issues with SVCHOST.EXE

I've encountered other issues with SVCHOST taking up 100% of the CPU Cycles. These issues are usually experienced with Windows Update in some form or another. To fix this frustrating problem, following these steps:

1) Download and install Update for Windows XP (KB927891)
2) Download and install an update for Windows Update Agent WSUS 3.0
3) Restart your computer and your computer should run better with slowing to a crawl because of SVCHOST.EXE