Announcement

Collapse
No announcement yet.

How to use the recovery console to repair the boot.ini file

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to use the recovery console to repair the boot.ini file

    Ok, don't try this at home kids-but you can use this break, fix and learn method on a test/lab system to gain some experience in the recovery console. The RC can be used for good and bad so be very careful and definitely don't play with too many unfamiliar commands or you can really mess things up.

    1) If you have local admin privs then just change the view of folder options to display hidden files and protected operating system files.

    2) Next, deselect the Read only check box on the boot.ini file so you can save changes, crack it open in notepad and add a bunch of gobbly-gook to the ARC paths. Make it really abnormal to ensure that any of your windows installation(s) are pointing to some bogus SCSI drive or something and be sure to set the timeout to zero before saving the file and rebooting machine.

    quick fix:
    boot into the recovery console to repair boot.ini file which we clearly destroyed in step 2.


    Insert the Microsoft Windows XP CD (you can also use a Server 2003 CD) into the computer

    Reboot the computer with the CD in when prompted to press any key to boot from the CD

    Wait for the files to load, Once you are in the Microsoft Setup menu press R to open the recovery console.

    Select the operating system you wish to use; Windows XP installed so choose XP


    Once prompted for the admin password enter the Admin password (local) and press enter.

    Once at the command prompt type bootcfg /rebuild to start the rebuild process.

    bootcfg /rebuild command scans the hard disks of the computer for Windows XP installations, and then displays the results.

    You can add the detected Windows installations.
    You will receive a message that is similar to the following message:

    Total Identified Windows Installs: 1


    [1] C:\Windows
    Add installation to boot list? (Yes/No/All): Y


    Enter Load Identifier: Microsoft Windows XP Professional Edition


    Enter Operating System Load Options /fastdetect



    Type exit to reboot the computer and everything will be back to normal.
    Last edited by itpro; 7th October 2006, 05:31.
    ITPro
    MCSE, CCNA

  • #2
    Re: How to get back at your coworker

    Sounds like I need to send you some Milo.

    [Edit added after Tom's post below] I think this is a bit of a grey one. I was in a half a mind to remove it due to the possible distructive nature and the number of guest readers we have (kaos in the schools) but it also has some useful info on using the Recovery Console. It is for that reason I have left it in the Mics Forum at this stage and will let Daniel or Guy have the final say.

    Petri.co.il in NO WAY endourses or encourages ITPro's actions or suggestions in anything other than test environments.
    Last edited by biggles77; 7th October 2006, 07:00.
    1 1 was a racehorse.
    2 2 was 1 2.
    1 1 1 1 race 1 day,
    2 2 1 1 2

    Comment


    • #3
      Re: How to get back at your coworker

      Sounds a good way to get fired!

      Suggest we move this to Coffee Lounge?
      Tom Jones
      MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
      PhD, MSc, FIAP, MIITT
      IT Trainer / Consultant
      Ossian Ltd
      Scotland

      ** Remember to give credit where credit is due and leave reputation points where appropriate **

      Comment


      • #4
        Re: How to get back at your coworker

        Ok, edited the OP to discourage anyone from actually sabotaging a production system.
        Last edited by itpro; 7th October 2006, 05:14.
        ITPro
        MCSE, CCNA

        Comment


        • #5
          Re: How to use the recovery console to repair the boot.ini file

          This revised post is now almost Sticky material due to it's instructorial nature. Since you have training experience and are better able to judge it's educational benefits, what do you think Tom?
          1 1 was a racehorse.
          2 2 was 1 2.
          1 1 1 1 race 1 day,
          2 2 1 1 2

          Comment


          • #6
            Re: How to use the recovery console to repair the boot.ini file

            With revisions, excellent! I didnt doubt its accuracy before, just my usual worry that if you start messing with co-workers machines (or, God forbid, servers) you are likely to come up against disciplinary policy or even (in the UK at least) the Computer Misuse Act.

            Tom
            Tom Jones
            MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
            PhD, MSc, FIAP, MIITT
            IT Trainer / Consultant
            Ossian Ltd
            Scotland

            ** Remember to give credit where credit is due and leave reputation points where appropriate **

            Comment


            • #7
              Re: How to use the recovery console to repair the boot.ini file

              Revised to protect the innocent. Glad you guys now approve it.
              Last edited by itpro; 7th October 2006, 08:34.
              ITPro
              MCSE, CCNA

              Comment


              • #8
                Re: How to use the recovery console to repair the boot.ini file

                Might want to change the subjects on posts 2, 3, & 4 to remove the rest of the "evidence".
                Regards,
                Jeremy

                Network Consultant/Engineer
                Baltimore - Washington area and beyond
                www.gma-cpa.com

                Comment

                Working...
                X