I don't know why it didn't work the first time, but here's my code for Windows 7. I'm still tweaking it to disable the crap I don't want while playing games. I want to keep my security software running. Is there a way to start/stop a process and if so is there a way to toggle the process/service instead of having two separate batch files?
Code:
NET STOP "Application Experience"
NET STOP "Background Intelligent Transfer Service"
NET STOP "Desktop Window Manager Session Manager"
NET STOP "Diagnostic Policy Service"
NET STOP "Diagnostic Service Host"
NET STOP "Distributed Link Tracking Client"
NET STOP "Computer Browser"
NET STOP "Function Discovery Provider Host"
NET STOP "Function Discovery Resource Publication"
NET STOP "Human Interface Device Access"
NET STOP "IKE and AuthIP IPsec Keying Modules"
NET STOP "IP Helper"
NET STOP "IPsec Policy Agent"
NET STOP "Print Spooler"
NET STOP "Security Center"
NET STOP "Server"
NET STOP "Shell Hardware Detection"
NET STOP "Task Scheduler"
NET STOP "Windows Connect Now - Config Registrar"
NET STOP "Windows Search"
NET STOP "Windows Update"
NET STOP "WinHTTP Web Proxy Auto-Discovery Service"
NET STOP "ASLDR Service"
NET STOP "ATKGFNEX Service"
NET STOP "avast! Mail Scanner"
NET STOP "IS360service"
Obviously I disabled Avast Mail Scanner because I don't check mail while gaming. I was also wondering if there are any unnecessary services that I can disable that isn't in my list?