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: Discovery ok but sharing settings won't stick. Possible malware?

24 Mar 2015   #1
Phil Lloyd

Windows Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 17 Pro 64
 
 
Discovery ok but sharing settings won't stick. Possible malware?

Windows 7 Professional SP1
Security: Microsoft Security Essentials & Windows Firewall
On the problem computer I can enable network discovery, but I can't turn on File and Printer Sharing or Public Folder Sharing.
The problem is the same using either a USB wireless device or using a CAT5 to the router.

I WAS unable to change the WORKGROUP NAME or the COMPUTER DESCRIPTION,
or to change the network type to WORK from PUBLIC, but partly corrected this using Microsoft Fixit.
Although i can't change the COMPUTER DESCRIPTION, I was able to change the network to "WORK",
and change the workgroup name as i like, although in System Properties page the Computer Description and Workgroup both remain listed as "Unavailable".
(Workgroup name seems to not matter, as one of the computers is still using my old workgroup name, so i see two workgroups, and it does not affect file sharing etc.)
I still cannot change the computer description, and THINK i read that it's not involved with networking issues, and have not tried the registry work on that.

As i began to work on this computer i saw suspicious programs, and figured i'd be best working on a test copy,
so I backed up the drive and restored to an empty one so i can feel free to make changes and use agressive scanners etc.
I booted to the backup and ran MBAM which found a few malware and i quarantined them.

I began checking services and found that SERVER service was not running, and wouldn't start,
as it depends on SAMSS service which would not start.
The error window states:
Windows could not start the SAMSS service on the Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.

I look and see that SAMSS is the Security Accounts Manager and Depends on:
DCOM Server Process Launcher - OK STARTS on auto
RPC endpoint mapper - OK STARTS on auto
SAMSS uses C:\Windows\System32\lsass.exe

I found this post:
Services - Restore Default Services in Windows 7
and downloaded all reg files, moving them into 3 folders, "successful", "failed" and "failed but run ok"
as I merged each one or failed to, testing the service already installed as I went.

All failures report this in the error window:
Cannot import XXXXXXXXX.reg: Not all data was sucessfully written to the registry.
Some keys are open by the system or other processes.

24 services failed to merge but run ok - those i can list if needed.

Into my "failed" folder (failed to merge AND will not start) went:
Diagnostic_System_Host.reg
Distributed_Link_Tracking_Client.reg
HomeGroup_Listener.reg

and... i found one that was NOT listed by the same name in my computers services, and failed to get merged and will not start, but looking inside it seems that might be due to naming, but it is:
Security_Accounts_Manager.reg

Here is the reg branch from Shawn's tutorial:
===================================
Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: Services - Restore Default Services in Windows 7


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SamSs]
"DisplayName"="@%SystemRoot%\\system32\\samsrv.dll,-1"
"Group"="MS_WindowsLocalValidation"
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6c,\
00,73,00,61,00,73,00,73,00,2e,00,65,00,78,00,65,00,00,00
"Description"="@%SystemRoot%\\system32\\samsrv.dll,-2"
"ObjectName"="LocalSystem"
"ErrorControl"=dword:00000001
"Start"=dword:00000002
"Type"=dword:00000020
"DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SamSs\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,8d,00,02,00,01,01,00,00,00,00,00,\
05,0b,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,8d,00,00,00,01,01,00,00,00,00,00,05,04,00,00,00,00,\
00,18,00,8d,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,21,02,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
==================================================================

and here is that key exported from my registry:
=============================================
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SamSs]
"DisplayName"="SamSs"
"Group"="1"
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6c,\
00,73,00,61,00,73,00,73,00,2e,00,65,00,78,00,65,00,00,00
"Description"="@%SystemRoot%\\system32\\samsrv.dll,-2"
"ObjectName"="LocalSystem"
"ErrorControl"=dword:00000000
"Start"=dword:00000002
"Type"=dword:00000010
"DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,00,00
"Tag"=dword:0000000a
"FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SamSs\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,8d,00,02,00,01,01,00,00,00,00,00,\
05,0b,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,8d,00,00,00,01,01,00,00,00,00,00,05,04,00,00,00,00,\
00,18,00,8d,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,21,02,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
===========================================================

