Change Network Provider Order?


How do I approach a change in network provider order?
Citrix XenApp 11 will add it self to the Reg_SZ HKEY_local_machine\system\currentcontrolset\control\networkproviders\order\Providerorder
It need to become the first in order to work properly with pass-through autentication.
Since the provider order can be unique for every machine I need some sort of dynamic fix for it to always be the first. Is there someone that can point me in the right direction? [:)]

Thank you.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 15 years ago
Red Belt
I think it would be pretty straightforward. The registry value is a simple comma-delimited list so you should be able to reconstruct the list with the new provider at the beginning. I don't think the main protagonist's tools handle that natively so I think you'd need a scripted Custom Action.
Posted by: Jamie B 15 years ago
Orange Senior Belt
Easily achieveable via vbscript.

This should get you going:


Change "LanmanWorkstation" in the vbs example with the name of your desired provider.

Remember to drop any Wscript. references from the example if running from a custom action!
Posted by: JonnyO 15 years ago
Senior Yellow Belt
Thanks VBScab and Jamei B!

I will do a CA that calls the script
I'll let you know how it works! :-)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