Link to home
Start Free TrialLog in
Avatar of IT Guy
IT GuyFlag for United States of America

asked on

Simple command line command to launch "Network and Sharing Center" within Win 10

Is there a simpler command line command to launch the "Network and Sharing Center" (see the screenshot) within Windows 10 from the run dialog box or from the command prompt  without having to type in the long command listed below?

control.exe /name Microsoft.NetworkAndSharingCenter

Open in new window


User generated image
Avatar of ITguy565
ITguy565
Flag of United States of America image

The only command that is quicker is ncpa.cpl but that launches Network Connections
Avatar of Bill Prew
Bill Prew

I don't believe there is.  If this is just for your personal machine, you can create a shortcut with a hotkey associated to it, and start it with a few keys...


»bp
SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Put your desktop icons on the desktop. Right click on Network, Properties and you are in. Only the last two steps are ever repeated.
Open the control center, making sure the window is not maximised.

Using the mouse, left click and drag the text "Network and Sharing Center" to your desktop to create a shortcut.

Use the shortcut.
@oBdA

Your solution has my vote.. The .cmd file would more than accomplish this and would be easily copied or transferred to other systems and should work seamlessly..


You could then make the command as large or as small as you choose and script it just as easily.
Avatar of IT Guy

ASKER

The reason I am trying to find a simple command line command to launch the "Network and Sharing Center" within Windows 10 is because this is a place I often go to while working on client computers and I'm hoping to find a simple way of doing this without having to create shortcuts on their desktops that they will delete.
You need Control Panel and then all is available to you.

If nothing is on the user's desktop, Winkey+R  , type control , and Control Panel opens. Network and Sharing Center is one of the items.

So it is fast and easy to do.
All you have to do is call or email Microsoft and tell them exactly what you want to type as a command in order to open "Network and Sharing Center", and I'm sure they will add it to the next version of Win10.
@Footech

ROFL I needed a good laugh this morning.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You beat me to it Joe. Exactly what I was about to suggest! (AutoHotKey) :)
Endorsed
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
All good thoughts, but I think the author's point is that they need this on any computer they walk up to,

Agree. That is why I said way back, and on any computer back to about Vista:  

Winkey+R  , type control , and Control Panel opens. Network and Sharing Center is one of the items
I Still think ncpa.cpl is the fastest way from a native command perspective.

Then click on network and Internet and then network and sharing center.
@ITguy565,

Just FYI, when I run ncpa.cpl I don't see a link "Network and Internet", just the following.  It certainly could be the result of a view I took in control panel, or my network configuration, but I guess it's not a given that the link you have is always on that window.

User generated image

»bp
Yes, that is why I use WinKey+R Control
@Bill,

That would be affirmative, in order to follow my instructions you must be in category View and not Small Icon View.
I think the author's point is that they need this on any computer they walk up to
Bill, I'm interpreting it differently. He said:
while working on client computers
I take that to mean via RDP, TeamViewer, etc. — not literally to "walk up to" the computers — in which case, software like AutoHotkey would do the trick. The other point in all of this is that it's literally three mouse clicks to get there in W10:

Right-click Start button
Left-click Network Connections
Left-click Network and Sharing Center

That seems as easy as any set of keystrokes. Regards, Joe
@Joe,

The Authors Comment :

The reason I am trying to find a simple command line command to launch the "Network and Sharing Center" within Windows 10 is because this is a place I often go to while working on client computers and I'm hoping to find a simple way of doing this without having to create shortcuts on their desktops that they will delete.

would indicate that he is looking for a command, but I can agree with the fact that remote access MAY be the better way to achieve this as long as there is connectivity to the machine. The very premise of the question however would suggest that there may not be.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think there have been some very useful suggestions along the way, given the limitations that exist (no simple command to invoke the desired UI).

It would be great if the author could join back in and share if any of these are useful, and wrap this thread up.


»bp
I agree. IT Guy should comment. I can Open Control Panel in about 3 seconds on any computer.
@Bill,

You took the words right out of my mouth!! Never thought a question like this could garner this much support! "22" Responses! That has to be a record for a question for a "simple" process!