Is it possible to create a bat file that changes multiple GUI settings

bethy1234

New member
Member
Local time
8:29 AM
Messages
74
Evening all,

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

Andy
 

My Computer My Computer

OS
windows 7
I think that your question is a bit too general ("How to write lines of code to manipulate the windows interface?") :D

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:
Code:
%windir%\Resources\Ease of Access Themes\classic.theme
To switch aero on execute your theme
Code:
%USERPROFILE%\AppData\Local\Microsoft\Windows\Themes\YOURsavedTHEME.theme
Or default aero one
Code:
%windir%\Resources\Themes\aero.theme
If problem with spaces in names of folders will occur use DOS links:
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 Computer My Computer

Computer type
PC/Desktop
OS
Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
Other Info
"The scale icon at the top right of a post or tutorial is how you can give rep to the member."
Yes, i agree my request was to general, and a little vague. BUt you HAVE now resolved all my issues.

Secifically :-

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 Computer My Computer

OS
windows 7
Back
Top