home | about | newsletters | contact | advertising | shop | radio | courses | widget | site map

Helping Normal People Get Their Geek On And Live The Digital Lifestyle

Is It Possible To Make $141,657.15 While Playing With Your PC?
» Learn More About PCMech Premium Program
Big Things Are About To Happen Here

Login: Password: Remember me

All Posts Tagged With: "modify"

Changing Default OS On Dual-Boot System (Ubuntu)

For those of you out there that run a dual-boot system with Windows XP and Ubuntu, you’ve noticed that Ubuntu is the default OS that loads on each system startup. There is a way to change this so that XP is the default OS instead.

Full documentation:

https://help.ubuntu.com/community/GrubHowto/ChangeDefaultOS

What that documentation instructs you to do:

The boot order list is in a text file called menu.lst. You can edit this using a terminal text editor or by using gedit (a GUI-based text editor).

The OS choice in menu.lst is defined by the default line and title.

If for example the default num is set to 0 and you have the following in your grub.lst:

title      Ubuntu, kernel 2.6.15-27-amd64-generic
...
title      Ubuntu, memtest86+
...
title      Other operating systems:
...
title      Microsoft Windows XP Home

“0″ is representative of the first title (it starts from 0, not 1), so you would want the default num to be 4 to start Windows XP first.

For those asking “Um.. okay, so Other operating systems: is technically treated as an OS choice?” Yes it is. That’s the way it’s done in order to display it in the menu on boot.

On my personal system, Windows XP Professional is listed as title 6.

This may sound confusing but it isn’t. All you have to do is when counting the title entries, find the first one (which is 0) then count down until you find the Windows XP entry. Change default num to that number, save the file and reboot. If successful, XP will start first on boot.

Controlling Auto-Launched Apps On Startup (Windows XP)

There are utilities like the freeware CCleaner software that can easily let you list and modify auto-run programs from the Windows XP system registry like this:

image

Above: In CCleaner, click Tools (large icon on left) then Startup (white button in middle column) to see this list.

However if you’re the type that would rather do this the "old fashioned way", you can get to this information and get the same editing ability by using the tried-and-true registry editor.

You can get to the registry editor in one of two ways.

  1. Click Start / Run / type regedit / click OK.
  2. Right click on a blank area of the desktop, click New from the context menu that appears, click Shortcut, type regedit in the dialog box that appears (no need to click Browse), click Next, click Finish. This will place a regedit icon on your desktop that you can double-click to launch the Registry Editor.

Inside the registry editor you have to expand some folders - in a specific order - to get to the "run" list.

The order is as follows:

  • HKEY_LOCAL_MACHINE
    • SOFTWARE
      • Microsoft
        • Windows
          • CurrentVersion
            • Run

It should look something like this when you’re done:

image

From here you have the same modify/delete ability as you do with CCleaner, except using the built-in registry editor instead.

IMPORANT NOTE: Messing around with the Windows registry can seriously screw up your Windows installation if done wrong.

It is highly suggested to BACKUP your registry first. This is done easily via the registry editor by simply clicking File then Export. Do this before making any registry changes. Make sure when exporting your "Export Range" is ticked as "All".

Like this (see bottom left):

image

Didn’t find what you were looking for in Run?

Maybe it’s not there. Maybe it’s in the Start menu’s "Startup" folder instead.

Click Start, All Programs, Startup and check that menu. You can remove any menu entry there by simply right-clicking on it and left-clicking Delete.

If you delete something on a goof, don’t worry because it’s in the Recycle Bin where you can put it back in case you make a mistake.

Just remember there is no Recycle Bin ability with the registry editor. Your only means of restoring something you deleted is by importing a .reg file you exported as explained above.

Got The Newsletter?

Exclusive PCMech Content. Sign up and receive our free report: 20 Tips For Becoming a Technology Power User.

NAME:
EMAIL:

PCMech Highly Recommends...

The Hacker's Nightmare is a full 500+ pages of valuable content. It has plenty of diagrams and illustrations and is broken down into small sections with easy step-by-step procedures. This is what I like about this book. It is powerful information that everybody needs, but it doesn't read like a boring computer manual. LEARN MORE

Best of PCMech