Whenever you want to turn Aero ON or OFF, you have to do it either from Desktop Properties or from System properties. But did you know there is a very easy shortcut to do it within seconds?
Here are 2 commands to turn Aero ON / OFF which are used by Vista OS:
Command to Turn Aero ON: Rundll32 dwmApi #102
Command to Turn Aero OFF: Rundll32 dwmApi #104
You can give the commands in RUN dialog box or Startmenu Searchbox. You can also create their shortcuts on Desktop or Quick Launch or wherever you want. It can become quite handy in lots of situations like a software has disabled Aero because it was not compatible with Aero or if you are running out of battery in your laptop, etc.
You can also add these commands in Desktop context menu or My Computer context menu. e.g. when you’ll right-click on Desktop or My Computer icon, you’ll find the shortcuts of “Aero ON” and “Aero OFF” there.
Following is a step-by-step tutorial to Add “Aero ON” and “Aero OFF” options in Desktop and My Computer Context Menu:
A. Add “Aero ON” and “Aero OFF” in Desktop Context Menu:

1. Open regedit and goto:
HKEY_CLASSES_ROOT\Directory\Background\shell
2. Right-click on the “Shell” key and select “New -> Key“.
3. Give it name Aero ON.
4. Now create another key under “Aero ON” with the name “command” and in right-side pane set value of “Default” to:
Rundll32 dwmApi #102
5. Now repeat steps 2-4 to add “Aero OFF” option, i.e. Right-click on the “Shell” key and select “New -> Key“.
6. Give it name Aero OFF.
7. Now create another key under “Aero OFF” with the name “command” and in right-side pane set value of “Default” to:
Rundll32 dwmApi #104
8. Thats it. Now you’ll get both “Aero ON” and “Aero OFF” options in Desktop Context Menu.
B. Add “Aero ON” and “Aero OFF” in My Computer Context Menu:

1. Open regedit and goto:
HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} \shell
2. Right-click on the “Shell” key and select “New -> Key“.
3. Give it name Aero ON.
4. Now create another key under “Aero ON” with the name “command” and in right-side pane set value of “Default” to:
Rundll32 dwmApi #102
5. Now repeat steps 2-4 to add “Aero OFF” option, i.e. Right-click on the “Shell” key and select “New -> Key“.
6. Give it name Aero OFF.
7. Now create another key under “Aero OFF” with the name “command” and in right-side pane set value of “Default” to:
Rundll32 dwmApi #104
8. Thats it. Now you’ll get both “Aero ON” and “Aero OFF” options in My Computer Context Menu.
NOTE: There is also another similar command “Rundll32 dwmApi #105” which is used to run “Flip 3D“. You can also add it in My Computer or desktop Context Menu by following the above mentioned steps.
BONUS TIP: If you are interested in adding other shortcuts in My Computer or Desktop Context menu or anywhere else, then don’t forget to visit following tutorials:
- Add Your Favorite Application Shortcut in Desktop Context Menu in Windows Vista
- Add Hide File and Unhide File Options in File Context Menu in Windows
- Add Take Ownership Option in File / Folder Context Menu in Windows Vista
- Add Device Manager, Control Panel, Add/Remove Programs Options in My Computer Context Menu
- How to Add / Remove Entries in Context Menus














Keith said:
The problem with this is that it doesn’t kill most of the dwm.exe process. Open the task manager and watch what happens to the memory usage with your steps.
Instead, use the command:
C:\WINDOWS\system32\control.exe desk.cpl,@0,2
Switch between Aero/Basic. Much more system performance.