NET START resulted with message "The system cannot find the path specified" in Win2003 server

J

Jonathan Chong

I used to map a directory in win2000 server (A) to another win2000 server
(B) and do a NET START of my application in server A without problem.
After upgrade to Win2003 server for both A and B servers, NET START in
server A resulted with message "The system cannot find the path specified."

I am convince that it is not a permission/security issue after numerous
testing.
One of the test case I did was: Mapped a drive to server A itself and NET
START resulted with same error message.

Appreciate if you could share your view here.

Jonathan
 
D

Dave Patrick

Control Panel|System|Advanced|Environment Variables|System Variables and
make sure that "Path" has
%SystemRoot%\system32;%SystemRoot%
at least somewhere in the string.

Also check that "Path" found at
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
is a type Reg_Expand_Sz string and not type Reg_Sz

You can 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
%SystemRoot%\repair\RegBack
leaving the
%SystemRoot%\repair\
directory files intact as original installation.

Then close all programs, run regedit, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
rename the Reg_Sz string "Path" to "Pathx" Then run regedt32, navigate to
HKLM\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 Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I used to map a directory in win2000 server (A) to another win2000 server
| (B) and do a NET START of my application in server A without problem.
| After upgrade to Win2003 server for both A and B servers, NET START in
| server A resulted with message "The system cannot find the path
specified."
|
| I am convince that it is not a permission/security issue after numerous
| testing.
| One of the test case I did was: Mapped a drive to server A itself and NET
| START resulted with same error message.
|
| Appreciate if you could share your view here.
|
| Jonathan
|
|
 
J

Jonathan Chong

Dear Patrick,

Thanks for your reply. I have checked and confirmed the following value in
my Win2003 server as:

1. System Variable path consists of %SystemRoot%\system32;%SystemRoot%
2. The "Path" found at HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment is a type Reg_Expand_Sz.

Anyway, I tried what you recommended and it still gave me "The system cannot
find the path specified."

Regards,
Jonathan
 
D

Dave Patrick

Chong,
What happens if you navigate to;
%SystemRoot%\system32
and execute the same command?

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
Dave
|
| Thanks for your reply. I have checked and confirmed the following value in
| my Win2003 server as:
|
| 1. System Variable path consists of %SystemRoot%\system32;%SystemRoot%
| 2. The "Path" found at HKLM\SYSTEM\CurrentControlSet\Control\Session
| Manager\Environment is a type Reg_Expand_Sz.
|
| Anyway, I tried what you recommended and it still gave me "The system
cannot
| find the path specified."
|
| Regards,
| Jonathan
 
J

Jonathan Chong

I tried from C:\Windows\System32 and it was the same situation with "The
system cannot find the path specified." message given.

Regards,
Jonathan
 
D

Dave Patrick

Sounds like the file is missing. A rather uncommon issue but easily fixed.
You can expand a new copy from your installation media.

expand D:\I386\net.ex_ %systemroot%\system32\net.exe

Also you'll want to use the correct version for the service pack level
you're at. So you may need to extract the file from a service pack.

To extract the service pack files without installing them, execute
J:\W2kSP4\W2KSP4.exe /x
Then when prompted, specify a directory to hold the extracted files.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I tried from C:\Windows\System32 and it was the same situation with "The
| system cannot find the path specified." message given.
|
| Regards,
| Jonathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top