You can set default apps. I use this method.

http://deploymentresearch.com/Research/Post/507/Setting-Internet-Explorer-as-your-default-browser-in-Windows-10-during-OS-Deployment

Thanks,
Jeff Jerousek
217-793-3800 x1822

From: [email protected] [mailto:[email protected]] On 
Behalf Of Ryan
Sent: Saturday, October 3, 2015 1:03 PM
To: [email protected]
Subject: Re: [mssms] Surface pen open OneNote desktop

Yup, that's the only way I've figured out how to do it. The only problem is 
Get-AppxPackage *OneNote* | Remove-AppXPackage only works if the user has 
opened the OneNote app once, which is where I'm having problems.
So he seems to be doing what I'm doing in the original post. The modern app 
needs to be opened once by the user before this works.
If you run the Remove-AppXProvisioned package, the OneNote app will be 
completely removed and no new users will get it. Under this condition, the pen 
will not open the Desktop app because the user never has a chance to run the 
modern app once first. I don't think my client wants me to spend more time on 
this now that Microsoft has admitted it's a bug.
I found two other fun issues with Windows 10 during this deployment:
You can't specify a default app for a program after it's imaged - Sure you can 
specify a "Default App" through group policy, but app defaults get reset on 
login so the user will only be able to change it for the time they are logged 
on.

You can't script the task bar pins - The method to script the Start Menu pins 
is still there, so why would they remove the task bar ones?


On Fri, Oct 2, 2015 at 3:43 PM, Ed Aldrich 
<[email protected]<mailto:[email protected]>> wrote:
I’m late to this thread so apologies if this was already seen/discussed… This 
very informative 
post<http://sunbehindtheclouds.com/2015/09/11/onenote-surface-pen-hack/#comment-1669>
 (to me at least) from MVP Colin Smith provides some encouraging details out of 
a Paul Thurrot post he found entitled 
windows-10-tip-choose-the-right-onenote-app<https://www.thurrott.com/uncategorized/5358/windows-10-tip-choose-the-right-onenote-app>
 Attributed there to one of his readers named Mark Wibaux  gives the following 
procedure:

Here is a summary of his instructions:

  1.  Uninstall Universal OneNote by starting an elevated PowerShell session 
and running the following command:
Get-AppxPackage *OneNote* | Remove-AppxPackage

  1.  Launch regedit and go to HKEY_CLASSES_ROOT\onenote-cmd
  2.  Create a new Key “Shell”
  3.  Under shell create a new key “Open”
  4.  Under open, create a new key “Command”
  5.  Under command, edit the (Default) REG_SZ entry and enter path to the 
OneNote desktop executable. The easiest way I found was to open up the 
“OneNoteDesktop\Shell\Open\Command” registry key that was right below the 
onenote-cmd key and copy the string from there (without the /hyperlink “%1” 
ending) to the entry

Colin’s article further provides a ZIP with a script to automate the above 
process…

Dunno if this is a help or old news, but here it is FWIW


Ed Aldrich
Mobile: (401) 924-2293<tel:%28401%29%20924-2293>
[email protected]<mailto:[email protected]>
[Description: Description: cid:[email protected]] Ent Cli Mgmt 
(2003-2015))

Sent from my Microsoft Surface


From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] 
On Behalf Of Ryan
Sent: Thursday, October 1, 2015 12:06 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [mssms] Surface pen open OneNote desktop

The key I've been setting is HKEY_CLASSES_ROOT\onenote-cmd\Shell\Open\Command 
and the (Default) property should be pointed towards your OneNote desktop app 
exe. After setting that, you still need to open the OneNote modern app once, 
then remove the app, then open OneNote desktop and set it as the default 
through those prompts. Setting OneNote as the default for everything through 
Control Panel doesn't actually set it as the default for everything. This has 
to be done through the desktop app itself.
There is probably something in the user registry that bypasses all of this, but 
I haven't had time to use Process Monitor and search for the key. I think I'll 
just wait for the fix from Microsoft.


On Thu, Oct 1, 2015 at 10:49 AM, Rod Trent 
<[email protected]<mailto:[email protected]>> wrote:
So, you’ve been able to locate an actual regkey?

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] 
On Behalf Of Ryan
Sent: Thursday, October 1, 2015 10:59 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [mssms] Surface pen open OneNote desktop

Just a quick update. I got word from a Surface lead that this is Microsoft's 
official stance:

https://www.microsoft.com/surface/en-us/support/touch-mouse-and-search/surface-pen-default-onenote?os=windows-10
It seems like the only way they know how to do it is through the method I 
described earlier.
I imagine if I threw a few more hours into this I could figure it out, but the 
official statement from Microsoft is good enough for the people I'm working 
with.
Thanks for the responses!


On Thu, Sep 24, 2015 at 3:39 PM, Niall Brady 
<[email protected]<mailto:[email protected]>> wrote:
any reg keys in hkcu ?
try process monitor to see what it sticks there when the functionality is 
'enabled' via the store app

On Thu, Sep 24, 2015 at 10:33 PM, Lindenfeld, Ivan 
<[email protected]<mailto:[email protected]>> wrote:
Same result here.




From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] 
On Behalf Of Ryan
Sent: Thursday, September 24, 2015 2:17 PM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] Surface pen open OneNote desktop

Has anyone been able to automate this? I've been trying, but here are my 
results:
If the modern app is installed then the pen will always open the modern app. If 
the modern app is removed and a registry key is set at HKEY CLASSES for 
onenote-cmd, then the desktop version will open when you hit the pen, but only 
if the modern app was opened once by that user before being removed.
Am I missing something? I've spent hours on this and can't get the pen to open 
the desktop version of OneNote under any other conditions...

________________________________
NOTICE: The information contained in this message is proprietary and/or 
confidential and may be privileged. If you are not the intended recipient of 
this communication, you are hereby notified to: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately.









________________________________


Legal Notice: This email is intended only for the person(s) to whom it is 
addressed. If you are not an intended recipient and have received this message 
in error, please notify the sender immediately by replying to this email or 
calling +44(0) 2083269015<tel:%2B44%280%29%202083269015> (UK) or +1 866 592 
4214<tel:%2B1%20866%20592%204214> (USA). This email and any attachments may be 
privileged and/or confidential. The unauthorized use, disclosure, copying or 
printing of any information it contains is strictly prohibited. The opinions 
expressed in this email are those of the author and do not necessarily 
represent the views of 1E Ltd. Nothing in this email will operate to bind 1E to 
any order or other contract.




Reply via email to