Help!

multiple configurations

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Windows Fanatics RSS
Next:  Hijacked google and yahoo searches  
Author Message
bern



Joined: Mar 12, 2007
Posts: 1432

Location: ann arbor

PostPosted: Sun Feb 01, 2009 11:43 am    Post subject: multiple configurations

I have a computer with 4 gigs of RAM, dual core processor, running Vista ultimate, and a blu-ray drive. It is very satisfactory for most everything. BUT. When running a blu-ray movie, the picture occasionally stutters. Not the sound.

I can fix this problem by getting rid of many of the 40 odd services that normally run using MSconfig and rebooting. But this is clunky and time consuming.

When not watching a movie, I find many of the services useful. What I want is a simple quick way to select whether the computer boots with a full complement of services, or a pre defined abbreviated set. I am sure such a thing exists, maybe even within Windows, but I sure can't find it.

thanks
Back to top
goretsky



Joined: Dec 07, 2002
Posts: 9041

Location: Southern California

PostPosted: Mon Feb 02, 2009 12:04 am    Post subject:

Hello,

Have you considered creating a script that stops un-needed services, runs your movie-playing program, then restarts the services? That is one possible solution if you cannot pin-point the problem down to a specific service or configuration issue.

Regards,

Aryeh Goretsky
Back to top
bern



Joined: Mar 12, 2007
Posts: 1432

Location: ann arbor

PostPosted: Mon Feb 02, 2009 2:06 pm    Post subject: [Login to view extended thread Info.]

goretsky wrote:
Hello,

Have you considered creating a script that stops un-needed services, runs your movie-playing program, then restarts the services? That is one possible solution if you cannot pin-point the problem down to a specific service or configuration issue.

Regards,

Aryeh Goretsky


Thanks for the suggestion. I did not know you could turn on and off services and processes via script file. I thought that you always needed to reboot to get rid of same.

What would be a representative (any language) command to stop and get rid of a service or process?

thanks
Back to top
ejward



Joined: Jan 06, 2003
Posts: 7054



PostPosted: Mon Feb 02, 2009 2:46 pm    Post subject: [Login to view extended thread Info.]

Just do a NET STOP then the service name. The service name however, may not be the same as what's listed under Services in computer manager.
Back to top
drwho07



Joined: Nov 29, 2007
Posts: 1546

Location: Central FL, USA

PostPosted: Tue Feb 03, 2009 12:35 am    Post subject: [Login to view extended thread Info.]

You could of course, just disable the 40 or so completely Redundant Services that no one ever uses or needs to have running all the time.

I do that on every new PC that I set up, with either XP or Vista.

The only difference is that the Vista list is much longer than the XP list.

here's a typical few lines from that "SetServices.bat" batch file to disable services in VISTA:

@echo off
cls
rem This batch file will Stop selected Services and set them to Disabled.
rem The following are a few examples of task name vs actual program name.
rem Schedule = Task Scheduler
rem Themes = Themes
rem W32Time = Windows Time
rem SysMain = Superfetch
rem WinDefend = Windows Defender
rem
sc config Appinfo start= demand
sc stop Appinfo

sc config ALG start= demand
sc stop ALG

sc config AppMgmt start= demand
sc stop AppMgmt

sc config wbengine start= demand
sc stop wbengine

sc config CertPropSvc start= disabled
sc stop CertPropSvc

sc config Keylso start= demand
sc stop Keylso

sc config COMSysApp start= demand
sc stop COMSysApp

sc config DFSR start= disabled
sc stop DFSR

sc config W32Time start= disabled
sc stop W32Time

sc config DPS start= disabled
sc stop DPS

sc config TrkWks start= disabled
sc stop TrkWks

sc config Fax start= disabled
sc stop Fax

sc config CscService start= disabled
sc stop CscService

sc config RemoteRegistry start= disabled
sc stop RemoteRegistry

sc config SCardSvr start= disabled
sc stop SCardSvr

sc config SCPolicySvc start= disabled
sc stop SCPolicySvc

sc config TabletInputService start= disabled
sc stop TabletInputSerevice

sc config UmRdpService start= disabled
sc stop UmRdpService

sc config TBS start= demand
sc stop TBS

sc config WebClient start= disabled
sc stop WebClient

sc config WinRM start= disabled
sc stop WinRM

sc config WinHttpAutoProxySvc start= disabled
sc stop WinHttpAutoProxySvc

sc config WinDefend= disabled
sc stop WinDefend

