Re: Shortcut to Network Connection

Hi Doug,

This may not be much help, but here it is anyway.

Local Area Connection Status apparently runs under explorer.exe , not

Here's why I think that.

Open Local Area Connection Status, then open Task Manager on Applications
tab, right click Local Area Connection Status, select Go To Process and
explorer.exe is highlighted under Processes tab.

Open Local Area Connection Status.
Open a command prompt and type the following command:

tasklist /m /fi "IMAGENAME eq rundll32.exe" >C:\rundll32.txt

INFO: No tasks running with the specified criteria. Is what you get and
C:\rundll32.txt is empty.

Then just to show that the command actually works, open Date and Time
Open a command prompt and type the following command:

tasklist /m /fi "IMAGENAME eq rundll32.exe" >C:\rundll32.txt

Then open C:\rundll32.txt, this is what you get:

1820 ntdll.dll, kernel32.dll, msvcrt.dll, GDI32.dll, ADVAPI32.dll,
RPCRT4.dll, USER32.dll, IMAGEHLP.dll, shell32.dll, SHLWAPI.dll,
comctl32.dll, comctl32.dll, ole32.dll, timedate.cpl, IMM32.dll, UxTheme.dll,
w32time.dll, MSVCP60.dll, WS2_32.dll, WS2HELP.dll, NETAPI32.dll,
iphlpapi.dll, USERENV.dll, Secur32.dll

The Target for my Open Local Area Connection shortcut is
{BA126ADB-2166-11D1-B1D0-00805FC1270E} and like you stated, it tracks down
to netman, the Network Connections service. netman.dll is the Network
Connections Manager.

{BA126ADB-2166-11D1-B1D0-00805FC1270E} = LAN Connection Class
{27AF75ED-20D9-11D1-B1CE-00805FC1270E} = Network Connection Manager Class

The following is FWIW.

This pasted in Start | Run
opens Network Connections.

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

This pasted in Start | Run
opens Network Connections.

This pasted in Start | Run
opens Network Connections.

Of course ncpa.cpl in the Run command will open Network Connections.

And RUNDLL32 SHELL32.DLL,Control_RunDLL NCPA.CPL will open Network
Connections. But tasklist /m /fi "IMAGENAME eq rundll32.exe" doesn't find
anything. Rundll32.exe runs long enough to open ncpa.cpl and then ceases
and desists?

This pasted in Start | Run
opens My Network Places.

This pasted in Start | Run
explorer ::{208D2C60-3AEA-1069-A2D7-08002B30309D}
opens My Network Places.

None of these commands works...
explorer ::{27AF75ED-20D9-11D1-B1CE-00805FC1270E}
explorer ::{BA126ADB-2166-11D1-B1D0-00805FC1270E}

Neither did any other combinations that I tried. But I could have missed

Hope this helps. Let us know.

MS-MVP Windows Shell/User

In news:e45pD3GdGHA.4276@xxxxxxxxxxxxxxxxxxxx,
Doug Knox MS-MVP <dknox@xxxxxxxx> hunted and pecked:
I haven't been able to track it down. The GUID tracks to a CLSID that
points to the AppID


Which is NetMan. I'm assuming this is the NETMAN.DLL in the
Windows\System32 folder, but have been unable to find any RUNDLL32
command reference for it.

Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart
Win 95/98/Me/XP Tweaks and Fixes
Per user Group Policy Restrictions for XP Home and XP Pro
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"null" <stay@xxxxxxxx> wrote in message
Thank you. I should have worded my question better than I did. I had
already managed to create a shortcut using that method, but what I need
is to be able to run a command line that does the same thing. The
shortcut works, but it doesn't have a "normal" Target text box that can
be copied and used elsewhere. What it does have is some sort of GUID
string, but manually typing it and submitting it on a command line
doesn't work (not surprisingly).

Doug Knox MS-MVP wrote:

Right click My Network Places and select Properties. Right click the
Network Connection in question and select Create Shortcut. You'll be
told it can't be created there, and would you like to create it on
the Desktop.

"null" wrote:
Can someone tell me how to create a shortcut--or, more specfically,
what command line to use--to open a specific connection's properties?

I am not talking about opening the "Network Connections" folder in an
Explorer window. I am talking about opening the "<connection name>
Properties" dialog that appears if a connection is right clicked, and
Properties is selected.

I doubt there is a way to do it, but you never know...