# Want a script to stop non-Traktor essential Windows services?

**URL:** <https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798>\
**Category:** Traktor\
**Tags:** stop-services, windows, traktor-s4\
**Created:** [January 24, 2011, 2:08am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798 "2011-01-24T02:08:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![smiTTTen](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/smittten/32/12629_2.png) [@smiTTTen](https://forum.djtechtools.com/u/smiTTTen)\
**Post date:** [January 24, 2011, 2:08am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/1 "2011-01-24T02:08:11Z")

</div>

**Want a script to stop non-Traktor essential Windows services?**

If you are having performance issues with your S4 and are running a Windows system then this script may help. Please also check my sticky in this forum for a guide on configuring your system. Nothing here is proven, guaranteed or supported. At worst you waste an evening playing with your computer to no avail. At best you avoid taking your S4 back or forking out for a new laptop.

**_THIS IS NOT A THREAD TO BITCH ABOUT NI DRIVERS, SUPPORT OR THEIR WINDOWS CODING SKILLS._**

**_If you read past this line it will be at your own risk_**

This is the script that myself and MartinK have been playing with. Martin is still doing some more testing but for those that want to try something to automate the stopping of most non-Traktor essential services, keep reading…

This script kills off your networking services and pretty much everything else Traktor doesn’t need. This is the 2nd version of the script that also offers to re-start your services. **Thanks to Stashe** on the NI forum for the update. This is clearly someone who knows their scripting onions!

Copy the following to into a notepad file:

**_@ECHO OFF_**  
**_::============================ ===========_**  
**_:: \*\*\*\* BEGIN AUTO ELEVATION PROMPT \*\*\*\*_**  
**_:: This makes the batch file prompt for elevated permissions_**  
**_:: on Windows Vista or Windows 7, then re-run itself_**  
**_VER | FINDSTR /IL “5.1.” \> NUL_**  
**_IF %ERRORLEVEL% EQU 0 SET Version=XP_**  
**_VER | FINDSTR /IL “5.2.” \> NUL_**  
**_IF %ERRORLEVEL% EQU 0 SET Version=2003_**  
**_VER | FINDSTR /IL “6.0.” \> NUL_**  
**_IF %ERRORLEVEL% EQU 0 SET Version=Vista_**  
**_VER | FINDSTR /IL “6.1.” \> NUL_**  
**_IF %ERRORLEVEL% EQU 0 SET Version=7_**  
**_If “%Version%”==“XP” GoTo SkipElevation_**  
**_If “%Version%”==“2003”? GoTo SkipElevation_**  
**_PushD “%~dp0”?_**  
**_If Exist “%~0.ELEVATED” GoTo SkipElevation_**  
**_:: Have to escape double quotes because they are_**  
**_:: passed to Cmd.exe via ShellExecute_**  
**_Set CMD\_Args=%0 %_**  
 _ **Set CMD\_Args=%CMD\_Args:“=”%**  
 **Set ELEVATED\_CMD=PowerShell -Command (New-Object -com ‘Shell.Application’).ShellExec ute(‘Cmd.exe’, ‘/C %CMD\_Args%’, ‘’, ‘runas’)**  
 **Echo %ELEVATED\_CMD% \>\> “%~0.ELEVATED”**  
\_\__:: If there are single quotes in the arguments, this will fail\*\_\_  
**_Call %ELEVATED\_CMD%_**  
**_Exit_**  
**_SkipElevation_**  
**_If Exist “%~0.ELEVATED” Del “%~0.ELEVATED”_**  
**_:: \*\*\*\* END AUTO ELEVATION PROMPT \*\*\*\*_**  
**_::============================ ============_**  
**_SET Option=_**  
**_IF NOT ‘%1’==‘’ GOTO QUIT_**  
**_:MENU_**  
**_CLS_**  
**_ECHO. Welcome to the Windows Services Tool for Traktor S4 users._**  
**_ECHO. Please select one of the numbers below to begin!_**  
**_ECHO._**  
**_ECHO._**  
**_ECHO. 1. Stop all non-Essential Windows Services_**  
**_ECHO. 2. Start all non-Essential Windows Services_**  
**_ECHO. 3. Quit this Script_**  
**_ECHO._**  
**_ECHO._**  
**_SET /P Input=Which option would you like to perform?:_**  
**_IF %Input% == 1 GOTO STOPSVC_**  
**_IF %Input% == 2 GOTO STARTSVC_**  
**_IF %Input% == 3 GOTO QUIT_**  
**_STOPSVC_**  
**_CLS_**  
**_ECHO._**  
**_ECHO. STOPPING all non-Traktor services!_**  
**_ECHO._**  
**_PAUSE_**  
**_rem Stopping Windows Firewall and Windows Defender…_**  
**_net stop mpssvc_**  
**_net stop windefend_**  
**_rem Stopping DHCP Client and Wireless LAN…_**  
**_net stop WinHttpAutoProxySvc_**  
**_net stop dhcp_**  
**_net stop wlansvc_**  
**_rem Stopping Other Network Related Services…_**  
**_net stop “dns cache”_**  
**_net stop netprofm_**  
**_net stop nlasvc_**  
**_net stop netman_**  
**_net stop iphlpsvc_**  
**_net stop lanmanworkstation_**  
**_net stop “Bonjour Service”_**  
**_net stop dhcp_**  
**_net stop nsi_**  
**_net stop lanmanserver_**  
**_net stop lmhosts_**  
**_net stop “shared access”_**  
**_net stop nettcpportsharing_**  
**_net stop remoteaccess_**  
**_net stop alg_**  
**_net stop bits_**  
**_net stop peerdistsvc_**  
**_net stop certpropsvc_**  
**_net stop homegrouplistener_**  
**_net stop homegroupprovider_**  
**_net stop winrm_**  
**_net stop Broswer_**  
**_net stop TrkWks_**  
**_rem Stopping other Windows Services…_**  
**_net stop wscsvc_**  
**_net stop DPS_**  
**_net stop CscService_**  
**_net stop WPDBusEnum_**  
**_net stop ProtectedStorage_**  
**_net stop RemoteRegistry_**  
**_net stop seclogon_**  
**_net stop wscsvc_**  
**_rem Stopping Blue Tooth Services_**  
**_net stop bthserv_**  
**_rem Stopping Remote Desktop and Remote Assistance Services_**  
**_net stop sessionenv_**  
**_net stop termservice_**  
**_rem Stopping Windows Update Services_**  
**_net stop wuauserv_**  
**_rem Stopping iPod Services_**  
**_net stop “ipod service”_**  
**_net stop “Apple Mobile Device”_**  
**_rem Stopping Stuff that makes your PC look nice…_**  
**_net stop themes_**  
**_net stop sensrsvc_**  
**_net stop AeLookupSvc_**  
**_net stop UxSms_**  
**_rem Stopping Scanner, Camera and other imaging Services…_**  
**_net stop stisvc_**  
**_rem Stopping Windows Media Playing Sharing…_**  
**_net stop WMPnetworksvc_**  
**_rem Stopping Tablet Device Support…_**  
**_net stop tabletinputservice_**  
**_rem Stopping Other Windows Services…_**  
**_net stop bdesvc_**  
**_net stop wbengine_**  
**_net stop uiodetect_**  
**_net stop defragsvc_**  
**_net stop axinstsv_**  
**_net stop “w32time”_**  
**_net stop wercplsupport_**  
**_rem Stopping Printer Services_**  
**_net stop spooler_**  
**_ECHO._**  
**_ECHO._**  
**_ECHO. PROCESS COMPLETE!_**  
**_ECHO._**  
**_PAUSE_**  
**_GOTO MENU_**  
**_STARTSVC_**  
**_CLS_**  
**_ECHO. STARTING all non-Traktor services!_**  
**_PAUSE_**  
**_rem Starting Windows Firewall and Windows Defender…_**  
**_net start mpssvc_**  
**_net start windefend_**  
**_rem Starting DHCP Client and Wireless LAN…_**  
**_net start WinHttpAutoProxySvc_**  
**_net start dhcp_**  
**_net start wlansvc_**  
**_rem Starting Other Network Related Services…_**  
**_net start “dns cache”_**  
**_net start netprofm_**  
**_net start nlasvc_**  
**_net start netman_**  
**_net start iphlpsvc_**  
**_net start lanmanworkstation_**  
**_net start “Bonjour Service”_**  
**_net start dhcp_**  
**_net start nsi_**  
**_net start lanmanserver_**  
**_net start lmhosts_**  
**_net start “shared access”_**  
**_net start nettcpportsharing_**  
**_net start remoteaccess_**  
**_net start alg_**  
**_net start bits_**  
**_net start peerdistsvc_**  
**_net start certpropsvc_**  
**_net start homegrouplistener_**  
**_net start homegroupprovider_**  
**_net start winrm_**  
**_net start Broswer_**  
**_net start TrkWks_**  
**_rem Starting other Windows Services…_**  
**_net start wscsvc_**  
**_net start DPS_**  
**_net start CscService_**  
**_net start WPDBusEnum_**  
**_net start ProtectedStorage_**  
**_net start RemoteRegistry_**  
**_net start seclogon_**  
**_net start wscsvc_**  
**_rem Starting Blue Tooth Services_**  
**_net start bthserv_**  
**_rem Starting Remote Desktop and Remote Assistance Services_**  
**_net start sessionenv_**  
**_net start termservice_**  
**_rem Starting Windows Update Services_**  
**_net start wuauserv_**  
**_rem Starting iPod Services_**  
**_net start “ipod service”_**  
**_net start “Apple Mobile Device”_**  
**_rem Starting Stuff that makes your PC look nice…_**  
**_net start themes_**  
**_net start sensrsvc_**  
**_net start AeLookupSvc_**  
**_net start UxSms_**  
**_rem Starting Scanner, Camera and other imaging Services…_**  
**_net start stisvc_**  
**_rem Starting Windows Media Playing Sharing…_**  
**_net start WMPnetworksvc_**  
**_rem Starting Tablet Device Support…_**  
**_net start tabletinputservice_**  
**_rem Starting Other Windows Services…_**  
**_net start bdesvc_**  
**_net start wbengine_**  
**_net start uiodetect_**  
**_net start defragsvc_**  
**_net start axinstsv_**  
**_net start “w32time”_**  
**_net start wercplsupport_**  
**_rem Starting Printer Services_**  
**_net start spooler_**  
**_ECHO._**  
**_ECHO._**  
**_ECHO. PROCESS COMPLETE!_**  
**_ECHO._**  
**_PAUSE_**  
**_GOTO MENU_**  
**_:QUIT_**

[Save the file as Killscript.bat (or whatever you want to call it, just make sure it has the .bat)

To launch the script double click on it.

What you will see:

Error messages relating to services that don’t exist on your machine or services that are already stopped (or were never started). You may also see prompts asking you if you want to disable a dependent service. Hit Y/Yes.

This script will not stop Anti-Virus/Security and other third party services. I would love to include something that does but I have a job and a family… It will however knock out Windows Defender and Windows Firewall.

No permanent changes are made to your machine. When you want to revert back to running all services, simply reboot.

Please don’t use this script if you are worried about Windows acting funny once you run it . We have done some basic testing but it’s no Gamebooster. If you do play with it, let us know if it helps or not.

---

<div class="post-metadata">

**Author:** ![Yul](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/yul/32/13542_2.png) [@Yul](https://forum.djtechtools.com/u/Yul)\
**Post date:** [January 24, 2011, 8:49am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/2 "2011-01-24T08:49:54Z")

</div>

I won’t use your script for personal reason but apart from that Sir,  
YOU ARE A STAR!!!

Great post.

---

<div class="post-metadata">

**Author:** ![haze324](https://avatars.discourse-cdn.com/v4/letter/h/50afbb/32.png) [@haze324](https://forum.djtechtools.com/u/haze324)\
**Post date:** [January 24, 2011, 10:50am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/3 "2011-01-24T10:50:37Z")

</div>

yeah man, props all the Windows help you have provided.

---

<div class="post-metadata">

**Author:** ![viceversa](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@viceversa](https://forum.djtechtools.com/u/viceversa)\
**Post date:** [January 24, 2011, 6:23pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/4 "2011-01-24T18:23:10Z")

</div>

Thank you so much!

---

<div class="post-metadata">

**Author:** ![smiTTTen](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/smittten/32/12629_2.png) [@smiTTTen](https://forum.djtechtools.com/u/smiTTTen)\
**Post date:** [January 24, 2011, 6:31pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/5 "2011-01-24T18:31:07Z")

</div>

You are more than welcome and thanks Yul and Haze from the props - I have a lot of respect for you guys. I am enjoying looking into the Windows stuff and I will be coming to you for help as quite frankly, my mixes sound like my 2 year old going to town on the TV remote while fighting with the dog 🙂

---

<div class="post-metadata">

**Author:** ![viceversa](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@viceversa](https://forum.djtechtools.com/u/viceversa)\
**Post date:** [January 24, 2011, 10:50pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/6 "2011-01-24T22:50:07Z")

</div>

hmm well I just tried it on my windows xp machine and it fails to launch. command prompt pops up for a second before terminating itself. any suggestions?

---

<div class="post-metadata">

**Author:** ![viceversa](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@viceversa](https://forum.djtechtools.com/u/viceversa)\
**Post date:** [January 24, 2011, 11:17pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/7 "2011-01-24T23:17:15Z")

</div>

well I took out all the elevation commands and was able to get to the main selection prompt screen. but simply imputing a number does nothing the script quits but if I input anything EXCEPT the numbers 1,2 or 3 it will successfully begin stopping the services but can not start the services again (unless reboot)…I’m not very knowledgeable on scripting but any advice would be greatly appreciated! Also, keep up the good work on this script I see this as being useful for many window/traktor users!

---

<div class="post-metadata">

**Author:** ![smiTTTen](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/smittten/32/12629_2.png) [@smiTTTen](https://forum.djtechtools.com/u/smiTTTen)\
**Post date:** [January 25, 2011, 1:06am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/8 "2011-01-25T01:06:10Z")

</div>

I think I responded on NI…

---

<div class="post-metadata">

**Author:** ![viceversa](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@viceversa](https://forum.djtechtools.com/u/viceversa)\
**Post date:** [January 25, 2011, 2:10am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/9 "2011-01-25T02:10:43Z")

</div>

^haha u did thanks!

---

<div class="post-metadata">

**Author:** ![smiTTTen](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/smittten/32/12629_2.png) [@smiTTTen](https://forum.djtechtools.com/u/smiTTTen)\
**Post date:** [January 28, 2011, 12:38am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/10 "2011-01-28T00:38:09Z")

</div>

**A result.**

Vice was good enough to post his results of the script on the NI forum.

From: [http://www.native-instruments.com/forum/showthread.php?t=128527](http://www.native-instruments.com/forum/showthread.php?t=128527)

_"Well I decided to use the only laptop I have (work provided lol) as I wait for all these new sandy bridge laptops to start trickling in. the laptop is a Dell Latitude E5400 with 2 GB ram and a core 2 duo cpu. If i dont disable some of these unnecessary services I will get CPU spikes along with occasional pop and crack in the sound while im playing. So this script makes it really nice and fast to get traktor up and running and it runs flawlessly! sure there might be the occasional cpu spike (not nearly as bad as before) but no pops/cracks or nothing in the sound._  
_plus its really nice that i dont have to make new windows profile with all this stuff disabled just to hop on my S4, all i gotta do is run this script!"_

Seems it can be done with some string and a few bottle-tops. **Thanks to Stashe** on the NI Forum for his advanced codery.

---

<div class="post-metadata">

**Author:** ![djlytsout](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/djlytsout/32/14137_2.png) [@djlytsout](https://forum.djtechtools.com/u/djlytsout)\
**Post date:** [February 20, 2011, 7:42pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/11 "2011-02-20T19:42:07Z")

</div>

Can’t get the script to work

I copied pasted to note pad cant save file as .bat only choice is .txt or all files

---

<div class="post-metadata">

**Author:** ![smiTTTen](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/smittten/32/12629_2.png) [@smiTTTen](https://forum.djtechtools.com/u/smiTTTen)\
**Post date:** [February 20, 2011, 7:45pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/12 "2011-02-20T19:45:21Z")

</div>

just type it as part of the file name, it will overwrite .txt extension…

---

<div class="post-metadata">

**Author:** ![djlytsout](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/djlytsout/32/14137_2.png) [@djlytsout](https://forum.djtechtools.com/u/djlytsout)\
**Post date:** [February 20, 2011, 7:59pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/13 "2011-02-20T19:59:29Z")

</div>

thats the way ive been doing it smitten when i reopen in note pad nothing happens. maybe im copying the wrong part…i have no clue i start copying from @echo off and end at quit

---

<div class="post-metadata">

**Author:** ![smiTTTen](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/smittten/32/12629_2.png) [@smiTTTen](https://forum.djtechtools.com/u/smiTTTen)\
**Post date:** [February 20, 2011, 8:04pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/14 "2011-02-20T20:04:26Z")

</div>

1. Save the file as .bat per previous post
2. Locate file on your drive - the icon should no longer be the notepad icon - rather the one Windows defaults to for batch files.
3. Double click on it to launch. This will launch a dos window and you will see the script execute.

You don’t need notepad once you have pasted the text in and saved it out as .bat - just a simple double-click to launch 😃

---

<div class="post-metadata">

**Author:** ![djlytsout](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/djlytsout/32/14137_2.png) [@djlytsout](https://forum.djtechtools.com/u/djlytsout)\
**Post date:** [February 20, 2011, 8:06pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/15 "2011-02-20T20:06:20Z")

</div>

trying now

---

<div class="post-metadata">

**Author:** ![smiTTTen](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/smittten/32/12629_2.png) [@smiTTTen](https://forum.djtechtools.com/u/smiTTTen)\
**Post date:** [February 20, 2011, 8:08pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/16 "2011-02-20T20:08:49Z")

</div>

Which prompt?

---

<div class="post-metadata">

**Author:** ![djlytsout](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/djlytsout/32/14137_2.png) [@djlytsout](https://forum.djtechtools.com/u/djlytsout)\
**Post date:** [February 20, 2011, 9:56pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/17 "2011-02-20T21:56:45Z")

</div>

ok smitten I was able to run the script but there was actually no diff in cpu usage in tps4

thanks for ya help i think my reason for high cpu is due to the s4 sound card currently trying to figure out the best latency settings for my audio 8

---

<div class="post-metadata">

**Author:** ![RareDenver](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@RareDenver](https://forum.djtechtools.com/u/RareDenver)\
**Post date:** [March 12, 2011, 8:30pm UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/18 "2011-03-12T20:30:38Z")

</div>

Hi

I’m using Traktor Pro and a Reloop Digital Jockey2 and have been after something like this, does it work for Traktor Pro as well as S4?

---

<div class="post-metadata">

**Author:** ![smiTTTen](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/smittten/32/12629_2.png) [@smiTTTen](https://forum.djtechtools.com/u/smiTTTen)\
**Post date:** [March 13, 2011, 1:31am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/19 "2011-03-13T01:31:17Z")

</div>

It is not specific to any particular gear as it only stops a bunch of Win7 services. Try it and see.

---

<div class="post-metadata">

**Author:** ![JonathanBlake](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/jonathanblake/32/56293_2.png) [@JonathanBlake](https://forum.djtechtools.com/u/JonathanBlake)\
**Post date:** [March 13, 2011, 3:13am UTC](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798/20 "2011-03-13T03:13:58Z")

</div>

Hey Smitten,  
You got a REAL noob/non-geek here, but I have a REAL geek prepping my Asus NJ61 [win7 64bit, 4GB RAM, i5 (turbo) 500GB HD] for my S4 which landed in South Africa on Friday (wooooooooppppaaaaaaaaaaaa). I only have Win7(office '07), TP2 (1.2.7) Nero 10 and iTunes loaded (there’s a lot of asus ‘extras’ that I NEVER use). VERY happy to follow your superb advice to a ‘T’ (and let you know) -

1. Does Chris (my tame nerd) apply BOTH the sticky AND script?
2. Should we nuke all the asus ‘extras’ (power DVD, quick boot etc)?
3. Nero? (only use CD burner and Wave Editor)  
Thanks mate - your blood deserves to be bottled.

[Next page](https://forum.djtechtools.com/t/want-a-script-to-stop-non-traktor-essential-windows-services/18798.md?page=2)
