Il primo dovrebbe essere un tool simile al tuo, ma mi sembra piu' affidabile il tuo script di quello che avevo trovato.
Per esportare la lista di servizi basta anche solo il comando 'sc' ma per re-importarli esattamente qual e' la procedura?
Da quello script non riesco a capire dove re-importa la lista dei servizi, ma in PS faccio pieta' X'D
Su git ho visto anche diverse app che tagliano la testa al toro, unendole al tuo consiglio (grazie!).
Tipo questa che pero' non ho provato: https://github.com/c...ndowsSpyBlocker
Sì è quello che non riesco a capire! Dove diamine lo script salva la lista, da quello che ho capito dovrei cercare un filename che dovrebbe essere qualcosa come 29-07-17_stato_servizi, ma non c'è. Sto investigando ulteriormente.
Poi è strano che esistano due metodi totalmente diversi da cmd/powershell per disabilitare i servizi, quelli del tuo link sono dei keyword totalmente differenti, io ho usato questa forma e disabilita i rispettivi servizi in maniera permanente:
Set-Service [nome servizio] -Startuptype disabled/manual/automatic
Questo è il massimo che ho "rimosso", adesso ho rimesso in piedi l'infrastruttura della diagnostica e i vari windows update/security center/defender/antivirus BFE altrimenti oltre a doverti per forza procurare un'antivirus a parte, hai il messaggio di errore di windows security center all'avvio, non vieni riconosciuto in rete e altri piccoli e trascurabili inconveniente, ma il computer faceva tutto: Volevo vedere a quanto potevo arrivare in IDLE: La memoria in uso è scesa fino ad 1,6GB e il processore non raggiungeva quasi l''1% in idle, mentre con i servizi essenziali attivi si mantiene il più delle volte sul 2%.
Set-Service AudioSrv -StartupType disabled
Set-Service AudioEndpointBuilder -StartupType disabled
Set-Service AppXSvc -StartupType disabled
Set-Service BITS -StartupType disabled
Set-Service BFE -StartupType disabled
Set-Service CertPropSvc -StartupType disabled
Set-Service BITS -StartupType disabled
Set-Service BFE -StartupType disabled
Set-Service CertPropSvc -StartupType disabled
Set-Service CryptSvc -StartupType disabled
Set-Service defragsvc -StartupType disabled
Set-Service DsmSvc -StartupType disabled
Set-Service dmwappushservice -StartupType disabled
Set-Service DoSvc -StartupType disabled
Set-Service Dhcp -StartupType disabled
Set-Service DPS -StartupType disabled
Set-Service DiagTrack -StartupType disabled
Set-Service diagnosticshub.standardcollector.service -StartupType disabled
Set-Service gpsvc -StartupType disabled
Set-Service iphlpsvc -StartupType disabled
Set-Service igfxCUIService1.0.0.0 -StartupType disabled
Set-Service lfsvc -StartupType disabled
Set-Service LicenseManager -StartupType disabled
Set-Service lmhosts -StartupType disabled
Set-Service MapsBroker -StartupType disabled
Set-Service MpsSvc -StartupType disabled
Set-Service PcaSvc -StartupType disabled
Set-Service swprv -StartupType disabled
Set-Service Spooler -StartupType disabled
Set-Service SSDPSRV -StartupType disabled
Set-Service StateRepository -StartupType disabled
Set-Service Themes -StartupType disabled
Set-Service TabletInputService -StartupType disabled
Set-Service TrkWks -StartupType disabled
Set-Service UmRdpService -StartupType disabled
Set-Service WdiServiceHost -StartupType disabled
Set-Service WdiSystemHost -StartupType disabled
Set-Service Wecsvc -StartupType disabled
Set-Service WerSvc -StartupType disabled
Set-Service WinDefend -StartupType disabled
Set-Service WdNisSvc -StartupType disabled
Set-Service WinHttpAutoProxySvc -StartupType disabled
Set-Service wscsvc -StartupType disabled
Set-Service wuauserv -StartupType disabled
Set-Service WSearch -StartupType disabled
Altre cose che non mi servono ho preferito rimuovere via powershell:
Disable-WindowsOptionalFeature -Online -FeatureName Printing-Foundation-InternetPrinting-Client -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName FaxServicesClientPackage -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName Printing-Foundation-Features -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName Xps-Foundation-Xps-Viewer -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName MediaPlayback -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName WindowsMediaPlayer -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName Printing-PrintToPDFServices-Features -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName Printing-XPSServices-Features -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName WorkFolders-Client -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName WCF-Services45 -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName WCF-TCP-PortSharing45 -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName NetFx4-AdvSrvs -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName MSRDC-Infrastructure -Remove -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName SearchEngine-Client-Package -Remove -NoRestart
Disable-WindowsErrorReporting
Disable-AppBackgroundTaskDiagnosticLog
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online
Per tutti gli utenti: Get-AppxPackage -AllUsers
Get-AppXPackage | Remove-AppxPackage