New
#1
Windows 7 sharing: required services
Hi guys,
I followed black viper's tweaked guide for Win 7 Ultimate. Everything works, but (when optimised) I can't use network sharing. The symptoms are that
- My Computer isn't visible on the network (even in network on My Computer!)
- Network error msg when trying to connect to any other network computer.
I've restored my default service profile, using a handy BackupServices batch I found online
Code:TITLE Services Start State Backup Script by My Digital Life @echo off @echo ======================================================================== @echo Windows Services Start State Backup Script (C) 2008 My Digital Life 2008 @echo ======================================================================== @echo. @echo This script will backup all services with current state of Startup Type @echo. pause REM Get current date and time for /f "tokens=1, 2, 3, 4 delims=-/. " %%j in ('Date /T') do set FILENAME=Services_%%j_%%k_%%l_%%m for /f "tokens=1, 2 delims=: " %%j in ('TIME /T') do set FILENAME=%FILENAME%_%%j_%%k.bat REM Get all service name sc query type= service state= all| findstr /r /C:"SERVICE_NAME:" >tmpsrv.txt echo Saving Service Start State In %FILENAME% ... REM save service start state into batch file echo @echo Restore The Service Start State Saved At %TIME% %DATE% >"%FILENAME%" echo @pause >>"%FILENAME%" for /f "tokens=2 delims=:" %%j in (tmpsrv.txt) do @( sc qc %%j |findstr START_TYPE >tmpstype.txt && for /f "tokens=4 delims=:_ " %%s in (tmpstype.txt) do @echo sc config %%j start= %%s >>"%FILENAME%") echo @pause >>"%FILENAME%" del tmpsrv.txt del tmpstype.txt echo Services Start State Saved in %FILENAME%. pause
This generates a batch file that will (attempt to) set all services to the state at the time of the 'snapshot'.
So when I run defaultservices.bat, all services (installed at that time) are set to automated|delayed|manual|disabled|whatever...
I modified (rem) 3 entries that generated an error (access denied on task scheduler, rpcendpointmapper, and rpc
Which service is required for network sharing?
Here's my (manual) log of changes
Win7 30GB - Optimised.
********************************************** Removed (wINDOWS Features)
IE9
Media Center
Fax and scan
tablet components
GADGET PLATFORM
XPS SERVICES/VIEWER
********************************************** svcs: disabled
AxInstSV (ACTIVEX iNSTALL)
ALG (if no ics)
BITS
BDESVC (bitlocker)
bthserv
PeerDistSvc (branchcache, for corp remote)
CertPropSvc (cert. for smartcards)
VaultSvc (cred. mgr)
TrkWks (dltc)
hkmsvc (NET! x509 key / cert mgmt svc, aka health key)
IKEEXT (NET! vpn)
iphlpsvc !!!!!!!
PolicyAgent
lltdsvc
MSiSCSI
Netlogon !!!
napagent
NvNetworkService
Stereo Service
NvStreamSvc
CscService (offline files)
WPCSvc (parents)
p2psvc
PNRPsvc
p2pimsvc
PNRPAutoReg
IPBusEnum (vnet bus connector, daemon?)
...
HomeGroupProvider
HomeGroupListener
fdPHost (homegroup)
hidserv (human interface)
W32Time
wuauserv
WinHttpAutoProxySvc
wired...
dot3svc
WwanSvc
Wlansvc
Thanks