Open-shell-menu: How to disable autostart?

Created on 15 Apr 2019  路  4Comments  路  Source: Open-Shell/Open-Shell-Menu

How do I disable autorun?
I iknow there's the HKCU\Software\StartMenu\Settings\Autorun Key, but this isn't what I'm looking for.

As of now Open-Shell starts as soon as a user logs on, and I have to disable it.
I want it to stay off by default, and then enable it only for a special user, when he wants it.

I struggle to find a solution for this.

Thanks
Alex

Most helpful comment

There is Open-Shell Start Menu value created in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key by default. This causes Open-Shell to run automatically for every user (and then depending on his settings actually do something, or just finish immediately).

If you want to enable Open-Shell just for some users, you'll have to remove that value from HKLM and instead create it in _Run_ key of particular user:
HKEY\Users\<user-sid>\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

All 4 comments

@nn-23, Do you have Windows 10 64-bit?

If not, what do you have?

~Ibuprophen

There is Open-Shell Start Menu value created in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key by default. This causes Open-Shell to run automatically for every user (and then depending on his settings actually do something, or just finish immediately).

If you want to enable Open-Shell just for some users, you'll have to remove that value from HKLM and instead create it in _Run_ key of particular user:
HKEY\Users\<user-sid>\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Thank you very much for pointing this out @ge0rdi! :-)

I was actually about to gather some information regarding this because I've seen it placed in (1 or 2) other areas within the registry that results in it auto starting when the system boots up.

It's hard to explain this without gathering the information for you.

I plan to begin gathering the info today or tomorrow. Please be patient with me My Friend. :-P

~Ibuprophen

There are two ways of disabling Open-Shell autostart (while giving particular users ability to enable it).

Policy

There is PolicyDefinitions.zip file in Open-Shell's install folder. See inside for instructions how to use it (PolicyDefinitions.rtf).

You can then edit Computer Configuration -> Administrative Templates -> Open-Shell -> Open-Shell Menu -> Start automatically for this user:

image

This way autostart will be disabled by default, but the setting won't be locked so particular users can override it by running Open-Shell Menu Settings.

Default setting value

In HKEY_LOCAL_MACHINE\SOFTWARE\OpenShell\StartMenu create item named AutoStart_Default with value 0.

This way the autostart setting will be disabled for given machine, but particular users will be able to enable it.

Was this page helpful?
5 / 5 - 1 ratings

Related issues

bovirus picture bovirus  路  4Comments

blackcrack picture blackcrack  路  3Comments

sydbarrett74 picture sydbarrett74  路  3Comments

indyjonny picture indyjonny  路  3Comments

bepvte picture bepvte  路  4Comments