Author Topic: Windows 7 - file and printer sharing will not turn on and stay on  (Read 40193 times)

0 Members and 1 Guest are viewing this topic.

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Shane, I have a problem in that Windows 7 file and printer sharing will not turn on and stay on. I have tried tweaking.com windows repair. Any other ideas?
In the advanced sharing settings in the network and sharing center - Under file and printer sharing
the selection turn on file and printer sharing will check but when you click save changes, the selection is not saved.
 
« Last Edit: November 05, 2015, 01:44:39 pm by rudolph963 »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #1 on: November 05, 2015, 02:50:16 pm »
Have you checked to see if it works with Windows Firewall or your AV program turned off ?

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #2 on: November 05, 2015, 03:02:34 pm »
I tried with both turned off but no go.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #3 on: November 05, 2015, 03:14:04 pm »
Can you check if these services are all showing as Started and Auto, although if some weren't you wouldn't be able to get Internet connectivity.

Go Start - type services.msc and press enter.

 Computer Browser
 DHCP Client
 DNS Client
 Network Connections
 Network Location Awareness
 Remote Procedure Call (RPC)
 Server
 TCP/IP NetBIOS helper
 Workstation

Also go into Device Manager/View/Show hidden devices and check for any yellow alerts - possibly in Non-Plug and Play Drivers.

There may also be something in Event Viewer with a corresponding date and time stamp.

BTW - which AV program are you using ?
« Last Edit: November 05, 2015, 03:38:28 pm by Boggin »

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #4 on: November 05, 2015, 03:26:04 pm »
computer browser and server will not start. AV program is mse

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #5 on: November 05, 2015, 03:37:11 pm »
This could be an awkward one as Computer Browser is dependent upon Server being started and a Dependency of Server is Security Accounts Manager - which is dependent upon RPC being started.

You can check each service Dependencies by right clicking on them, select Properties and then the Dependencies tab.

Check to see if Security Accounts Manager which is just up from Server is showing as Started and Auto.

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #6 on: November 05, 2015, 04:25:03 pm »
Security Accounts Manager is showing as Started and Auto. File and Printer sharing still dead.
« Last Edit: November 05, 2015, 05:18:36 pm by rudolph963 »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #7 on: November 06, 2015, 12:27:53 am »
When you try to start the Server service, do you get an error message with error code ?

When you double click on both Computer Browser and Server, under the Log On tab are they both showing as Local System and did you check Device Manager/View/Show hidden devices/Non-Plug and Play Drivers for any yellow alerts ?

Have you tried your restore points back to when File and Printer Sharing did work ?
« Last Edit: November 06, 2015, 12:32:12 am by Boggin »

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #8 on: November 06, 2015, 07:08:18 am »
Error 1068; both showing as local system; the only yellow alert is microsoft teredo tunneling adapter which has been there a long time; tried restore points and they did not help. Thanks  Also Rapport EI64 has a yellow alert code 24 - This device is not present, is not working properly, or does not have all its drivers installed.
« Last Edit: November 06, 2015, 07:22:36 am by rudolph963 »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #9 on: November 06, 2015, 07:48:53 am »
The only Rapport that I know of is Trusteer Rapport that some banks want you to install as a browser guard.

I found HitmanPro.Alert v3 disabled my Terodo Tunneling so I uninstalled it.

Error 1068 is a Dependencie error and the only one that hasn't been checked is Server SMB 1xxx Driver.

I had to Google for this one and found this article which gives steps for enabling it in the registry.

https://support.microsoft.com/en-us/kb/2696547

Scroll down to the Win 7 section.

I've gone into my registry and followed the path to \LanmanServer\Parameters and don't have any SMB listed, but I haven't set anything up for File and Printer Sharing and as you've had this set up, then perhaps the key was auto created for you - although my Server service is showing as Started and Auto with the Computer Browser just being set to Manual.

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #10 on: November 06, 2015, 08:17:27 am »
Did that and assuming I did it right still no go. Thanks

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #11 on: November 06, 2015, 08:34:38 am »
Did you use the cmd line or create/modify the key and then reboot and are you still getting the 1068 error when you try to start Server ?

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #12 on: November 06, 2015, 08:46:22 am »
still getting the 1068 error. Right clicked on Parameters and added a new DWORD Value and restarted the system.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #13 on: November 06, 2015, 09:06:37 am »
There must still be something adrift - can you have a look in Event Viewer for a recent time stamped error for when you've just tried to start Server.

Clicking on the blue online help link may or not give some info - just hoping that it isn't a DCOM error.

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #14 on: November 06, 2015, 09:26:25 am »
If I could see a picture of what the registry is supposed to look like after the changes are made as in the article above then I could tell if I have done them right. Thanks   

To enable or disable SMBv1 on the SMB server, configure the following registry key:
Registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Registry entry: SMB1
REG_DWORD: 0 = Disabled
REG_DWORD: 1 = Enabled
Default: 1 = Enabled
To enable or disable SMBv2 on the SMB server, configure the following registry key:
Registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Registry entry: SMB2
REG_DWORD: 0 = Disabled
REG_DWORD: 1 = Enabled
Default: 1 = Enabled

