Classic Shell
http://classicshell.net/forum/

How to change default settings for all users
http://classicshell.net/forum/viewtopic.php?f=7&t=6332
Page 1 of 1

Author:  Gaurav [ Sat Jul 16, 2016 12:29 pm ]
Post subject:  How to change default settings for all users

Where Classic Shell Settings are stored:

Classic Start Menu stores its Settings in the Registry per-user account at HKCU\Software\IvoSoft\ClassicStartMenu\Settings reg branch. When you use the user interface to change the settings, new reg values are written at this branch. So you can either directly edit the Registry (while the Start Menu is not running or not installed), or use the Settings UI (which is supported while the Start Menu is running).

It is not recommended to edit the per-user settings while the Start Menu is running. Also, if you make any direct Registry edits, you must exit and restart the menu for changes to take effect. Or log out of your Windows account and login again.

How to lock settings to specific value for all users:


An administrator might want to lock and enforce specific settings for all user accounts, so no non-admin user can set them. This is also possible via 2 methods. Either edit Registry directly or use Group Policy.

If you prefer to edit the Registry directly, the HKLM branch is used to lock and enforce settings for all accounts. In HKLM, the Start Menu settings are supported at:
HKLM\Software\IvoSoft\ClassicStartMenu (note that there is no \Settings subkey unlike HKCU).

To add a setting to HKLM, you need to know its value. The easiest way to know the Registry value of a setting and its value data is to modify it using the Settings GUI so it gets written to the HKCU branch, then look it up in HKCU\Software\IvoSoft\ClassicStartMenu\Settings and add the same setting to HKLM\Software\IvoSoft\ClassicStartMenu. (without the \Settings subkey).

So basically, you mirror the same settings which are in HKCU\Software\IvoSoft\ClassicStartMenu\Settings branch inside HKLM\Software\IvoSoft\ClassicStartMenu. That will enforce settings for all users.

How to enforce different defaults for all accounts but allow users to change them:

In some cases you may not want to lock the value for all users, but simply modify the initial value of the setting, i.e. specify a different default setting for all users vs what is the predefined default. This is possible by appending _Default to the name of the registry value in the HKLM branch.



How to lock settings to the default value:

Sometimes, you may want to lock a setting to its default value, but you don't know what the default value is. Then create a DWORD value for a setting with the appropriate name and set its value data to 0xDEFA.

Example for direct Registry editing:

By default, the context menu is enabled in the Start Menu.

- To disable context menu for current user, set the Registry value 'EnableContextMenu' to 0 at HKCU\Software\IvoSoft\ClassicStartMenu\Settings. Alternatively, use the Settings UI. Both will affect only the currently signed in account.

- To disable context menu for all users and lock it down, create and set the Registry value 'EnableContextMenu' to 0 at HKLM\Software\IvoSoft\ClassicStartMenu. Or use Group Policy. Read below to understand the corresponding setting state in Group Policy.

- To disable context menu for all users by default but not lock it, create a Registry value 'EnableContextMenu_Default' to 0 at HKLM\Software\IvoSoft\ClassicStartMenu. Or use Group Policy. Read below to understand the corresponding setting state in Group Policy.


These instructions are also applicable to Classic Explorer and Classic IE. Just change the appropriate Registry key paths for these components.

Group Policy Templates:

You must extract the Group Policy templates (ADMX and ADML files) from C:\Program Files\Classic Shell\PolicyDefinitions.zip to the correct folder (either C:\Windows\PolicyDefinitions for Local Group Policy or to the Central Store for the domain controller at %logonserver%\sysvol\%userdnsdomain%\policies\PolicyDefinitions\).

What the Group Policy setting states mean:

Group Policy Settings under "Computer Configuration" can enforce settings for all users on that PC. Those under User Configuration can enforce them for only the currently logged-in user account.

- If you set the state to 'Locked to this value', the setting will be locked to the specified value (for all users if you set it under Computer Configuration) otherwise current user (User configuration).

- If you set the state to 'Locked to default', the setting will be locked to the predefined default value in Classic Shell (for all users if you set it under Computer Configuration) otherwise current user (User configuration). The specified value is ignored.

- If you set the state to 'Unlocked', the default value for the setting will be changed to the specified value without enforcing it (for all users if you set it under Computer Configuration) otherwise current user (User configuration). Individual users can override the setting.


How to customize individual menu items & enforce them via Group Policy

See this post: viewtopic.php?f=7&t=3374#p18752

Author:  concerthiker [ Tue Aug 16, 2016 2:02 pm ]
Post subject:  Re: How to change default settings for all users

I've tried creating locked and default settings by the method you describe (viewing the settings in HKCU and creating them in HKLM without the Settings key). My registry looks like this

[HKEY_LOCAL_MACHINE\SOFTWARE\IvoSoft\ClassicStartMenu]
"MenuStyle_Default"="Classic1"
"Documents_Default"="Hide"
"ShowAppsMenu"=dword:00000001
"RecentPrograms"="None"
"StartScreenShortcut"=dword:00000000
"HighlightNew_Default"=dword:00000000
"HighlightNewApps_Default"=dword:00000000
"SkipMetro"=dword:00000001
"DisableHotCorner_Default"="DisableAll"
"NoTaskbarTransparency2_Default"=dword:00000001


But it's not working! I've restarted the computer, but Start Menu Settings aren't locked.

Author:  Gaurav [ Wed Aug 17, 2016 12:10 am ]
Post subject:  Re: How to change default settings for all users

For those settings which you have added as _Default, they won't be locked, but only changed from what the default is. If you want to lock them down AND change the default, add them without appending _Default.

Author:  concerthiker [ Wed Aug 17, 2016 4:42 am ]
Post subject:  Re: How to change default settings for all users

I understand that, but the other settings (without _Default) should still be locked. They aren't.

Author:  Ivo [ Wed Aug 17, 2016 7:44 am ]
Post subject:  Re: How to change default settings for all users

Show me a screenshot of the Main Menu page of the Classic Start Menu settings.

Author:  mgross1988 [ Tue Sep 06, 2016 2:05 pm ]
Post subject:  Re: How to change default settings for all users

In my registry, there is no key for ClassicStartMenu, just ClassicShell (HKLM\Software\IvoSoft\ClassicShell). Should the instructions above work all the same, if I create the values in the within the ClassicShell key?

Author:  Ivo [ Tue Sep 06, 2016 2:09 pm ]
Post subject:  Re: How to change default settings for all users

Yes, you need to create the key, but in IvoSoft, not ClassicShell. It is not created automatically by the installer because it doesn't need to put anything there.

Author:  Hurmycketda [ Mon Sep 04, 2017 8:30 am ]
Post subject:  Re: How to change default settings for all users

Perfect thank you for the help!

Author:  Monaquotes [ Sat Oct 07, 2017 4:03 am ]
Post subject:  Re: How to change default settings for all users

Thanks, its worked

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/