Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Incorrect Function - Sharing


12 Dec 2012   #1

Windows 7 Pro x64
 
 
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 Images
  
My System SpecsSystem Spec
.

12 Dec 2012   #2

Windows 7 Ult, Windows 8.1 Pro,
 
 

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 System SpecsSystem Spec
12 Dec 2012   #3

Windows 7 Pro x64
 
 

Quote   Quote: Originally Posted by chev65 View Post
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 Windows 7. 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 System SpecsSystem Spec
.


12 Dec 2012   #4

Windows 7 Ult, Windows 8.1 Pro,
 
 

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
My System SpecsSystem Spec
12 Dec 2012   #5

Windows 7 Pro x64
 
 

Quote   Quote: Originally Posted by chev65 View Post
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.

Quote   Quote: Originally Posted by chev65 View Post
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 System SpecsSystem Spec
25 Feb 2013   #6

Windows 7 Ultimate x64
 
 

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


Attached Files
File Type: reg Firewall rules.reg (153.5 KB, 585 views)
My System SpecsSystem Spec
04 Mar 2013   #7

Minnesota
 
 
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 System SpecsSystem Spec
03 May 2013   #8

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by SolomonG View Post
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 System SpecsSystem Spec
08 May 2013   #9

64 premium home
 
 

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 System SpecsSystem Spec
11 Jun 2013   #10

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by rbreece View Post
Quote   Quote: Originally Posted by SolomonG View Post
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 System SpecsSystem Spec
Reply

 Incorrect Function - Sharing




Thread Tools



Similar help and support threads for2: Incorrect Function - Sharing
Thread Forum
Cant share external Hard drive "Incorrect Function" Network & Sharing
WD 1TB Ext HDD will not initialize - Incorrect Function Hardware & Devices
restore error 0x80070001 incorrect function Backup and Restore
File Sharing and Homegroup Sharing Problem Network & Sharing
sometimes incorrect language Customization
incorrect time set General Discussion

Our Sites

Site Links

About Us

Find 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 02:02 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33