fslogix bug in compiling hiding rules

Francesco Consonni 1 Reputation point
2021-01-11T09:37:12.343+00:00

I found a bug in FSLOGIX Application masking in builds 2004 and 2009
It does not happens in builds 2.9.9, 1977 and 1909HF1

Then problem happens on all OS: Windows Server 2019, 2016 and Windows 10

I created a rule set containing the following rules:

1

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings ProxyHttp1.1 0x00000222

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings ProxyOverride 0x00000222

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings ProxyServer 0x00000222

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings ProxyEnable 0x00000222

And it does not work in versions 2004 and 2009

I check with the command "frx list-rules", and discover the path was changed:

C:\Program Files\FSLogix\Apps>frx list-rules
Rules:
HKU.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyHttp1.1 -> [Hide]
HKU.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride -> [Hide]
HKU.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer -> [Hide]
HKU.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable -> [Hide]

Instead of HKCU.... the rule applied is HKU.DEFAULT...

In the files that appears in C:\Program Files\FSLogix\Apps\CompiledRules thje registry path appeard wrong....

On a test VM I try the previous versions, and the rules are correclty set:

C:\Program Files\FSLogix\Apps>frx list-rules
Rules:
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyHttp1.1 -> [Hide]
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride -> [Hide]
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer -> [Hide]
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable -> [Hide]

Can someone help?

FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
469 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Karlie Weng 15,596 Reputation points Microsoft Vendor
    2021-01-12T05:56:48.117+00:00

    Hello @Francesco Consonni

    Deploying Rule Sets
    Application Masking and Java Version Control rely on Rules and Rule Sets. By default, Rules and Rule Sets are accessed from C:\Program Files\FSLogix\Apps\Rules. The location where Rules and Rule Sets are accessed differ if the FSLogix installation location is changed.

    To deploy a rule set, use any method to copy rule files (.fxr) and assignment files (.fxa) to the rules directory.

    Note: Any rule sets copied into/updated/deleted from the Rules folder will be automatically detected by the Service (frxsvc.exe) and compiled into a special format used by the Drivers (frxdrv.sys and frxdrvvt.sys). The service will then notify the driver of a change and the driver performs a live update of your installed rule sets. The compiled rule set files are located in C:\Program Files\FSLogix\Apps\CompiledRules

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Francesco Consonni 1 Reputation point
    2021-01-12T07:32:33.027+00:00

    Thank you very much Karlie,

    I know all the details you describe, but the problem I have is completely different...

    When I put the rile files in C:\Program Files\FSLogix\Apps\Rules, and they are compiled and "converted"

    In C:\Program Files\FSLogix\Apps\CompiledRules (same as using the frx.exe list-rules) the registry path is converted from HKCU\.... to KCU\.DEFAULT\..

    This happens only on the latest builds (2004 and 2009), not with previous.

    So with the latest build is impossible to apply an hiding rule to HKCU !! (At least on single values... not tested with Keys... will try)

    Thanks

    0 comments No comments

  3. Francesco Consonni 1 Reputation point
    2021-01-12T08:58:18.06+00:00

    Same problem also with the new version 2009 HF 1

    And happens both on registry balues and registry keys


  4. Francesco Consonni 1 Reputation point
    2021-01-14T08:51:10.98+00:00

    Thanks Karlie

    I'll do... as soon as my support account wil be activated.
    I've asked for it from the Partner Portal, and will require 5 days to be activated.

    Bye

    0 comments No comments