sc config SysMain= disabled
sc stop SysMain
rem
rem
rem To add other Services:
rem Open Services.msc and double-click on the Service to get the proper filename
rem
rem Syntax:
rem Note that you should put the line to set the Service to Automatic, Manual or Disabled
rem before the line to Stop or Start the Service
rem
rem sc - pulls up the Service
rem config - make this change
rem start= auto - sets the Service to Automatic - note the space after the = sign
rem start= demand - sets the Service to Manual
rem start= disabled - sets the Service to Disabled
rem start - Start the Service
rem stop - Stop the Service

It takes more than just shutting down unneeded services to make XP or Vista run more efficiently. But, at least that's somewhere to start. Wink

Good Luck,
The Doctor Cool


Last edited by drwho07 on Tue Feb 03, 2009 8:31 pm; edited 1 time in total
Back to top
bern



Joined: Mar 12, 2007
Posts: 1432

Location: ann arbor

PostPosted: Tue Feb 03, 2009 9:45 am    Post subject: [Login to view extended thread Info.]

drwho07 wrote:
You could of course, just disable the 40 or so completely Redundant Services that no one ever uses or needs to have running all the time.


Thanks very much. I have already stopped the ones I never use. But there are things that I do use that can be stopped when watching movies with no connection to any network; I would like to stop these temporarily. Your script looks self explanatory and perfect. I assume it will run under Vista similarly.

bern
Back to top
bern



Joined: Mar 12, 2007
Posts: 1432

Location: ann arbor

PostPosted: Tue Feb 03, 2009 9:53 am    Post subject: [Login to view extended thread Info.]

drwho07 wrote:
You could of course, just disable the 40 or so completely Redundant Services that no one ever uses or needs to have running all the time.


Oh, yes. one more question. What suffix is needed on the filename to get it to run?

thanks
Back to top
magister-ludi



Joined: Dec 14, 2008
Posts: 12

Location: node 378/15tyc-fg

PostPosted: Tue Feb 03, 2009 5:26 pm    Post subject: [Login to view extended thread Info.]

set up 2 user profiles; one with all the usual services, the other bare bones.
Back to top
drwho07



Joined: Nov 29, 2007
Posts: 1546

Location: Central FL, USA

PostPosted: Tue Feb 03, 2009 8:40 pm    Post subject: [Login to view extended thread Info.]

bern wrote:
drwho07 wrote:
You could of course, just disable the 40 or so completely Redundant Services that no one ever uses or needs to have running all the time.


Oh, yes. one more question. What suffix is needed on the filename to get it to run?

thanks


Read my post again!
I've edited it to clear up any misunderstandings.....I hope Wink Laughing Laughing

It's a batch file, so naturally the suffix will be .bat

These two lines would disable FAX

sc config Fax start= disabled
sc stop Fax


Then to reenable fax, you would execute these two lines:

sc config Fax start= Auto
sc start Fax


So, you'd run one batch file to shut down some services and another batch file to turn them back on again.

I kind of do this with my running programs.....
I run "End It All 2" to shut down all running programs so I can run certain programs and then when I do a reboot, they are all turned back on again.
Not quite the same......but close enough for Government work.

I hope this helps to clear things up.

Doc Cool
Back to top
bern



Joined: Mar 12, 2007
Posts: 1432

Location: ann arbor

PostPosted: Tue Feb 03, 2009 9:03 pm    Post subject: [Login to view extended thread Info.]

drwho07 wrote:
[
Read my post again!
I've edited it to clear up any misunderstandings.....I hope Wink Laughing Laughing


Yeah, I had figured it out!

It has been awhile since I wrote .bat files, the weather is cold, I am an old fart, and my brain circulation isn't what it used to be.

Laughing
Back to top
drwho07



Joined: Nov 29, 2007
Posts: 1546

Location: Central FL, USA

PostPosted: Wed Feb 04, 2009 10:23 am    Post subject: [Login to view extended thread Info.]

Dude!
I think many of us on this forum can relate to that!!!
I sure can! Wink

I'm in FL, but it's been dang'd cold here too.
It's going back into the Freezer again tonight.
Hard Freeze warnings are out for all of Central FL for tonight.

I don't write the really complicated batch files anymore.
Many commands have been added or changed over the
years since I first learned DOS, that it's hard to keep up.

But, turn this on, or turn this off, or delete this or that are
still within my realm of expertise.

I really enjoy doing simple, repetitive chores with DOS batch
files. They save me a LOT of time in my everyday work.

Stay warm!
The Doctor Cool
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Windows Fanatics All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum