Prenumerera till Hur-Till Geek

Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Skapa genvägar snabbt för att starta om till suppleantOSet i en Vista/XP Dubbel-Startar

Om du har ett dubbelkängasystem och kopplar ofta fram och tillbaka från utsikt till XP, har du antagligen redan förargats med faktumet att du måste väntan, tills kängamenyn kommer upp och väljer det högra OSet… och halva tiden som du kliver bort och den avslutar upp att starta in i den fla på något sätt.

Med något enkelt gruppera sparar och befaller fodrar magi, kan vi göra två genvägar, så du kan precis enkelt klicka ”för att starta om in i XP” eller ”Reboot in i utsikt” och göras med den.

Skapa genvägen för att starta om in i XP

För att skapa genvägen ska vi behov att skapa ett enkelt grupperar sparar, som vi kan göra, genom att öppna upp anteckningsbok och därefter att klistra i efter texten:

bcdedit /bootsequence {ntldr} /addfirst
Avstängning /r /t 0

Första fodrar körningar som bcdediten bearbetar, och uppsättningar XP-delningen, som en one-time kängastandard och understödja fodrar därefter appeller avstängningen befaller med rebootalternativet.

När du göras, räddningen som gruppera sparar in i en mapp och att se till att namnge spara med .bat-f8orlängningen, och att välja alla sparar i ”räddningen som drop-down typ” (mycket viktigt).

avbilda

Nu ska du önskar att skapa en genväg till gruppera sparar i ett läge, som är lättillgängligt, och att ge det som ett användbart namnger. Öppna upp genvägrekvisitan och klicka det avancerat knäppas, då väljer körning som administratör. Mycket viktigt!

avbilda

Du kan också ge genvägen en rolig symbol, om du önskar, eller inte. Endera långt, ska du har nu en genväg som ska reboot dig in i XP, genom att klicka på den (och att klicka till och med UACEN precis, om du har UAC att möjliggöras).

avbilda

For extra credit you can also create a shortcut that doesn’t prompt for UAC, but it takes a few more steps to create.

Create the XP Shortcut to Reboot into Vista

The next part of the tutorial requires you to be in Windows XP because we’re going to create the shortcut that reboots you back into Vista.

The first thing you need to do is figure out which drive letter has Windows Vista on it when you are in XP. In my installation, Vista is located on the E: drive:

image

We’ll need to know this so we can run the same bcdedit command that we did in the first step. Just run it from the command prompt without any arguments like this:

E:\Windows\System32\bcdedit

You’ll need to take a look at the output for something similar to the highlighted portion below, which is the unique ID of your Vista partition as far as bcdedit is concerned.

image

If you right-click and choose Mark in the command prompt, you can select it and copy to the clipboard by using the Enter key. We’ll need it for the next command.

Open up notepad to create a new batch file just like we did before, and paste in the following, replacing IDGOESHERE with the text that you copied from the command prompt above, and making sure to replace E: with your drive letter if it’s different.

E:\Windows\System32\bcdedit /bootsequence IDGOESHERE /addfirst
shutdown /r /t 0

For example, my command looks more like this:

E:\Windows\System32\bcdedit /bootsequence {005f3343-44da-11dd-82b2-9c50424120af} /addfirst
shutdown /r /t 0

Now save the batch file, making sure to choose a .bat extension and choose All Files under “Save as type”.

image

Under XP there’s no reason to make a shortcut, although you certainly can if you’d like.

image

This batch file will immediately reboot you back into Vista.

Speed Up the Reboot Process

One of the first things you’ve probably noticed if you reboot all the time is that waiting 30 seconds for the default OS is a waste of time. You likely already know how to speed this up, but if you don’t we’ll cover it anyway.

Open up Control Panel \ System and click on the “Advanced system settings” link on the left-hand corner.

image

Then click on the Settings button under the “Startup and Recovery” section.

image

