I've been playing with new URL monikers in Windows for a utility I'm working on. When I run the new URL from Start > Run, it just runs. If I send the URL to myself via Notes or enter it into the IE address bar, I get a window which says:
"Do you want to allow this website to open a program on your computer?"
Program: UrlMonikerTest1
Address: urltest://ticket?param1=42¶m2=Derf
[CheckBox] Always ask before opening this type of address
[Button] Allow [Button] Cancel
Allowing web content to open a program can be useful, but it can
potentially harm your computer. Do not allow it unless you trust
the source of the content. What's the risk?
Given that the utility will only run on internal machines to which it will be deployed using SCCM and to which I can apply Group Policy, can I disable this message for this application/URL moniker alone?
The clients are currently XP. They will be Win7 at some point. We don't have to consider Vista.
This prompt can be disabled by the following registry edit:
HKCU: to affect current user only:
HKLM: to affect local machine – for 32 bit machines
HKLM: to affect entire machine – for 64-bit machines
I've no experience of this, but the thing that springs to mind is using a software packaging tool that takes a 'before' and 'after' snapshot of your system?
i.e.
If you can isolate the filesystem/registry change, you should be able to create a GPO (computer startup script or user logon script) that will apply the changes to the system/user. It might not be the cleanest solution, but it might just work.