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


Network and Sharing Center
IT GuyNetwork EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ITguy565Commented:
The only command that is quicker is ncpa.cpl but that launches Network Connections
1
Bill PrewCommented:
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
1
oBdACommented:
I'm afraid not. There are hundreds of these dialogs that you can open, so this is one of the shorter and easier to remember ways.
You can of course just drop one of these lines into a simple .cmd file, for example "nsc.cmd" in C:\Windows or some place else in the path, and then just type "nsc" or whatever you chose as name (don't name it "net.cmd", though - there's already a net.exe).
Or create a shortcut to the respective .exe with the arguments; I can offer one that's more complicated:
explorer.exe "shell:::{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}"

Open in new window

2
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

JohnBusiness Consultant (Owner)Commented:
Put your desktop icons on the desktop. Right click on Network, Properties and you are in. Only the last two steps are ever repeated.
0
Gerwin Jansen, EE MVETopic Advisor Commented:
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.
1
ITguy565Commented:
@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.
0
IT GuyNetwork EngineerAuthor Commented:
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.
1
JohnBusiness Consultant (Owner)Commented:
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.
1
footechCommented:
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.
1
ITguy565Commented:
@Footech

ROFL I needed a good laugh this morning.
0
Joe Winograd, Fellow&MVEDeveloperCommented:
I haven't read this whole thread, so I apologize if someone has already posted this, but the "Help Answer" email just came in, so I figured that I would post what works fine in my W10 sandbox (W7, too):

c:\windows\system32\control.exe /name Microsoft.NetworkAndSharingCenter

Regards, Joe

Edit: Oops, I see that was in the original question. So then I was going to suggest making a shortcut, but I see that Bill already posted that idea. Another thought...use a macro language (like AutoHotkey or anything similar) to send the text based on a hotstring, such as nscx (a string that you're not likely to type in anywhere else). In other words, typing nscx (or even nsx or nx, if you want), will automatically expand into:

c:\windows\system32\control.exe /name Microsoft.NetworkAndSharingCenter

Regards, Joe
1
Andrew LeniartSenior EditorCommented:
You beat me to it Joe. Exactly what I was about to suggest! (AutoHotKey) :)
Endorsed
0
Bill PrewCommented:
All good thoughts, but I think the author's point is that they need this on any computer they walk up to, not one that has been pre setup with shortcuts or additional software tools, etc.

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.

So unfortunately I think the answer in that use case is no, there is no baseline Windows built in way to get there a lot faster.

I will add a couple of other approaches that minimize keystrokes and clicks, but still are not a simple short command line command to launch the Network and Sharing Center.

  • Since you are asking just about Windows 10, you could click on Start icon, then type "network".  In the results list click on "Network and Sharing Center" (usually near top) and you are there.
  • Alternatively you can press WIN+X, W, then click on "Network and Sharing Center"
  • Alternatively you can press WIN+I, click on "Network and Internet", then click on "Network and Sharing Center"


»bp
0
JohnBusiness Consultant (Owner)Commented:
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
0
ITguy565Commented:
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.
0
Bill PrewCommented:
@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.

sshot-487.png

»bp
0
JohnBusiness Consultant (Owner)Commented:
Yes, that is why I use WinKey+R Control
0
ITguy565Commented:
@Bill,

That would be affirmative, in order to follow my instructions you must be in category View and not Small Icon View.
0
Joe Winograd, Fellow&MVEDeveloperCommented:
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
0
ITguy565Commented:
@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.
0
Joe Winograd, Fellow&MVEDeveloperCommented:
I'm hoping to find a simple way of doing this without having to create shortcuts on their desktops
I would define this as "a simple way":

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

And it does it "without having to create shortcuts". Regards, Joe
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bill PrewCommented:
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
1
JohnBusiness Consultant (Owner)Commented:
I agree. IT Guy should comment. I can Open Control Panel in about 3 seconds on any computer.
2
ITguy565Commented:
@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!
1
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.