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
@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).
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:

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.
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.
Most helpful comment
There is
Open-Shell Start Menuvalue created inHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Runkey by default. This causesOpen-Shellto run automatically for every user (and then depending on his settings actually do something, or just finish immediately).If you want to enable
Open-Shelljust 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