Windows 8 and 8.1 Forums


How to automate sharing when connecting to new newtwork

  1. #1


    Posts : 9
    Windows 8.1

    How to automate sharing when connecting to new newtwork


    Hello,

    When you first connect to a new network Windows 8.1 opens up the following window:




    I am trying to automate a way so that the answer is always: yes, turn on sharing and connect to devices.

    It needs to be automatic without requiring the user to click on the window. This will be used in systems where no keyboard/screen/mouse are present.

    Any ideas?

    Best Regards,

    Skibum1

      My System SpecsSystem Spec

  2. #2


    Central IL
    Posts : 3,468
    Linux Mint 17.2


    You have to go to the folders you want to be shared. Just turning on sharing is not going to automatically start sharing the whole drive. It will allow someone to access the drive across the network. Suggest using Password protected sharing. Also if you have any type of firewall running on the machines. Turn it off, and just let your router do the work as a Firewall.
      My System SpecsSystem Spec

  3. #3


    Posts : 9
    Windows 8.1


    Quote Originally Posted by broe23 View Post
    You have to go to the folders you want to be shared. Just turning on sharing is not going to automatically start sharing the whole drive. It will allow someone to access the drive across the network. Suggest using Password protected sharing. Also if you have any type of firewall running on the machines. Turn it off, and just let your router do the work as a Firewall.
    Yes, I have done all that. I do have sharing already turned on, but this window still appears when a new LAN is connected.

    If you plug your computer into a new LAN that the computer has never seen before this window will pop up. I am trying to find a way to automate saying "yes" OR stop this window from appearing and just accepting any new LAN connection to share on.
      My System SpecsSystem Spec

  4. #4


    Central IL
    Posts : 3,468
    Linux Mint 17.2


    It will always appear when you connect to a different LAN. It is a part of the Windows Firewall/ICS Services. You only want to allow, if you are on your own or a trusted LAN. Personally I would not enable folder sharing out to the LAN, unless you are at home on your own personal LAN. No need for people to be able to see what you have on your computer.
      My System SpecsSystem Spec

  5. #5


    Posts : 9
    Windows 8.1


    Quote Originally Posted by broe23 View Post
    It will always appear when you connect to a different LAN. It is a part of the Windows Firewall/ICS Services. You only want to allow, if you are on your own or a trusted LAN. Personally I would not enable folder sharing out to the LAN, unless you are at home on your own personal LAN. No need for people to be able to see what you have on your computer.
    Woiuld you know what services I would have to disable to do what I wish? This will only be used on private home networks.
      My System SpecsSystem Spec

  6. #6


    Central IL
    Posts : 3,468
    Linux Mint 17.2


    Quote Originally Posted by skibum1 View Post
    Would you know what services I would have to disable to do what I wish? This will only be used on private home networks.
    You cannot. This service has to run.
      My System SpecsSystem Spec

  7. #7


    Quote Originally Posted by skibum1 View Post
    Quote Originally Posted by broe23 View Post
    You have to go to the folders you want to be shared. Just turning on sharing is not going to automatically start sharing the whole drive. It will allow someone to access the drive across the network. Suggest using Password protected sharing. Also if you have any type of firewall running on the machines. Turn it off, and just let your router do the work as a Firewall.
    Yes, I have done all that. I do have sharing already turned on, but this window still appears when a new LAN is connected.

    If you plug your computer into a new LAN that the computer has never seen before this window will pop up. I am trying to find a way to automate saying "yes" OR stop this window from appearing and just accepting any new LAN connection to share on.
    Once you log onto a network, you can save that connection. You say your only connecting to your home network you shouldn't have an issue? To do what you want you would have to write some code to run during your boot up. I don't understand you wanting to open your computer to any network that comes along no security that way at all. Anyone could log on to your Computer with a smart phone or tablet Yea no security at all.
      My System SpecsSystem Spec

  8. #8


    Posts : 9
    Windows 8.1


    Quote Originally Posted by Clintlgm View Post
    Quote Originally Posted by skibum1 View Post
    Quote Originally Posted by broe23 View Post
    You have to go to the folders you want to be shared. Just turning on sharing is not going to automatically start sharing the whole drive. It will allow someone to access the drive across the network. Suggest using Password protected sharing. Also if you have any type of firewall running on the machines. Turn it off, and just let your router do the work as a Firewall.
    Yes, I have done all that. I do have sharing already turned on, but this window still appears when a new LAN is connected.

    If you plug your computer into a new LAN that the computer has never seen before this window will pop up. I am trying to find a way to automate saying "yes" OR stop this window from appearing and just accepting any new LAN connection to share on.
    Once you log onto a network, you can save that connection. You say your only connecting to your home network you shouldn't have an issue? To do what you want you would have to write some code to run during your boot up. I don't understand you wanting to open your computer to any network that comes along no security that way at all. Anyone could log on to your Computer with a smart phone or tablet Yea no security at all.
    I appreciate the concerns about security, but that is not an issue for what we are doing. The computers do not have wifi - they only have Ethernet. The computers will not have a screen/keyboard/mouse on installation. We can use RDP to get access to accept the new LAN connection, but it is a step I want to remove.

    There must be some way to do this?
      My System SpecsSystem Spec

  9. #9


    Central IL
    Posts : 3,468
    Linux Mint 17.2


    Quote Originally Posted by skibum1 View Post
    I appreciate the concerns about security, but that is not an issue for what we are doing. The computers do not have wifi - they only have Ethernet. The computers will not have a screen/keyboard/mouse on installation. We can use RDP to get access to accept the new LAN connection, but it is a step I want to remove.

    There must be some way to do this?
    You are trying to use a desktop OS as a Server. Again, you cannot remove this Service or disable it in what you are wanting to do. If you want to run a file server, set up one with FreeNAS or one of the other Linux distro's.

    If you want to stick with Windows, then get Windows Small Business Server. We call these Headless systems. Due to all they are are a box with nothing else attached to them.

    You should not get that pop-up if you just stick with one network. Do not know why you want to take a headless system to various LAN's. If you want to travel with the computer, get a laptop to do that, not a desktop box.
      My System SpecsSystem Spec

