Home Computer Audio Asylum

Music servers and other computer based digital audio technologies.

Winlogon and smss.exe set to low and one processor

This also restores windows priorities & affinities to original settings.

Here's the revised commands:

*** 1. FOOBAR.BAT (C:\) ***
@echo off
rem #1 Start Foobar2000 in RealTime
start /wait /REALTIME c:\progra~1\foobar2000\foobar2000.exe

rem #2 Resume Windows, Restore affinities & priorities, and Start UI
start /b /wait c:\process.exe -r winlogon.exe
start /b /wait c:\process.exe -r smss.exe
start /b /wait c:\process.exe -p smss.exe AboveNormal
start /b /wait c:\process.exe -p winlogon.exe High
start /b /wait c:\process.exe -p system Normal
start /b /wait c:\process.exe -p csrss.exe High
start /b /wait c:\process.exe -p services.exe Normal
start /b /wait c:\process.exe -p svchost.exe Normal
start /b /wait c:\process.exe -p lsass.exe Normal
rem start /b /wait c:\process.exe -p [SOUNDCARD].exe Normal
start /b /wait c:\process.exe -a smss.exe 11
start /b /wait c:\process.exe -a winlogon.exe 11
start /b /wait c:\process.exe -a system 11
start /b /wait c:\process.exe -a csrss.exe 11
start /b /wait c:\process.exe -a services.exe 11
start /b /wait c:\process.exe -a svchost.exe 11
start /b /wait c:\process.exe -a lsass.exe 11
rem start /b /wait c:\process.exe -a [SOUNDCARD].exe 11
start /b /wait c:\process.exe -a cmd.exe 11
start /b c:\windows\explorer.exe
exit


*** 2. ?.BAT ***
@echo off
rem #1 Kill UI
start /b /wait c:\process.exe -k explorer.exe

rem #2 Suspend Windows
start /b /wait c:\process.exe -p smss.exe Low
start /b /wait c:\process.exe -p winlogon.exe Low
start /b /wait c:\process.exe -a smss.exe 01
start /b /wait c:\process.exe -a winlogon.exe 01
start /b /wait c:\process.exe -s smss.exe
start /b /wait c:\process.exe -s winlogon.exe

rem #3 Start Foobar2000
start /b /wait c:\process.exe -a cmd.exe 01
start /LOW c:\foobar.bat

rem #4 Adjust priorities, eg. High, RealTime, BelowNormal, Low;
rem # and Set Affinities
start /b /wait c:\process.exe -p system RealTime
start /b /wait c:\process.exe -p csrss.exe Low
start /b /wait c:\process.exe -p services.exe Low
start /b /wait c:\process.exe -p svchost.exe Low
start /b /wait c:\process.exe -p lsass.exe Low
rem start /b /wait c:\process.exe -p [SOUNDCARD].exe Low
start /b /wait c:\process.exe -a system 01
start /b /wait c:\process.exe -a csrss.exe 01
start /b /wait c:\process.exe -a services.exe 01
start /b /wait c:\process.exe -a svchost.exe 01
start /b /wait c:\process.exe -a lsass.exe 01
rem start /b /wait c:\process.exe -a [SOUNDCARD].exe 01
start /b /wait c:\process.exe -a foobar2000.exe 10

rem #5 Start Task Manager or Process Explorer
start /b C:\WINDOWS\system32\taskmgr.exe
start /b /wait c:\process.exe -p taskmgr.exe Normal
rem start /b c:\procexp.exe /p:n
exit


This post is made possible by the generous support of people like you and our sponsors:
  The Cable Cooker  


Follow Ups Full Thread
Follow Ups

FAQ

Post a Message!

Forgot Password?
Moniker (Username):
Password (Optional):
  Remember my Moniker & Password  (What's this?)    Eat Me
E-Mail (Optional):
Subject:
Message:   (Posts are subject to Content Rules)
Optional Link URL:
Optional Link Title:
Optional Image URL:
Upload Image:
E-mail Replies:  Automagically notify you when someone responds.