开发者

Do I have to explicitly support the Wow6432Node in ADMX-files?

开发者 https://www.devze.com 2023-02-20 14:33 出处:网络
We\'re providing an ADMX-file with our (32bit) application so it can be centrally configured via group polici开发者_开发百科es. Do I have to explicitly provide policies for the Wow6432Node registry ke

We're providing an ADMX-file with our (32bit) application so it can be centrally configured via group polici开发者_开发百科es. Do I have to explicitly provide policies for the Wow6432Node registry keys in case the app is installed on a 64bit client OS or does the policy system handle this itself?

The ADMX-file currently provides both Preferences (i.e. values under [HKLM/HKCU]\Software\Company\Product) and "fully-managed" Policies (i.e. for [HKLM/HKCU]\Software\Policies\Company\Product).


For policies the answer is no (i.e. no Wow6432 node).
For preferences the answer is - "it depends".

I will explain the difference. Some keys in registry are redirected into Wow6432 node for 32-bit applications, some others are not. The MSDN page lists shared and redirected keys. [HKLM/HKCU]\Software\Policies key (and everything underneath) is expluded from redirection, it is the same for both 64 and 32 bit processes. This means that for policies you only need to provide one key.

Unlike Software\Policies key, Software\ is redirected. The keys you need would depend on bitness of your product. If you only install 64 bit version of your app on 64 bit OS, you can configure one, if you support 32 bit app running on 64 bit OS, you need two.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号