|08 May 2011||#1|
Is it possible to create a bat file that changes multiple GUI settings
I regularly need to turn off windows 7 GUI settings such as aero,certain services,unload certain apps in memory, all in win 7 ultimate. These settings will always be the same. I would like to know if it is possible to create some sort of file*batch file?) which would turn these settings off, and also a separate file which would turn them back on again when i wanted them all back.
I am familiar with working with simple .bat files, and converting them into .exe's and attaching them to shortcut icons. So my only question is where do i find examples of how to write lines of code to manipulate the windows interface.
Thanks in advance
|My System Specs|
|09 May 2011||#2|
I think that your question is a bit too general ("How to write lines of code to manipulate the windows interface?")
Here are solutions for tasks you have already mentioned:
To start/stop services you can use commands NET START/ NET STOP
net start / net stop / net pause / net continue
To unload (kill) processes you command Taskkill
The interesting one would be Aero. I propose the following solution:
Save your aero theme, if you are not using default one.
To switch off aero use classic theme, just execute this line:
%windir%\Resources\Ease of Access Themes\classic.theme
C:\progra~1 insread C:\Program Files\
Basically, leave first 6 letters then put ~ and ordinal number of the file/folder name.
Ex. C:\Program Files\ would be C:\progra~1
but C:\ProgramData would be C:\progra~2
|My System Specs|
|09 May 2011||#3|
Yes, i agree my request was to general, and a little vague. BUt you HAVE now resolved all my issues.
1.switch from aero theme to xp classic - (thanks to neutron16)
2.Unload particular services that i KNOW i won't use during my current session(thanks to neutron16), by using net stop/start. I'll be using these commands to (net) stop my stardock deskscapes,windowsblinds, (net) start Cubase 5 and novation Automap
3. Switch from "power saver" to "high performance" - which i already know how to do(due to Winsevenforums site)
4. Switch audio output from speakers to headphones.- which i already know how to do(due to Winsevenforums site)
At the W/E i shall test each line in the windows Command" window - to test each command is working satisfactorily, then combine those lines into a batch file, convert that batch file into an .exe, then attach that .exe to a shortcut on the windows taskbar.
Thanks for your suggestion, i appreciate your help so far. Especially the method for switching for aero theme to xp classic, i shall try this when i return to my win 7 machine later this week.
Thank you Sevenforums
|My System Specs|
|Similar help and support threads for2: Is it possible to create a bat file that changes multiple GUI settings|
|Need help to create batch file for IE with following settings||Chillout Room|
|How to create multiple user accounts with the same settings?||General Discussion|
|Font Settings Shortcut - Create||Tutorials|
|Pen and Touch Settings - Create Shortcut||Tutorials|
|How to create a batch file that will move files based on the file type||General Discussion|
|Tablet PC Settings Shortcut - Create||Tutorials|
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 09:26 PM.