I am not sure if i am on the right track, and I will be doing more work on this,
but I thought i would post this while i wait for Windows Defender Offline to scan.
Any help is greatly appreciated!
...actually I already appreciate SevenForums so much for all the tutorials and help i have read for problems i don't even have!
It's helped me tweak my own PC GUI-wise like i've only dreamed about in the past!

EDIT: I have also looked into the firewall settings and it seems to be set to allow incoming on File and Printer Sharing, disabled the firewall and attempted to set them again via Advanced Sharing Settings, but still they won't stick. The one difference i see in this compared to a few other threads is that Discovery does work - that has never been a problem.


My System SpecsSystem Spec
.
27 Mar 2015   #2
Phil Lloyd

Windows Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 17 Pro 64
 
 

Update: On this testing copy which i switch to manually by removing cables from the working system drive and connecting this one to ensure no mistakes on the existing system.
I have uninstalled most 3rd party programs, and continue to run scans that give user friendly results with no malware seeming to remain, and removed lots of old and seemingly unneeded registry entries and reset services firewall scanned system files and can't figure what has caused the problem, so i am going to do a fresh install on this drive and install only trusted 3rd party software, eventually switching over once it's all set, so i'll mark this as solved, although the problem remains:
Discovery works always , but File and Printer Sharing, and Public Folder Sharing cannot be enabled.
I have the nagging feeling that it is some registry entry, but i am not going to try registry fixers or going through a HJT process. I'd like to know, but it's just not worth it, considering the age of this install. I did a fresh install on my own W7 computer and it's so nice, with all the tweaks i have learned here on these forums, and want to avail myself of the Clean install tutorials. Thanks to all the people here who give their time and knowledge... I've learned a lot! (not about THIS problem, but for this overall Win7 / XP network. I will , once this new system drive is set up, do some comparing and perhaps importing policies etc, and If i DO realize what was going on i will post it!
My System SpecsSystem Spec
Reply

 Discovery ok but sharing settings won't stick. Possible malware?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Network Discovery & Printer and File Sharing will not stay on.
I just had a firewall issue. After restoring the firewall and resetting it to default settings, it turns off Network Discovery & Printer and file sharing. If I try to turn them on and save the changes, it doesn't save when I go back in. If I disable the windows firewall, they turn on and my...
Network & Sharing
Network Discovery and File/Print Sharing won't stay on
I'm running Windows 7 Ultimate x64 with no domain, just a home LAN. I recently replaced my motherboard, going from a Gigabyte Z68 UD4 to an ASRock Z68 Extreme4 Gen3. I decided to try doing this without reinstalling Windows. Both motherboards have the same Z68 chipset, so I didn't foresee too many...
General Discussion
Network Discovery and File Sharing - Can't Turn On
On my desktop computer, when I go to Network & Sharing Center and select Change Advanced Sharing Settings, Turn off network discovery and Turn off file and print sharing are both selected. I click on the Turn on options and then click on Save Changes but when I come back to this screen, they're...
Network & Sharing
Cannot turn on Network discovery and file sharing
I have 2 PCs connected to a Win 2003 Ent server domain (not R2 - this is the original 2003 version), although the Domain was originally setup using Win2K My laptop, which connects wirelessly has network discovery turned on and no probs. My desktop (Wkstn1), however, does not allow me to turn on...
Network & Sharing
Cannot turn on Network Discovery and File Sharing
My computer was infected with some trojans. I managed to clean it up with Microsoft Security Essentials and Spybot S&D. It's running much more smoothly now, but I'm still having one annoying problem. I can't turn on Network Discovery and File Sharing, and I no longer get the option to join my...
Network & Sharing
Network Discovery and File Sharing working only with firewall off.
Hello, I first noticed this problem this morning, I went to connect to my laptop via network sharing and I received the message "Network discovery and file sharing are turned off. Network computers and devices are not visible. Click to change..." I tried clicking this to turn network...
Network & Sharing


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 08:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App