Telenut Posted February 16, 2007 Share Posted February 16, 2007 Hi, has someone a script to make it possible to disable multiple running services. And reenable them when I want to.Sometimes I need lots of cpu and memory, I want to disable some services temporarely and start them again when I'm finnished.I know I can use the command net stop 'servicename' or sc stop 'servicename'.But a pre written script that checks the running services (I don't really need) and stores them so I can enable them again would be nice :-) Other tools are welcome too (I once saw something to make is easier to play games, but forgot the name) Link to comment Share on other sites More sharing options...
uid0 Posted February 16, 2007 Share Posted February 16, 2007 This will disable lots of services, but needs a reboot, make sure you back up first...http://www.msfn.org/board/index.php?showtopic=64873&hl= Link to comment Share on other sites More sharing options...
Telenut Posted February 16, 2007 Author Share Posted February 16, 2007 thx,But that is not what I needed :-) I have my own reg file for that.I only want to disable services temporarely and stop processes that take too much memory. Link to comment Share on other sites More sharing options...
Jeremy Posted February 16, 2007 Share Posted February 16, 2007 I only want to disable services temporarely and stop processes that take too much memory.And what is "too much" memory? Are you running on 256 MB of RAM? You are low on memory when Windows alerts you that you're virtual memory is low. This is caused by a low value set for the page file or a memory-intensive game like BF2 which eats 1GB+ easily. You're better off just getting more RAM. Link to comment Share on other sites More sharing options...
DL. Posted February 16, 2007 Share Posted February 16, 2007 Make batches with start and stop commands:NET START servicenameorNET STOP servicename Link to comment Share on other sites More sharing options...
Telenut Posted February 16, 2007 Author Share Posted February 16, 2007 (edited) getting more ram is a good option.But I can not upgrade my CPU :-) (laptop)(now let's have a look if there is space left for extra ram)edit: ****, no more place for extra ram... :s Edited February 16, 2007 by Telenut Link to comment Share on other sites More sharing options...
DL. Posted February 16, 2007 Share Posted February 16, 2007 You can probably replace the RAM in your laptop with larger ones... Link to comment Share on other sites More sharing options...
Jeremy Posted February 17, 2007 Share Posted February 17, 2007 (edited) There's more than one size of RAM stick. If there wasn't, mobos for today's servers would be as long as sidewalks. Edited February 17, 2007 by Jeremy Link to comment Share on other sites More sharing options...
gunsmokingman Posted February 17, 2007 Share Posted February 17, 2007 Go to this Link it has some scripts that may do what you want. Link to comment Share on other sites More sharing options...
Telenut Posted February 17, 2007 Author Share Posted February 17, 2007 Than I have 256 mb ram in backup :-)the VB scripts are nice, but I more prefer the bat files.thx for the tips Link to comment Share on other sites More sharing options...
Jeremy Posted February 17, 2007 Share Posted February 17, 2007 Than I have 256 mb ram in backup :-)You should have at least 512MB. See about getting more. Link to comment Share on other sites More sharing options...
IcemanND Posted February 17, 2007 Share Posted February 17, 2007 net stop "Service Name"net start "Service Name"String as many together as needed in a CMD file Link to comment Share on other sites More sharing options...
DL. Posted February 17, 2007 Share Posted February 17, 2007 @IcemanND: I have already mentioned those commands in this thread (post #5). Link to comment Share on other sites More sharing options...
war59312 Posted February 18, 2007 Share Posted February 18, 2007 Well hell that's the easy way to do it!!! Just take the time and do it... I doubt your fine anything easier...Since everyones preferences are different... Link to comment Share on other sites More sharing options...
Telenut Posted February 18, 2007 Author Share Posted February 18, 2007 Guess that is the only way :-)I found some usefull information here: http://www.majorgeeks.com/page.php?id=12 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now