How to automate sharing when connecting to new newtwork
Related Threads
How to "Share with" and "Stop Sharing" Files and Folders on a Network or Shared PC in Windows 8 This tutorial will show you how to set folders and drives in Windows 8 to share with or stop sharing the files in them with people on your network (homegroup, workgroup, or domain) or on a PC that...
Hi everyone. This is probably a simple issue. I have just bought an ASUS computer running Windows 8.1. My old computer (Windows 7), would detect when I plug in a new screen (e.g. connecting my laptop to my desktop screen) and automatically change the screen settings for that screen. Now I find I...
Hi All, I want to Simple App/Software Mouse Click to Simulate Mouse Click on a button in A Window. The Window is 45995 and the button is Connect. I want to simulate the click when ever the button text is connect other wise no click is made. Is there any app/software/script to my need ?
Automate login to browser - wifi in Network & Sharing
Hello I am looking for this on the internet, but until now i was unable to found I have a asus notebook running windows 8.1. I work on a college, and the wifi network don´t has a wpa key to connect. But once the computer connects to the network, it requires a login using the browser, where i give...
Is it possible to create a .vbs script that will automate the following steps?(Right-click on desktop) Personalize Desktop Background Clear All Select All Save changes The script when run would automatically select all the files in the (already-designated) desktop image folder. Ideally...
Been playing with system image backup in Win 8.1 Update. Macrium free also seems pretty good although it lacks a windows boot menu option. Anyway to automate the integrated backup service in Win 8.1 u need to create a scheduled task with the command line :- wbadmin start backup...
(Note: All settings are default with Network Sharing turned ON). From Windows 7/8 to windows 7/8 (default Share folders Users$) 1) Open Explorer, and expand Network, click on the required machine (in this example it’s WDP-Tools). 2) The follow box will appear, put in the username and...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook