Jump to content
IGNORED

Windows 10 optimization script - A community effort?


edbk

Recommended Posts

To disable services:

 

View services from powershell:

Get-Service | Format-Table -Property Status, Name, Displayname

 

Disable a bunch of services, this involves some work figuring out which can be safely disabled ;-) If you do these firewall, security center, windows update, defender and some other useless stuff is disabled so use at your own risk:

Get-Service WinDefend | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service DPS | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service WdiServiceHost | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service WdiSystemHost | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service DiagTrack | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service diagnosticshub.standardcollector.service | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service dmwappushservice | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service MapsBroker | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service fhsvc | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service Intel® Wireless Bluetooth® 4.0 Radio Management | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service lfsvc | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service vmicguestinterface | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service vmicheartbeat | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service vmickvpexchange | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service vmicrdv | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service vmicshutdown | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service vmictimesync | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service vmicvmsession | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service vmicvss | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service cphs | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service SharedAccess | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service IEEtwCollectorService | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service Spooler | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service PrintNotify | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service wercplsupport | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service WerSvc | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service PcaSvc | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service QWAVE | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service XblAuthManager | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service XblGameSave | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service XboxNetApiSvc | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service RasAuto | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service RasMan | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service RetailDemo | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service wuauserv | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service wscsvc | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service WdNisSvc | Stop-Service -PassThru | Set-Service -StartupType disabled

Get-Service MpsSvc | Stop-Service -PassThru | Set-Service -StartupType disabled

Link to comment

The "script" is already in the first 2 posts, you just copy&paste that into windows powershell :) But I can turn it onto a command line script or executable. this is a pretty safe configuration as of yet. Cant find anything not working. Been working on memory consumption and windows 10 now consumes 800Mb in stead of 1,2Gb. The improvement over stock is quite remarkable.

Link to comment

I just have to add I was a satisfied server 2012 with Audiophil's AO user, after hearing windows 10 there's just no going back. The difference is enormous. Unfortunately it looks like an AO for windows 10 is months away, hence this diy effort to carry me over till then.

Link to comment

I updated the manual, it includes the disable lines with instructions how to use, figured out how to do a lot of lines in single lines etc, pretty short now :) also included manually disabling defender since I havent figured out how to disable the services for that. New manual attached to this post. Windows Audio is disabled, I dont need those with HQPlayer, but you can easily reenable those with:

 

Set-Service AudioSrv -StartupType automatic

Set-Service AudioEndpointBuilder -StartupType automatic

reboot

 

Or re-enable by mouse in services.msc.

 

Or remove the 2 lines in the disable script lines :)

 

I have left network functionality intact since I stream from Nas and use Remote Desktop for controlling HQPlayer. Netbios is disabled though so you need to use ip-adresses to acces network resources. Can be easily re-enabled if anyone wants to.

 

There's one issue I found, you have to click the start button 3 times or so if you want to use that, either due to disabled windows search or an apps service. I'll post the disabled service for that tomorrow or so if it bothers you.

 

The net effect so far is ~50% less services/processes running and ~50% less memory usage:

Taskmanager-fase-2.jpg

 

Taskmanager-memory-fase-2.jpg

 

Thats it for now, Enjoy :)

windows 10 setup guide.doc

Link to comment

I found the service responsible for the start menu behaviour, its the DHCP Client service, or one of the 2 services depending on this one, but anyway if the start menu bothers you:

Set-Service DHCP -Startuptype Automatic

And reboot and all is good again :)

 

Ill update the manual later, and may take the time to turn it into a .cmd or .exe

Link to comment

If you run into trouble accessing your nas:

Set-Service lmhosts -StartupType Automatic

And reboot.

 

Its a lot of hassle/work but im running this on a single pc now which sounds much better then my other dual pc server 2012 with AO and jplay setup ? so much better I'm considering not even trying a 2nd pc anymore, hmm yeah right ?

Link to comment

Got some questions about no sound output from several applications, if you want to use the windows audiosystem through vlc, tidal, jriver etc you need to have the following 2 services running:

 

AudioSrv

AudioEndpointBuilder

 

So either enable those in services.msc or in powershell:

Set-Service AudioSrv -StartupType Automatic