You can change the default of 30 seconds down to something much less… I usually choose 3 seconds, but you can use whatever amount you’d like. I wouldn’t recommend setting it much less, cause it’ll be very difficult to choose manually otherwise.

image

Even Quicker Reboots

You can speed up the reboot process even more by setting up Vista and XP to automatically login. Of course, you should only do this on a personal desktop at home, I wouldn’t recommend automatic login on a laptop or work computer.

The title says Windows Vista, but the same exact steps work on XP as well:

Make Windows Vista Login Automatically

| More
This article was originally written on 08/13/08 Tagged with: Vista Tips & Tweaks, Windows Vista

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (13)

  1. InDiSent

    Nice. How do i make one for Ubuntu also?

  2. Squee

    And also one in Ubuntu to boot automatically to Vista.

  3. Rothgar

    Yep, booting into linux and visa versa would be a great tip too. :)
    I think you would need access to the boot partition to edit grub to do it but it shouldn’t be too hard.
    especially not for uber geeks like yourselves.

  4. ender

    Also interested in an ubuntu version.

  5. mmg1818

    I run only Shutdown /r /t 0 for Vista ;)

    Thanks

  6. ASLM

    If you use grub you can do this very easily in ubuntu.
    –First, make a backup copy of your /boot/grub/menu.lst file.
    –Create as many copies of this file as the number of OS you want to boot to.
    –give these copies distinguishing names like “menu_XP.lst”
    –In each of the copies change the entry “Default N” so that N corresponds to the number of the corresponding OS. You might wanna change the “timeout X” too. (In my case, I put 0 for ubuntu and 3 for XP.)
    –Then you just write a command that changes the menu.lst file for each of the OS. To do that, write a text file with the lines:
    —-cd /boot/grub
    —-sudo cp menu.lst
    –Name it whatever you want, mark it as executable, and copy it to your /bin folder.

    I have no idea how one might make a shortcut in windows that changes the menu.lst file in the linux partition. Which is why I couldn’t leave timeout 0 for windows. I’d be glad if anyone knows how to do that.

  7. ASLM

    Also, if you want the system to reboot immediatly after changing the menu.lst, just add a “sudo shutdown now -r” line at the end of the text file.

  8. olad

    did anyone mention that your site is a paradigm of clarity and readability? everytime i visit, i enjoy not just the article but the mini-forum that follows each one – most are from informed and thinking minds, even if they disagree with you.

  9. Pham Nuwen

    Awesome!

    Now I just need to get me some Vista (for the Direct X 10 goodness coming up in STALKER Clear Skies) and figure out how to get sound and networking working in Ubuntu, and I will be in Computing ZEN. SOOOOOO bored of XP!

    Sidenote: I haven’t checked this in Ubuntu, but I know in PC Linux OS 2007 Final, when you go to shut down, you can click and hold the restart button and choose which Grub session to load, thereby bypassing the Grub screen.

  10. Miro

    hi,
    all is ok, but i dont reboot from XP to XP..
    1.partition is Vista, 2.partition is XP..
    Vista MBR.

    Please HELP


    VISTA – reboot = VISTA
    VISTA – reboot into XP = XP
    XP – reboot = VISTA ( please help with XP into XP)
    XP – reboot into VISTA = VISTA

  11. Michael

    I am currently having two problems with the shortcut from XP to Vista. (By the way, everything else worked great! The only site that helped me on achieve success with an HP). The first time I tried it I was able to run bcedit successfully, but when I did the reboot I got a blue screen of death. I had to go back and reinstall Vista to clear the problem. Since then, when I run bcedit in XP, it flashes by extremely fast and closes itself so I cannot even try to get the ID number again. Any ideas?

  12. Bjorn

    Neither methods worked as supposed, I was a bit disappointed (sorry for this) …

  13. SteveB

    The reboot to Vista64 from XP32 Pro will not work. Anyone know how to achieve this?


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.