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.
Bookmarks