Hash algorithm id for Microsoft's software restriction policy

By Perry

This shows how can you generate the hash algorithm ids for the applications to be blocked using hash rules of Microsoft's software restriction policy.

If you want to block certain applications in your domain using hash rules of Microsoft's software restriction policy, you need to provide hash rule three values - file hash, file length in bytes and hash algorithm id.  Getting MD5 sum of application is easy and corrsponding hash algorithm used, you have particular ID defined at http://technet.microsoft.com/en-us/library/dd759129.aspx . For example, If you used MD5, the hash algorithm ID will be  32771 and so on.

Related FAQs

This is very useful feature as on Windows 7, it returns IPV4 and IPV6 address combine so you cannot use direct Dns.GetHostEntry(string.Empty).AddressList[0] method to get the IP address of specified machine.
This shows how I got rid of authentication prompt while opening Excel or Word files on Windows 7. This was happening when I open Office files placed on my network location from IE8 or Firefox. Putting corresponding sweblink in trusted site doesn't worked.
There is the difference in getting current logged on user on Windows Xp and Windows 7. This gives the method which works from current user context and doesn't need administrator privileges to get the current logged on user.
This shows the step to get rid of given warning message.
See http://www.eggheadcafe.com/sample-code/Windows7/e53b9d81-c025-4e41-a45c-f22214221c53/windows-7-uac-user-accou.aspx for UAC concept details. This shows how to disable it.
Hash algorithm id for Microsoft's software restriction policy  (1671 Views)