The snipping tool does not work so I can't take a picture of my work to show you.
« Last Edit: November 06, 2015, 12:54:11 pm by rudolph963 »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #15 on: November 06, 2015, 09:32:41 am »
What was listed for the recent time stamped Errors - were there any DCOM ones ?

When you get the window with Critical, Error etc. click on Error then on Show All Instances of This Event in the lower right pane to see them listed.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #16 on: November 06, 2015, 09:49:03 am »
In Event Viewer is anything listed for svrnet ?

http://batcmd.com/windows/7/services/srvnet/

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #17 on: November 06, 2015, 01:04:34 pm »
Error: The Server service depends on the Server SMB 1.xxx driver service which failed to start because the dependency service or group failed to start.
Also did everything in - In Event Viewer is anything listed for svrnet ?

http://batcmd.com/windows/7/services/srvnet/

Still no positive result.

You know, I believe I saw another thread on this problem where the problem was supposedly solved but there was no explanation as to how it was done; Shane I think.
« Last Edit: November 06, 2015, 01:55:36 pm by rudolph963 »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #18 on: November 06, 2015, 03:25:07 pm »
I don't know which other Dependency it's looking for.

I created a restore point then tried that cmdlet but it queried -Force and then -Value when I left  -Force off.

Looking at your post before last, I'm not now sure how you enabled SMB 1

Having failed with the cmdlet I went Start - typed regedit and pressed enter - accepted the UAC then expanded -

HKEY_LOCAL_MACHINE\SYSTEM\CurrenControlSet\services\LanmanServer\Parameters

I didn't have any SMB key listed so I created one by right clicking in the right pane and selected DWORD 32 bit

When the small box appeared with New Value #1 I cleared that and typed SMB 1 and pressed enter.

Right clicked again and selected Modify where I changed the default 0 to 1

Closed up the registry sections and rebooted.

I went into services.msc to see if anything had changed with Computer Browser and Server - Server was still showing as Started and Auto whereas Computer Browser had changed from its previous just Manual to Started and Manual.

This is what my registry looks like after creating that key -

« Last Edit: November 06, 2015, 03:30:29 pm by Boggin »

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #19 on: November 06, 2015, 03:27:37 pm »
Thanks, I will check to see if it matches what I did when I get back. Thanks

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #20 on: November 06, 2015, 04:20:34 pm »
Noticed a mistake in my last post - I right clicked on SB 1 to select Modify.

Offline rudolph963

  • Newbie
  • *
  • Join Date: Nov 2015
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #21 on: November 06, 2015, 08:23:38 pm »
I had SMB 1 showing under parameters in the left hand pane but not in the right hand pane. I will change and see what that does.  No change.
« Last Edit: November 06, 2015, 08:28:43 pm by rudolph963 »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #22 on: November 07, 2015, 12:38:40 am »
No wonder that cmdlet didn't work - it should have been done in Power Shell and not from an admin cmd prompt - must clean my specs :)

I still don't have SMB 1 in the left pane after creating the key.

Reading the article, it says it's a subkey of Parameters so perhaps it should only be in the right pane.

Create a restore point then go into the registry - click on SMB 1 in the left pane - File - Export and call it SMB 1

This will save it to Documents as a Registry entry.

Go back to SMB 1 in the left pane, right click on SMB 1 and select Delete then do the steps that I did to create it, not forgetting to reboot to effect the changes.

However, on searching about SMB, it seems like it's a separate file sharing protocol but not having done any file or printer sharing - I haven't come across any problems.

Going back to that Rapport E164 in Device Manager - from the little I've found on that it seems to be some sort of security program.

Have you ever installed it ?

As it has a yellow alert next to it, it would seem to buggy, so create a restore point then right click on Rapport E164 and select Uninstall.

If it has a box to include software - leave that unchecked.

Either click on Action/Scan for hardware changes or reboot to see if it is reinstated, but either way, see if File and Printer sharing then remains on.

Offline Tim_Tweaking

  • Administrator
  • Newbie
  • *****
  • Join Date: Oct 2015
  • Posts: 49
  • Karma: 5
    • View Profile
    • Tweaking.com
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #23 on: November 07, 2015, 02:52:32 am »
There's a lot of possibilities here and Boggin has tried most of my ideas. However there is a known issue often after an infection that grays out your predefined rules.

Are your predefined rules grayed out? http://superuser.com/questions/375100/what-happened-to-my-predefined-rules-in-windows-firewall-how-can-i-get-them-b

When you ran Windows Repair did you make sure you ran the Firewall Repair? If this was an issue it should have fixed it. You can also run this standalone without running all Windows Repair. Optionally uncheck all
http://www.majorgeeks.com/mg/getmirror/tweaking_com_repair_windows_firewall,2.html

Of course you can turn Windows Firewall off as well and achieve the same goal.
Tweaking.Com Support and Moderator

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Windows 7 - file and printer sharing will not turn on and stay on
« Reply #24 on: November 07, 2015, 03:04:32 am »
My first suggestion (so long ago :)) was to turn off any AV program or Windows Firewall which had no effect.