PDA

View Full Version : msconfig pt. II


Sean
January 10th 05, 12:53 AM
Starting a new discussion.

Seemed to lose the details in the last post.

the error message I get when I run msconfig ...

"unable to synchronize the environmental variables in the windows registry
with the environment variables in the legacy files autoexec.bat and or
config.sys"

not too sure how to address this?

Mike M
January 10th 05, 01:40 AM
Nothing really to address but see MS KB264214 - "Error Message: Unable to
Synchronize the Environment Variables in the Windows Registry..."
(http://support.microsoft.com?kbid=264214) which suggests a couple of
possible reasons for seeing this message and how to deal with them.
--
Mike Maltby MS-MVP



Sean > wrote:

> Starting a new discussion.
>
> Seemed to lose the details in the last post.
>
> the error message I get when I run msconfig ...
>
> "unable to synchronize the environmental variables in the windows
> registry with the environment variables in the legacy files
> autoexec.bat and or config.sys"
>
> not too sure how to address this?

Sean
January 10th 05, 04:59 AM
Followed the link and the instructions, however, I do not have a temp file in
the environment to edit.

Any other suggestions you may have?

Mike M
January 10th 05, 02:43 PM
I'm a bit confused as nowhere did I or the KB article I referred you to
mention editing or altering a temp file but instead suggested you look at
the files autoexec.bat and config.sys and the KB made suggestions as to
two possible causes for the error you are seeing. That the autoexec.bat
file has a line with a trailing space or that the file config.sys contains
a legacy entry such as a [MENU} item.

The KB then explains how to check for possible trailing spaces using as an
example the TEMP variable on the Environment tab of MSConfig (the System
Configuration Utility). Since you appear to be perhaps a little confused
at what you are looking for may I suggest that you copy the contents of
your autoexec.bat and config.sys file to a reply to this message and we
can try and take it from there.

Regards,
--
Mike Maltby MS-MVP



Sean > wrote:

> Followed the link and the instructions, however, I do not have a temp
> file in the environment to edit.
>
> Any other suggestions you may have?

Sean
January 10th 05, 07:09 PM
The Temp variable I should say.

No details in the environment as mentioned.

Where can I obtain these details if I wish to cut & paste them on here.

Mike M
January 10th 05, 07:33 PM
Sean,

From my earlier message:
"I suggest that you copy the contents of your autoexec.bat and config.sys
file to a reply to this message and we can try and take it from there."

As to where you find these two files, the answer is - on your PC's hard
disk. They will both be in the root of C:\ and can both be read using
Notepad (select the file, right click, Open with and then select or browse
to Notepad.exe).

Hopefully you will find that config.sys is empty (size 0 byte) in which
case don't bother pasting a copy of an empty file just say that it is
empty. The contents of your autoexec.bat file should be quite small,
possibly just eight or nine lines.
--
Mike Maltby MS-MVP



Sean > wrote:

> The Temp variable I should say.
>
> No details in the environment as mentioned.
>
> Where can I obtain these details if I wish to cut & paste them on
> here.

Sean
January 10th 05, 09:41 PM
Nothing in the config.sys and autoexec in c:\ when opened runs a mcafee virus
program in dos.

Sean
January 10th 05, 09:45 PM
Here is a autoexec.nai file that was located under the .bat file.

@ECHO OFF


IF "%config%"=="NOCD" GOTO QUIT

REM LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:mscd001
echo.

:QUIT
SET DIRCMD=/og /a /p
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;A:\

Mike M
January 10th 05, 09:58 PM
I am only interested in the contents of the files config.sys and
autoexec.bat however if autoexec.bat contains an IF line such as is in
autoexec.nai then that is likely to be the cause of the problem.

However you have already been told this when you posted the identical
query in the windowsme.systemtools newsgroup before Christmas so I am
signing off now as I see little or no point in continuing to reply to your
messages since you appear to be unwilling to act on the advice given to
you before Christmas.
--
Mike Maltby MS-MVP



Sean > wrote:

> Here is a autoexec.nai file that was located under the .bat file.
>
> @ECHO OFF
>
>
> IF "%config%"=="NOCD" GOTO QUIT
>
> REM LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:mscd001
> echo.
>
>> QUIT
> SET DIRCMD=/og /a /p
> SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;A:\

Sean
January 10th 05, 10:01 PM
Opened C:\autoexec.bat in notepad. Here are the results:
@ECHO OFF


IF "%config%"=="NOCD" GOTO QUIT

REM LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:mscd001
echo.

:QUIT
SET DIRCMD=/og /a /p
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;A:\




C:\PROGRA~1\COMMON~1\NETWOR~1\VIRUSS~1\40~1.XX\sca n.exe C:\
@IF ERRORLEVEL 1 PAUSE

SET CLASSPATH="C:\WINDOWS\SYSTEM\QTJava.zip"
SET QTJAVA="C:\WINDOWS\SYSTEM\QTJava.zip"

Sean
January 11th 05, 12:17 AM
Mike, while I appreciate you following up this with me, the problem that Im
having is that some mention too delete a few items and there is mention that
I dont even need the file and to delete it.

Trying to get some transparency in those suggestions.

Sean
January 11th 05, 12:31 AM
- are you sure that this is the C:\AUTOEXEC.BAT file, and not either
C:\AUTOEXEC.DOS or A:\AUTOEXEC.BAT?)

