Re: how to start networking from command line

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I did get to network in a convoluted way but only to find out it is running
at limited user power: from the login session of a plain limited user
runas /user:administrator /profile cmd
In the resulting cmd prompt after entering the password
: ncpa.cpl

which give me explorer pointing to C:\
in the explorer windows' address bar, I enter

::{208D2C60-3AEA-1069-A2D7-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1
270E}
the I finally get the network connections explorer window

However this windows is not run at administrator power - as son as I open
property of a LAN connection I got:
---------------------------
Local Network
---------------------------
Some of the controls on this property *** are disabled because you do not
have sufficient privileges to access or change them.
---------------------------
OK
---------------------------



definite time to give up


"Wesley Vogel" <123WVogel955@xxxxxxxxxxx> wrote in message
news:u1bmQJEEHHA.348@xxxxxxxxxxxxxxxxxxxxxxx
netcpl.cpl does not exist. inetcpl.cpl is Internet Properties.

Start | Run | Type: ncpa.cpl | Click OK should open Network
Connections.

Typing: ncpa.cpl in a command prompt and hitting Enter should open
Network Connections.

If typing just ncpa.cpl in the Run command or the command prompt does not
work, try...

%windir%\system32\ncpa.cpl

If that works, then your PATH is screwed up.

The PATH is used by both the Run command and the command prompt.

Open a command prompt, type: path and hit Enter.

You may have more, but these are a minimum...

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

See this.

Why don't my commands work?
http://internet.cybermesa.com/~bstewart/cmdprompt.html#6

Bill Stewart has written a small program called FIXPATH that attempts to
fix
these problems.

FIXPATH
http://internet.cybermesa.com/~bstewart/files/fixpath2.zip

If you want to get complicated...

This pasted in Start | Run
ncpa.cpl
opens Network Connections.

This pasted in a command prompt
ncpa.cpl
opens Network Connections.

This pasted in Start | Run
control ncpa.cpl
opens Network Connections.

This pasted in a command prompt
control ncpa.cpl
opens Network Connections.

This pasted in Start | Run
control.exe ncpa.cpl
opens Network Connections.

This pasted in a command prompt
control.exe ncpa.cpl
opens Network Connections.

This pasted in Start | Run
%windir%\system32\ncpa.cpl
opens Network Connections.

This pasted in a command prompt
%windir%\system32\ncpa.cpl
opens Network Connections.

This pasted in Start | Run
%windir%\system32\control.exe ncpa.cpl
opens Network Connections.

This pasted in a command prompt
%windir%\system32\control.exe ncpa.cpl
opens Network Connections.

This pasted in Start | Run
RUNDLL32 SHELL32.DLL,Control_RunDLL NCPA.CPL
opens Network Connections.

This pasted in a command prompt
RUNDLL32 SHELL32.DLL,Control_RunDLL NCPA.CPL
opens Network Connections.

{7007ACC7-3202-11D1-AAD2-00805FC1270E} is the CLSID for Network
Connections.

{208D2C60-3AEA-1069-A2D7-08002B30309D} is the CLSID for My Network Places.

This pasted in Start | Run
file:///::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.

This pasted in Start | Run
explorer ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.

This pasted in a command prompt
explorer ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.

This pasted in Start | Run
Explorer.exe

/e,/root,::{208D2C60-3AEA-1069-A2D7-08002B30309D}\::{7007ACC7-3202-11D1-AAD2
-00805FC1270E}
opens Network Connections.

This pasted in a command prompt
Explorer.exe

/e,/root,::{208D2C60-3AEA-1069-A2D7-08002B30309D}\::{7007ACC7-3202-11D1-AAD2
-00805FC1270E}
opens Network Connections.

This pasted in Start | Run

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.

We can further complicate things.

{20D04FE0-3AEA-1069-A2D8-08002B30309D} is My Computer

{21EC2020-3AEA-1069-A2DD-08002B30309D} is Control Panel

This pasted in Start | Run

file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:OgknNuCEHHA.4620@xxxxxxxxxxxxxxxxxxxx,
GS <gsmsnews.microsoft.comGS@xxxxxxxxxxxxxxxxx> hunted and pecked:
also tried
%windir%\system32\control.exe netcpl.cpl

nothing came up. I look at the list from
http://support.microsoft.com/kb/192806
I can't see anything else I even tried dropping cpl before the .cpl or
replace it with sys. no joy so far

just for curiosity, I tried in windows 2000 pro PC, same thing happens,
no deviation of behaviour.

MS must have clamped down the OS since then

"Wesley Vogel" <123WVogel955@xxxxxxxxxxx> wrote in message
news:OhHqOQ$DHHA.3596@xxxxxxxxxxxxxxxxxxxxxxx
Try typing: ncpa.cpl and hit Enter.

ncpa.cpl is Network Connections.

There ain't no network.msc nor network.cpl

Also works in the Run command.

Start | Run | Type: ncpa.cpl | Click OK

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:eiqoMy%23DHHA.1224@xxxxxxxxxxxxxxxxxxxx,
GS <gsmsnews.microsoft.comGS@xxxxxxxxxxxxxxxxx> hunted and pecked:
instead of clicking on the networking on the start menu or in the
control panel, how can I start changing property of a network
connection?

neither network.msc nor network.cpl works

I don't want to log off and login as the administrator account
directly
as I will have the firewall software slow down the PC in the remote
connection mode. the fw is ok as Long as I have login session in
place
from console and taken over by remote connection but login initiated
by
remote connection will cause the fw to consume excessive high amounts
of
CPU



.


Quantcast