Incorrect Function - Sharing

Page 1 of 2 12 LastLast

  1. Posts : 9
    Windows 7 Pro x64
       #1

    Incorrect Function - Sharing


    I recently added a larger hard drive to my system and moved everything from my old drive to the new one and changed the drive letter of the new drive to match the old one so that paths would not be broken for all my shortcuts, Lightroom folders, etc. Everything seemed to transition fine. However I'm trying to share my drive over the network, which before was a never a problem. I had removed the share to troubleshoot other issues I was having previously and decided to wait till I made the drive switch to reactivate the share.
    Today I right click on the drive and go to properties and sharing. I noticed that the share button under 'Network File and folder Sharing' is grayed out even though it's not being shared. So I choose Advanced Sharing. From there I check the box to share the folder and press apply and I get this lovely error:
    "An error occurred while trying to share F. Incorrect function. The shared resource was not created at this time."

    I also tried using net share via elevated command line, but when I do "net share f=F:\" it tells me that my syntax is incorrect, which I'm pretty sure it's correct as I can use net share to share other folders fine.
    Any ideas?

    Btw:
    -firewall is turned off.
    -using net view does not show any extra share that shouldn't be there
    -I have tried using different names for the share beside just the drive letter.
    -sharing folders within the drive work fine, just not the fill drive itself
    -I need to share the full drive because I'm mapping it on other computer to use a program which needs to retain the full integrity of the path (ie. if it's f:\foobar one computer it has to be f:\foobar on the other).
    -EDIT: I tried net share f=F:/ (notice different slash) and got System error 1, incorrect function.

    thanks.
    Attached Thumbnails Attached Thumbnails Incorrect Function - Sharing-capture2.jpg   Incorrect Function - Sharing-capture.jpg  
      My Computer


  2. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #2

    Is your name showing up as the Admin with full control under the Security tab of this drive?

    If not you may need to take ownership of the drive.

    You also need to turn on the Windows firewall or nothing will work right.

    If you need to give Everyone in your LAN access to this drive then you need to go into the Security tab>Edit button>Add button>type Everyone into the empty box and apply, ok.

    You would also need to share the drive using the Advanced sharing button under the Sharing tab.

    The greyed out share button is typical, nothing new there at all, mine is the same way. Just use the advanced sharing button to share that drive.
      My Computer


  3. Posts : 9
    Windows 7 Pro x64
    Thread Starter
       #3

    chev65 said:
    Is your name showing up as the Admin with full control under the Security tab of this drive?

    If not you may need to take ownership of the drive.

    You also need to turn on the Windows firewall or nothing will work right.

    If you need to give Everyone in your LAN access to this drive then you need to go into the Security tab>Edit button>Add button>type Everyone into the empty box and apply, ok.

    You would also need to share the drive using the Advanced sharing button under the Sharing tab.

    The greyed out share button is typical, nothing new there at all, mine is the same way. Just use the advanced sharing button to share that drive.
    Thanks for the quick reply. I did verify that I have full control, I also ran the TakeOwnership shortcuts from the forum to make sure it drilled down and took control of everything.

    I don't understand your statement about the firewall. I always feel that the firewall keeps stuff from working, not makes it work, but I'm no expert in the inner workings of Win7. Either way, If I turn Windows Firewall on (even if I use restore default settings) I cannot share anything. With the firewall turned on it turns off network discovery. When I try to turn network discovery on, it turns it right back off. Which may be symptomatic of another issue. (I troubleshooted that problem for a week before I just went back to having the firewall off).
      My Computer


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #4

    The problem isn't with the firewall at all, it just appears to be because the actual problem is with network discovery not staying on which is a very typical problem with many different causes. You should Google or search "Network Discovery will Not Stay On" and you will see what I mean.

    There are so many causes of this problem it's near impossible for me to nail one of them down here but it's most likely a Windows service problem with the base filtering engine.

    In any event, the Windows firewall needs to remain turned on. And like I already mentioned it's not a firewall problem though it appears to be.

    I receive the message that my ESET installation ended prematurely - ESET Knowledgebase
    Last edited by chev65; 11 Oct 2013 at 11:23.
      My Computer


  5. Posts : 9
    Windows 7 Pro x64
    Thread Starter
       #5

    chev65 said:
    The problem isn't with the firewall at all, it just appears to be because the actual problem is with network discovery not staying on which is a very typical problem with many different causes. You should Google or search "Network Discovery will Not Stay On" and you will see what I mean.
    There are so many causes of this problem it's near impossible for me to nail one of them down here.
    yeah, like I said I troubleshooted that for many hours before just turning the firewall off. Most solutions ended up being solved by turning the firewall off in the end. Which is what I finally did after trying many many other steps.

    chev65 said:
    In any event, the Windows firewall needs to remain turned on.
    What's the reasoning for that statement? If I'm behind my router, monitor services, monitor inbound/outbound network connections why should I have the firewall turned on? I'm just wondering what the firewall does that would help with file sharing?

    Also are you saying that we can't troubleshoot my original problem without turning on the firewall? I can share any folder anywhere fine, I just cannot share the top drive level.
      My Computer


  6. Posts : 1
    Windows 7 Ultimate x64
       #6

    Iv had a similar problem lately and it turned out to be a virus had deleted all the rules from the firewall

    (HLM\system\currenntcontrolsetzservices\sharedaccess\defaults\firewallpolicy\firewallrules)

    The whole dafault folder was gone.

    Iv attached the missing rules in the .reg file, download and merge with your current reg (right click . merge)

    Then goto control panel > firewall > allow a program or feature through the firewall > You might have to click the change settings button here > then put ticks in all the boxes under home that apply to you.. file and print sharing , network discovery etc click ok at the bottom of the page. You should then be able to turn on network discovery, file and print sharing and share your folders.

    The attached file will work with all vista and win 7 systems
    Incorrect Function - Sharing Attached Files
      My Computer


  7. Posts : 1
    Minnesota
       #7

    Fix for cannot share folders or printers


    It took me a couple of days to figure this out. I could not share folders or printers. I could also not turn on Network Discovery or File and Printer sharing. The radio buttons would revert back to OFF everytime.

    What I needed to do was to repair the Base Filtering Engine service. I'm guessing a virus or some bad program messed this up. I used a repair utility from ESET to do this for me.

    Here it is: I receive the message that my ESET installation ended prematurely - ESET Knowledgebase

    There is a ServiceRepair.exe. Running this and rebooted fixed the problem for me.

    Hope this helps someone else.

    Dave
      My Computer


  8. Posts : 1
    Windows 7 Ultimate x64
       #8

    SolomonG said:
    It took me a couple of days to figure this out. I could not share folders or printers. I could also not turn on Network Discovery or File and Printer sharing. The radio buttons would revert back to OFF everytime.

    What I needed to do was to repair the Base Filtering Engine service. I'm guessing a virus or some bad program messed this up. I used a repair utility from ESET to do this for me.

    Here it is: I receive the message that my ESET installation ended prematurely - ESET Knowledgebase

    There is a ServiceRepair.exe. Running this and rebooted fixed the problem for me.

    Hope this helps someone else.

    Dave
    Thank you for posting this Dave! I had this exact problem today and running the ServiceRepair.exe file from ESET fixed the issue and I was able to share folders once again.

    Ryan
      My Computer


  9. Posts : 3
    64 premium home
       #9

    Hey ! I have to give my 'props' to both SolomonG and xmonkz . The registry firewall rules were actually missing on my machine, the Base Filtering Engine service was actually present in my services but I ran the fix above anyway, whiched actually worked. Symptom of the error described in OP is now gone.
      My Computer


  10. Posts : 1
    Windows 7 Home Premium 64bit
       #10

    rbreece said:
    SolomonG said:
    It took me a couple of days to figure this out. I could not share folders or printers. I could also not turn on Network Discovery or File and Printer sharing. The radio buttons would revert back to OFF everytime.

    What I needed to do was to repair the Base Filtering Engine service. I'm guessing a virus or some bad program messed this up. I used a repair utility from ESET to do this for me.

    Here it is: I receive the message that my ESET installation ended prematurely - ESET Knowledgebase

    There is a ServiceRepair.exe. Running this and rebooted fixed the problem for me.

    Hope this helps someone else.

    Dave
    Thank you for posting this Dave! I had this exact problem today and running the ServiceRepair.exe file from ESET fixed the issue and I was able to share folders once again.

    Ryan
    Hi Guys! I just registered to tell you that this solution FIXED the problem I was having that was identical to the OP. My Network sharing would NOT stay enabled no matter what I did. I did recall having a virus several months ago and I cleaned it, but I didn't realize it disabled some of my services.

    KUDOS to the ServiceRepair.exe and to user "rbreece".
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:02.
Find Us