Set-Service AudioEndpointBuilder -StartupType Automatic

Reboot

 

Im using Jplay kernelstreaming and HQPlayer through Asio, so I dont need the windows services.. If you dont need em, disable, really sounds better ?

Link to comment

Oh also, its very easy to re-enable the services, just replace "disable" with "automatic" in the "Set-Service" lines, reboot, and you're back to before. If there's enough interest, so far there isnt, i can make enable/disable scripts, also in parts, like enable/disable sound, enable/disable eindows update etc, will take me just an evening but not doing it for just 3-4 people, sorry ?

Link to comment

Its not the same!

This uninstalls apps, features and permanently stops services. It stats active after reboots.

 

DO NOT use this on insider preview versions. In release candidates system integrated apps/features are protected from deletion. On the insider previews they are not. So running this script may throw away too much on an insider release. On an insider release only the lines in the first 2 posts are safe to use..

Link to comment

I'm going to build several do and undo scripts for enabling/disabling certain functionalities. Currently working on one that kills the lasts running processes after you've started your player program, like killing explorer, task scheduler etc. This will be something you'd have to run every time after you have rebooted since it will make the system virtually unusable besides running your musicplayer. But I have several currently more interesting projects i'd like to finish first so it may take a week or so ?

Link to comment
Thanks, but I found a solution that works for Windows 10 home disable Defender permanently. I did it, works well.

Disable Windows 10 Home Defender

Go to option 2, step 3, download the app to change your registry. Works great and greys out defender from being activated again for good unless you download the app for step 2 to activate again in your registry.

 

 

I disabled it with gpedit, seems to be only available in pro and above. I also managed to disable all microsoft data collecting and uploading features, it appears this is only available in enterprise and education editions..

Link to comment
Thanks edbk, implemented all your suggestions, got a nice boost in SQ. More defined bass, volume overall lowered, mids more pronounced. Only issue is a slight glimmer to the highs on certain tracks, I'm thinking the wall wart on the Regen is the culprit, had it before but not as noticeable until I took away some of the grunge disguising it. Can't wait for their new PS to see if it fixes the problem. The Hugo is very sensitive to source.

 

Well, this rabbit keeps taking me deeper and deeper down the hole, can it go further?

 

Yes I noticed the "glimmer" aswell, its already there in the "stock" version. Its why I asked about setting clock resolution earlier since its gone when I set the timer resolution to 15.6ms with jplay..

Link to comment
So you set the timer resolution within JPlay to minimum. And this solved your "glimmer issue" in Windows 10 in JPLAY? Basically the default of Windows 10 is the minimum setting. I'm not sure this is my issue. I'll have to inquire over at JRiver about their settings within JRiver.

 

Yes, and yes you're right its different to yours, I have the "glimmer" at the default jplay settings of 0.5ms, the glimmer disappears when I change it to 15.6ms so the windows default as it turns out because I actually though the default was 1ms ?

Link to comment
edbk,

 

I was reported that remote control, although left enabled at 7) of your guide, does not work.

Do you know which services are necessary to be able to use it?

 

Is the firewall really disabled for all networks? If its enabled you need to add the Remote Desktop App to the allow list.

 

Is it on a retail or preview insider build

 

Try:

Set-Service CryptSvc -StartupType Automatic

Set-Service Dhcp -StartupType Automatic

Set-Service iphlpsvc -StartupType Automatic

Set-Service lmhosts -StartupType Automatic

Set-Service SSDPSRV -StartupType Automatic

Set-Service UmRdpService -StartupType Automatic

Set-Service WdiServiceHost -StartupType Automatic

Set-Service WdiSystemHost -StartupType Automatic

reboot

 

Please report back which of these solved his problem, very much doubt he needs to enable them all but I cant test it here since its working as is on my windows 10 enterprise edition retail.

Link to comment

Ok interesting, I dont need it on my system. Im working on a collection of scripts, right now I plan to make one large disable script disabling close to everything, and then a set of small scripts to re-enable sub functions like:

-enable rdp

-enable windows audio

-enable windows mediaplayer

-enable nas access

-enable windows update

 

But unfortunately I have limited time, it's probably 2 weeks away.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...