boot up

By gnilwoc ยท 4 replies
May 9, 2004
  1. when i start up my system i receive a message on the start up screen as follows

    mode prepare code page function completed
    mode select code page function completed
    doskey installed

    then the question " do you want to compact registry now [ y,n] ?

    could you advise how i can stop this appearing.

    many thanks
    david cowling
  2. Didou

    Didou Bowtie extraordinair! Posts: 4,274

    First off, it's always nice to give us information about your setup, it only makes it easier for us to help & faster for you to get answers.

    By the lines you put, I take it you are running some flavour or Win9x. You need to take a look at the file c:\autoexec.bat & see what's in it. There's a line in that file that queries for the registry compression. Maybe it was put there by some utility you've installed.

    You can always post the contents of that file here & we'll try to pinpoint the line asking that question at every bootup ( I suppose it happens every single time you boot up the machine... ).

    PS. Welcome to TechSpot. Hope you enjoy your stay.:wave:
  3. gnilwoc

    gnilwoc TS Rookie Topic Starter

    many thanks for your response. the autoexec.bat states as follows
    call c\windows\system\_nw_ndszbatc:windows\system
    echo off
    mode on codepage prepare=((850)c\windows\command\ega.cpi)
    mode con codepage select=850
    keyb uk,,c:\windows/command\keyboard.sys
    @echo off
    choice do you want to compact the registry now ?
    if error level 2 go to end
    choice did you check the bios to verify that the disk saver has been turned off ?
    if error level 2 go to no
    echo cleaning compact registry
    c:\windows\regedit.exe\cc:windows\new reg.reg
    go to end
    echo do you want to reboot now and make sure it is turned off?
    choice the compacting will start again after re booting
    if error level 2 go to try
    press the ctrl-alt-delete buttons to reboot
    pause >nul
    pause >nul
    pause >nul
    go to start

    i am assuming i need to remove the tick in some of the boxes to avoid this showing again. your comments would be appreciated.
  4. gnilwoc

    gnilwoc TS Rookie Topic Starter

    apologies my system is windows 98 desktop

  5. Didou

    Didou Bowtie extraordinair! Posts: 4,274

    You can remove the following lines from the C:\autoexec.bat file ( save them in another file inca se you want to put them back in there ).

    These lines ( as you might've guessed ), compress your registry at each startup. It can help if your registry gets very big but the rest of the time it just slows down the system ( the Registry has to be decompacted in order to be browsable ).
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...