This was a question asked and the only thing I can locate is that it is a
MS-Dos file.

He certainly explains everything that I pasted regarding this, however, he
mentions to delete items, which is fine, then how do I exit and save this?

- REM out the line for the moment and see if your system performance improves)

SET QTJAVA="C:\WINDOWS\SYSTEM\QTJava.zip"
(if you REM out the previous line you must also REM this one out)

Also, Im not sure how to rem items that he said to complete.

Thanks

Mike M
January 11th 05, 01:00 AM
As you were told before Christmas these are legacy files and NOT used by
Win Me and only retained because some old DOS based applications expect to
find these two files.

Delete them both and reboot. Config.sys will be recreated as a zero byte
file and autoexec.bat will be recreated after the next reboot and contain
a few SET commands for compatibility with legacy DOS based applications.
--
Mike Maltby MS-MVP



Sean > wrote:

> Mike, while I appreciate you following up this with me, the problem
> that Im having is that some mention too delete a few items and there
> is mention that I dont even need the file and to delete it.
>
> Trying to get some transparency in those suggestions.

Sean
January 18th 05, 01:45 AM
I am trying to ensure that the right information is posted.

As for the details mentioned in December. There are suggestions that I am
not aware hot too complete.

"Mike M" wrote:

> I am only interested in the contents of the files config.sys and
> autoexec.bat however if autoexec.bat contains an IF line such as is in
> autoexec.nai then that is likely to be the cause of the problem.
>
> However you have already been told this when you posted the identical
> query in the windowsme.systemtools newsgroup before Christmas so I am
> signing off now as I see little or no point in continuing to reply to your
> messages since you appear to be unwilling to act on the advice given to
> you before Christmas.
> --
> Mike Maltby MS-MVP
>
>
>
> Sean > wrote:
>
> > Here is a autoexec.nai file that was located under the .bat file.
> >
> > @ECHO OFF
> >
> >
> > IF "%config%"=="NOCD" GOTO QUIT
> >
> > REM LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:mscd001
> > echo.
> >
> >> QUIT
> > SET DIRCMD=/og /a /p
> > SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;A:\
>
>

Sean
January 18th 05, 03:09 AM
:QUIT
SET DIRCMD=/og /a /p
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND




@IF ERRORLEVEL 1 PAUSE

After completing the changes suggested in Dec's post. These are the items
that I have showing in the autoexec ms dos batch file.

The error still remains.

Shane
January 18th 05, 03:23 AM
Remove the

@IF ERRORLEVEL 1 PAUSE

and the

:QUIT

As ME transfers the settings to the registry - hence the error message! -
those two are alien to it. Forget labels, forget IF commands.


Shane



