Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ipconfig not found but my path is OK. Can anyone help???

11 views
Skip to first unread message

Mark Mulligan

unread,
Sep 12, 2002, 4:58:09 PM9/12/02
to
If anyone can help me with this I would really appreciate
it, otherwise my Microsoft System Administrator wants to
reinstall Windows and wipe out everything I have done to
set up this computer. Yuk.

I can not connect and tunnel through via a VPN dialer. A
symptom of the problem is that when I get into a DOS
window and type in the ipconfig command, it is not found.
The path appears to be OK but it is not being used. The
ipconfig and path command results appear below. When I
get into the Windows system32 directory and type ipconfig,
it works. My Microsoft system administrator tells me that
my VPN dialer has the same problem that this ipconfig
command has and can not find the path to the proper
programs to work correctly. HELP, HOW DO I FIX THIS ???

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

P:\>ipconfig
'ipconfig' is not recognized as an internal or external
command,
operable program or batch file.

P:\>path
PATH=C:\Program
Files\Embarcadero\July2002Shared;C:\Lotus\Notes\;C:\Lotus\N
otes\Data\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot
%\System32\Wbem;C:\Program Files\Common Files\Adaptec
Shared\System;C:\Program Files\Microsoft SQL Server\80
\Tools\BINN;C:\IMNNQ_NT;
C:\SQLLIB\BIN;C:\SQLLIB\SAMPLES\REPL;C:\SQLLIB\HELP

P:\>


Thanks,

Mark

Marty List

unread,
Sep 12, 2002, 5:13:55 PM9/12/02
to

Notice how %SystemRoot% is not being expanded to C:\WinNT or whatever your
Windows directory is? This is probably your problem. Check the key type
for this Registry key:
"HKLM\System\CurrentControlSet\Session Manager\Environment"

It should be type 'REG_EXPAND_SZ' and not 'REG_SZ'

This is not a fix, but as a troubleshooting step, try adding your system32
explicitly to the front of the PATH variable, like this:

P:\>path
PATH=C:\WinNT\System32;C:\Program Files\Embarcadero\July2002Shared;...


"Mark Mulligan" <Mark.M...@communitycredit.org> wrote in message
news:fcd601c25a9f$195388c0$36ef2ecf@tkmsftngxa12...

MTG

unread,
Sep 13, 2002, 12:37:17 PM9/13/02
to

It appears you have a mapped network drive set as your
home directory. Before running ipconfig, change to your
rootdrive i.e cd c:[hit enter]

Dave Patrick

unread,
Sep 13, 2002, 7:27:27 PM9/13/02
to
I'm guessing Marty is right on; that the Reg_Expand_Sz string
"Path"
was replaced with a type Reg_Sz string.
found at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

If this is the case you run Programs|Accessories|System Tools|Backup, then choose ERD, then if you
check the box for "Also backup....", then the reg will also be backed up to
%windir%\repair\RegBack
leaving the
%windir%\repair\
directory files intact as original installation.

Then close all programs.
Then run regedit.exe, navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
rename the Reg_Sz string "Path" to "Pathx"
Then run regedt32.exe, navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
double-click on Pathx, then right-click|Copy the string
then from the menu; Edit|Add Value
Value Name:=Path
Data Type:=REG_EXPAND_SZ
OK
then paste the string (copied from Pathx) in the string editor text box.
OK
Should be ok to delete the old value "Pathx"
Close regedit, and regedt32, restart for effect.


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Client/ User Interface]

ch...@nospam.com

unread,
Sep 14, 2002, 10:57:41 PM9/14/02
to
On Thu, 12 Sep 2002 15:13:55 -0600, "Marty List" <Bill....@sun.com>
wrote:

>
>Notice how %SystemRoot% is not being expanded to C:\WinNT or whatever your
>Windows directory is? This is probably your problem. Check the key type
>for this Registry key:
>"HKLM\System\CurrentControlSet\Session Manager\Environment"
>
>It should be type 'REG_EXPAND_SZ' and not 'REG_SZ'
>
>This is not a fix, but as a troubleshooting step, try adding your system32
>explicitly to the front of the PATH variable, like this:
>
>P:\>path
>PATH=C:\WinNT\System32;C:\Program Files\Embarcadero\July2002Shared;...

Interesting note:
On my XP machines the path key is not REG_EXPAND_SZ, but the system
root is hardcoded instead of using the %SystemRoot%

Dave Patrick

unread,
Sep 14, 2002, 11:05:38 PM9/14/02
to
It's somehow been altered then. Should be a type Reg_Expand_Sz

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Client/ User Interface]

0 new messages