Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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


08 May 2011   #1

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

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 System SpecsSystem Spec
.

09 May 2011   #2

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

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:
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 System SpecsSystem Spec
09 May 2011   #3

windows 7
 
 

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 System SpecsSystem Spec
.


Reply

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




Thread Tools



Similar help and support threads for2: Is it possible to create a bat file that changes multiple GUI settings
Thread Forum
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
Create a connection with the LAN settings? Network & Sharing
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

Our Sites

Site Links

About Us

Find Us

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 05:11 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33