"Sean" > wrote in message
...
>
>
>
>
> :QUIT
> SET DIRCMD=/og /a /p
> SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
>
>
>
>
> @IF ERRORLEVEL 1 PAUSE
>
> After completing the changes suggested in Dec's post. These are the items
> that I have showing in the autoexec ms dos batch file.
>
> The error still remains.

Sean
January 18th 05, 04:41 AM
Thanks Shane. Completed as requested, however, still same error message.

There is a autoexec NAI file underneath this, any changes in there?

Shane
January 18th 05, 05:38 AM
Sean,

Is that *all* you have in autoexec.bat? And what is it you want done via
autoexec.bat anyway?

Personally I boot ME using one of the real mode DOS hacks (which I was at
one time dead set against). Using that, autoexec.bat and config.sys are
processed at startup and I have a very extensive set of commands in those. I
do sometimes revert to default ME (ie, non-real mode) mode and have to swap
back to original or near-original autoexec.bat. Using the modified version
gives that same error message.

This is how my default ME autoexec.bat looks, the gist of which should work
for you too:

SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET TEMP=F:\WINME\TEMP
SET TMP=F:\WINME\TEMP
SET DIRCMD=/O:GEN/A/P
SET COPYCMD=/Y
SET
PROMPT=[WIN-ME]
$p$g

I have pcmag's ansi.com (and doskey) loading via cmdinit.bat, thus the DOS
box colours work. Obviously I also have the temp folders on F, whereas
standard would be C:\WINDOWS\TEMP. Config.sys should be completely empty.


Shane





"Sean" > wrote in message
...
> Thanks Shane. Completed as requested, however, still same error message.
>
> There is a autoexec NAI file underneath this, any changes in there?
>

Sean
January 18th 05, 04:03 PM
Shane, good morning.

I havent created this file. Awhile ago my computer crashed going through
security at an airport.

I dont have a cd rom with this laptop nor a floppy disk; decided against the
docking station. Any event, my brother loaded up xp on it and then went back
to winMe.

Couldnt tell you how he did it.

Shane
January 18th 05, 06:26 PM
Sean,

I'm not sure *exactly* what you're telling me here. Anyhow, here you can
download an autoexec.bat, config.sys and msdos.sys for ME. All files go to
C:\ overwriting the previous ones.

http://website.lineone.net/~shanebeatson/files/ME_files.zip

If you still get the error using these three files, then the cause is
elsewhere.

Note for anyone else who might see this and contemplate using these files,
your autoexec.bat may contain additional statements such as for SET PATH=
and you should back up your files first in case required for reference
later.

Shane


"Sean" > wrote in message
...
> Shane, good morning.
>
> I havent created this file. Awhile ago my computer crashed going through
> security at an airport.
>
> I dont have a cd rom with this laptop nor a floppy disk; decided against
> the
> docking station. Any event, my brother loaded up xp on it and then went
> back
> to winMe.
>
> Couldnt tell you how he did it.
>

Sean
January 18th 05, 09:19 PM
Alright, now Ive downloaded these files and Im not sure what to do with them
or how to run them.

Still working on this though.

Shane
January 18th 05, 11:09 PM
Just extract them all to C:\ and agree to overwriting pre-existing files.
You might want to back those three files up first, but there doesn't sound
much point.


Shane


"Sean" > wrote in message
...
> Alright, now Ive downloaded these files and Im not sure what to do with
> them
> or how to run them.
>
> Still working on this though.

Mike M
January 18th 05, 11:19 PM
Shane,

I don't know why Sean doesn't follow the advice he has been given already
on a number of occasions which is simply to delete config.sys and
autoexec.bat. Win Me will rebuild the files as necessary. Mountains and
molehills however come to mind when reading this and the previous thread.
--
Mike Maltby MS-MVP



Shane > wrote:

> Just extract them all to C:\ and agree to overwriting pre-existing
> files. You might want to back those three files up first, but there
> doesn't sound much point.

Sean
January 18th 05, 11:37 PM
Shane, thats the sh.t !!

Works like a charm. Thanks for your help.

Shane
January 19th 05, 01:49 AM
Glad to hear it.


Shane


"Sean" > wrote in message
...
> Shane, thats the sh.t !!
>
> Works like a charm. Thanks for your help.
>