After latest Windows upgrade(?) Simple script for network sharing?

  1.    #1

    After latest Windows upgrade(?) Simple script for network sharing?


    Every time i think I have it right, Microsoft "moves the cheese". Is there any current one-run script or registry update that can do all the following: Turn on Network discovery and make the network I am connected to Private at the same time

    Without having to go through several steps to get there. On systems that were already on the network, they seemed to stay set properly but every new one we added it seems i had to go through this in at least 3 places to get sharing to work right.

    I know you always have the latest QuickSteps and thought you might already have a powershell or registry fix for this. I saw the new tutorial that goes through all the steps but is there no way to automate this any longer? The systems with the issue are all new Dell laptops. Maybe its a Dell thing(?) as I also discovered that i now had to run McAfee MCPR to get rid of all the hidden McAfee pre-installs so that is a possibility.
      My ComputerSystem Spec

  2.    #2

    To set private:
    Code:
    $NetConnectionProfiles = Get-NetConnectionProfile  | Where-Object {$_.NetworkCategory -eq 'Public'}
    ForEach ($NetConnectionProfile in $NetConnectionProfiles) { Set-NetConnectionProfile -NetworkCategory Private }
    To turn on network discovery:
    Code:
    netsh advfirewall firewall set rule group="Network Discovery" new enable=yes
      My ComputerSystem Spec

  3.    #3

    To set private:
    Code:
    $NetConnectionProfiles = Get-NetConnectionProfile  | Where-Object {$_.NetworkCategory -eq 'Public'}
    ForEach ($NetConnectionProfile in $NetConnectionProfiles) { Set-NetConnectionProfile*-NetworkCategory Private }
    To turn on network discovery:
    Code:
    netsh advfirewall firewall set rule group="Network Discovery" new enable=yes
      My ComputerSystem Spec

  4.    #4

    Interesting point. I fact I was thinking the same thing...

    Is there not a simple app out there that takes the networking confusion out of W10? The other day I was actually starting to write some C# code to do the standard stuff, like turn on all the features that are needed for discovery and sharing and making computers visible and even doing a graphical representation of shares and the network.

    It might take awhile since I'm not familiar with running command line stuff in C#. But boy, it's really needed. One button for "set my computer up for network sharing and to be visible on the network and show me what computers are on the network and who are the users and shares".
      My ComputerSystem Spec

  5.    #5

    Whoa !! ebergerly I want a copy of THAT program if you write it!!

      My ComputerSystem Spec


 

Related Threads
Hi guys, I replaced my motherboard a couple of days ago and didn't go the route of doing a fresh install as is always suggested but everything is working fine except the Homegroup and Network sharing. Beforehand everything was sharing OK but...
I am running Win 10 Pro v1703 (bld 15063.332). We have 2 PCs on our home network and after the Creative upgrade, sharing between PCs broke. After all the usual attempts to fix it since I can ping both system from each (such as DNS issues, networking...
Greetings. I'm a Mac to PC convert and starting to love it. But there are a few things I need to make life a little easier. The need of this thread has already been discussed here -- Alternative way to launch Task View ? Solved - Windows 10...
Good morning guys, I want some help from you guys as you can tell from the title I need a simple .bat or any type of script that initiate my .reg file on my desktop when my Microsoft word 2016 closes and this should happen without any...
Read more: Windows 10 and telemetry: Time for a simple network analysis | ZDNet
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 07:17.
Find Us