Summary
You want to know how the required metro app hash values are computed using roll your own mechanism through rule creation.
Details
Adding the %install_path%\AppxManifest.xml file in Create Rule will generate the metro app hash list into an xml file.
Note: In this scenario, the created rule is for blocking an application.
- Go to Management > Rule | Create to create a new rule.
-
Tick Block as the type of rule.
-
In the Name field, enter unique name.For example, Block metro apps.
-
On the Method drop-down menu, select File signatures (SHA-1).
-
Click the Browse button.Open the Metro App folder then select the relevant application folder.Note: The default path of the Metro App folder is %PROGRAMFILES\WindowsApps\* . Make sure the administrator has the privileges to access the WindowsApps folder.In the relevant application folder:
- If %install_path%\AppxManifest.xml file exists, choose this file.
- If the xml file in step 1 does not exist then choose %install_path%\AppxBundleManifest.xml .
-
Click Add. The required metro app hashes are then generated into an xml file.
- Click Save to finish the rule creation.
After the rule has been created, the rule can be added to another policy as default.