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
bethy1234

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
Neutron16

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
bethy1234

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
Thread Forum
Need help to create batch file for IE with following settings
I am new here and wanted some help. I wanted to know if I can do some internet explorer setting using batch file. Settings would be like this A - Home page - about:blank A.1 - Browsing history - marked on delete browsing history on exit. A.1.1 - Settings - enables radio button (Every time...
Chillout Room
How to create multiple user accounts with the same settings?
Hello, After a serious crash and repair I have to reinstall my laptop from scratch, which in itself is already quite a job. Since I want to make the laptop available for 3 different users, I want to reduce the installation to a minimum. So, how do I make all settings for all 3 users the same? My...
General Discussion
Create factory original settings CD.
Hi, I would like to know how to create a factory original settings CD. Should I do it on CDs or on an external hard drive ? And, I would like advice on how to do this. Thank you. Oh, my PC is "telling" me that I need 6 CDs.
Backup and Restore
How to create 2 shortcuts to same printer, but different settings?
I had (on Vista) 2 shortcuts in the Printers folder, both of which pointed to the same printer. But, one shortcut was for DUPLEX printing and the other was for single-sided printing. I can't figure out (or remember) how to create a second shortcut to the same printer, now that I'm on Windows 7....
Hardware & Devices
How to create a batch file that will move files based on the file type
How to create a batch file that will move files based on the file type? My Requirement : I need a batch file to copy all .doc files in all my HardDisk to a removable disk say (Z: drive) . Can anyone make it possible using a batch file?Please...Its urgent...
General Discussion
HomeGroup Settings Shortcut - Create
How to Create a HomeGroup Settings Shortcut in Windows 7 This will show you how to create or download a Windows 7 HomeGroup Settings shortcut that opens to the Homegroup settings window. You can also Pin to Taskbar or Pin to Start Menu this shortcut, or move where you like for easy use. ...
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 10:22.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App