How to Add Aero ON / OFF Shortcuts in Desktop and My Computer Context Menu in Windows Vista and Later

in Windows Vista and later, whenever you want to turn Aero process ON or OFF to enable or disable Aero glass effect, 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 Windows Vista and later:

Command to Turn Aero ON: Rundll32 dwmApi #102
Alternative command to Turn Aero ON: sc start uxsms

Advertisement

Command to Turn Aero OFF: Rundll32 dwmApi #104
Alternative command to Turn Aero OFF: sc stop uxsms

You can give the commands in RUN dialog box or Start Menu 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:

Add “Aero ON” and “Aero OFF” in Desktop Context Menu:

Add_Aero_ON_OFF_Shortcut_Desktop_Context_Menu.png

1. Type regedit in RUN dialog box and press Enter. Now go to:

HKEY_CLASSES_ROOT\Directory\Background\shell

Advertisement

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

If the above command doesn’t work for you, you can use following command as value:

sc start uxsms

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

If the above command doesn’t work for you, you can use following command as value:

sc stop uxsms

8. That’s it. Now you’ll get both “Aero ON” and “Aero OFF” options in Desktop Context Menu.

Add “Aero ON” and “Aero OFF” in My Computer Context Menu:

Add_Aero_ON_OFF_Shortcut_Computer_Context_Menu.png

1. Type regedit in RUN dialog box and press Enter. Now go to:

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.

PS: If you receive error message while creating new key, take ownership of the “Shell” key with the help of following tutorial:

[Guide] How to Take Ownership (Permission) of a Registry Key in Windows?

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

If the above command doesn’t work for you, you can use following command as value:

sc start uxsms

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

If the above command doesn’t work for you, you can use following command as value:

sc stop uxsms

8. That’s 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.

Also check:

Restarter: Restart Explorer, Uxsms Service and Kill Not Responding Tasks in Windows

[AIO] Ultimate Tutorial to Customize My Computer Context Menu in Windows

Published in: Windows 7, Windows Vista

About the author: Vishal Gupta (also known as VG) has been awarded with Microsoft MVP (Most Valuable Professional) award. He holds Masters degree in Computer Applications (MCA). He has written several tech articles for popular newspapers and magazines and has also appeared in tech shows on various TV channels.

Comments

NOTE: Older comments have been removed to reduce database overhead.

  1. (Kitten S.

    Access is denied?)

    -Just make .txt file and write one of the commands in it [one of you want] then click save with and make it .bat file

  2. Thank you very much for this. although I had to use the command without quotes “net stop uxsms /y” to turn it off and “net start uxsms /y” to turn it on. for Windows 7 x64.

Leave a Comment

Your email address will not be published. Required fields are marked *

NOTE: Your comment may not appear immediately. It'll become visible once we approve it.