It is currently Sat Dec 16, 2017 9:45 am

All times are UTC - 8 hours [ DST ]


Forum rules


Please, keep discussions on topic and in the right forum. The start menu topics go into the Classic Start Menu forum, etc. This makes it easier for people to locate topics they are looking for.
If you get a satisfactory response to your question, please mark the topic as "solved". Click the green √ button in the bottom-right of the post.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sat Jul 16, 2016 12:29 pm 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5340
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

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and Classic Shell tester.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 16, 2016 2:02 pm 
Offline

Joined: Tue Mar 18, 2014 7:44 am
Posts: 5
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 17, 2016 12:10 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5340
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.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and Classic Shell tester.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 17, 2016 4:42 am 
Offline

Joined: Tue Mar 18, 2014 7:44 am
Posts: 5
I understand that, but the other settings (without _Default) should still be locked. They aren't.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 17, 2016 7:44 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5310
Show me a screenshot of the Main Menu page of the Classic Start Menu settings.


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 06, 2016 2:05 pm 
Offline

Joined: Tue Sep 06, 2016 1:52 pm
Posts: 1
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?


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 06, 2016 2:09 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5310
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.


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 04, 2017 8:30 am 
Offline

Joined: Sun Sep 03, 2017 2:08 am
Posts: 2
Perfect thank you for the help!


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 07, 2017 4:03 am 
Offline

Joined: Sat Oct 07, 2017 3:59 am
Posts: 1
Thanks, its worked


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.