Monday, October 3, 2011

The Many Faces Of God Mode In Windows 7 - With Script

Some of you may already be familiar with "God Mode" in windows 7. It was a special tool which the Windows developer team left for their sake to make enabling and disabling several of Windows functions quick and easy. However there are more than one of these, I have found 39 and will show you how to access them and also provide a script to do that. It should be noted that these are for Windows 7 and will not work on windows XP (although there are some GUID tricks there to, these just aren't them). The default God Mode was to add ".{ED7BA470-8E54-465E-825C-99712043E01C}" to the end of a folder. So for example if you create a folder titled "Main GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}" it would create a folder called "Main GodMode" which when double-clicked would give you what you see below instead of an empty folder.

God Mode folder View

However, this is just another parlor trick by the windows explorer. Looking at it from the command line and you will see it's still just a folder, But windows handles it differently.

CMD view of the folder

Looking into the Windows Registry, you can see it is actually accessing a DLL Function in the shell32.dll file in the system32 folder.

Registry view of HKEY_CLASSES_ROOT\CLSID\{ED7BA470-8E54-465E-825C-99712043E01C}

With some searching I was able to create a batch file script that will create these "Modules". The script will create a folder in where every it is run called "GodModes" then create 39 known God Mode folders under it for you to use, which gives you a decent "this is what the Control Panel should have been" Folder.

View of the GodMode Folder from the script.

Without further delay. Here is the script.
==================================================================
@echo off
rem \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
rem \\ this script will create a folder in it's \\
rem \\ Current Directory called GodModes and then \\
rem \\ create several "God Mode folders under it \\
rem \\ Which in Windows vista\7 will trigger some \\
rem \\ Control Panel as well as hidden functions \\
rem \\ Hidden in some of windows system DLLs. \\
rem \\ \\
rem \\ Note: Some of these do NOT work on vista. \\
rem \\ For Those it will just show a folder. \\
rem \\ Also one of these only works on win7 Ultimate\\
rem \\ Which is the BitLocker Module \\
rem \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
echo.
echo ***********************************************
echo Enable Windows 7 God Mode Modules v1.0
echo ***********************************************
echo Coded By: Travis Phillips
echo on: 10/03/2011
echo.
echo [*] Creating folder .\GodMode
mkdir "GodModes"
echo.
echo [*] Changing to .\GodMode
cd GodModes
echo.
echo [*] Creating GodMode "Default Geolocation"...
mkdir "Default Geolocation.{00C6D95F-329C-409a-81D7-C46C66EA7F33}"
echo.
echo [*] Creating GodMode "Biometrics"...
mkdir "Biometrics.{0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}"
echo.
echo [*] Creating GodMode "Power Plan"...
mkdir "Power Plan.{025A5937-A6BE-4686-A844-36FE4BEC8B6D}"
echo.
echo [*] Creating GodMode "Personalization Control Panel"...
mkdir "Personalization Control Panel.{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}"
echo.
echo [*] Creating GodMode "Taskbar Notitification Area"...
mkdir "Taskbar Notitification Area.{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}"
echo.
echo [*] Creating GodMode "Administration Tools"...
mkdir "Administration Tools.{D20EA4E1-3957-11d2-A40B-0C5020524153}"
echo.
echo [*] Creating GodMode " Windows Vault (Credential Manager - Auto Logon)"...
mkdir "Windows Vault (auto logon).{1206F5F1-0569-412C-8FEC-3204630DFB70}"
echo.
echo [*] Creating GodMode "Ease of Access"...
mkdir "Ease of Access.{D555645E-D4F8-4c29-A827-D93C859C4F2A}"
echo.
echo [*] Creating GodMode "Install Program from the Network"...
mkdir "Install Program from the Network.{15eae92e-f17a-4431-9f28-805e482dafd4}"
echo.
echo [*] Creating GodMode "Network Map"...
mkdir "Network Map.{E7DE9B1A-7533-4556-9484-B26FB486475E}"
echo.
echo [*] Creating GodMode "Default Programs"...
mkdir "Default Programs.{17cd9488-1228-4b2f-88ce-4298e93e0966}"
echo.
echo [*] Creating GodMode "Windows SideShow"...
mkdir "Windows SideShow.{E95A4861-D57A-4be1-AD0F-35267E261739}"
echo.
echo [*] Creating GodMode "DOT NET Framework Modules"...
mkdir "DOT NET Framework Modules.{1D2680C9-0E2A-469d-B787-065558BC7D43}"
echo.
echo [*] Creating GodMode "GPS Sensors"...
mkdir "GPS Sensors.{E9950154-C418-419e-A90A-20C5287AE24B}"
echo.
echo [*] Creating GodMode "Manage Wireless Networks"...
mkdir "Manage Wireless Networks.{1FA9085F-25A2-489B-85D4-86326EEDCD87}"
echo.
echo [*] Creating GodMode "Network"...
mkdir "Network.{208D2C60-3AEA-1069-A2D7-08002B30309D}"
echo.
echo [*] Creating GodMode "My Computer"...
mkdir "My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
echo.
echo [*] Creating GodMode "Computers and Devices"...
mkdir "Computers and Devices.{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"
echo.
echo [*] Creating GodMode "Manage Printers"...
mkdir "Manage Printers.{2227A280-3AEA-1069-A2DE-08002B30309D}"
echo.
echo [*] Creating GodMode "Recent Places"...
mkdir "Recent Places.{22877a6d-37a1-461a-91b0-dbda5aaebc99}"
echo.
echo [*] Creating GodMode "Bluetooth Devices"...
mkdir "Bluetooth Devices.{28803F59-3A75-4058-995F-4EE5503B023C}"
echo.
echo [*] Creating GodMode "Workspaces Center (Remote Connections)"...
mkdir "Workspaces Center (Remote Connections).{241D7C96-F8BF-4F85-B01F-E2B043341A4B}"
echo.
echo [*] Creating GodMode "Windows Firewall"...
mkdir "Windows Firewall.{4026492F-2F69-46B8-B9BF-5654FC07E423}"
echo.
echo [*] Creating GodMode "Favorites"...
mkdir "Favorites.{323CA680-C24D-4099-B94D-446DD2D7249E}"
echo.
echo [*] Creating GodMode "Windows Update"...
mkdir "Windows Update.{36eef7db-88ad-4e81-ad49-0e313f0c35f8}"
echo.
echo [*] Creating GodMode "Rate and Improve Computer Preformance"...
mkdir "Rate and Improve Computer Preformance.{78F3955E-3B90-4184-BD14-5397C15F1EFC}"
echo.
echo [*] Creating GodMode "Main Godmode"...
mkdir "Main Godmode.{ED7BA470-8E54-465E-825C-99712043E01C}"
echo.
echo [*] Creating GodMode "Speech Recognition"...
mkdir "Speech Recognition.{58E3C745-D971-4081-9034-86E34B30836A}"
echo.
echo [*] Creating GodMode "User Accounts"...
mkdir "User Accounts.{60632754-c523-4b62-b45c-4172da012619}"
echo.
echo [*] Creating GodMode "Action Center"...
mkdir "Action Center.{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}"
echo.
echo [*] Creating GodMode "Backup and Restore"...
mkdir "Backup and Restore.{B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}"
echo.
echo [*] Creating GodMode "Backup and Restore"...
mkdir "Display.{C555438B-3C23-4769-A71F-B6D3D9B6053A}"
echo.
echo [*] Creating GodMode "Recovery"...
mkdir "Recovery.{9FE63AFD-59CF-4419-9775-ABCC3849F861}"
echo.
echo [*] Creating GodMode "AutoPlay"...
mkdir "AutoPlay.{9C60DE1E-E5FC-40f4-A487-460851A8D915}"
echo.
echo [*] Creating GodMode "BitLocker Drive Encryption (Ultimate edition only)"...
mkdir "BitLocker Drive Encryption (Ultimate edition only).{D9EF8727-CAC2-4e60-809E-86F80A666C91}"
echo.
echo [*] Creating GodMode "Font Settings"...
mkdir "Font Settings.{93412589-74D4-4E4E-AD0E-E0CB621440FD}"
echo.
echo [*] Creating GodMode "Parental Controls"...
mkdir "Parental Controls.{96AE8D84-A250-4520-95A5-A47A7E3C548B}"
echo.
echo [*] Creating GodMode "Sync Center"...
mkdir "Sync Center.{9C73F5E5-7AE7-4E32-A8E8-8D23B85255BF}"
echo.
echo [*] Creating GodMode "System Information"...
mkdir "System Information.{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}"
echo.
echo [*] Changing back to .\
cd ..
==================================================================