IPSecurity Services component in XP Embedded and Windows Embedded Standard 2009 is normally only configured dynamically in certain scenarios involving Domain Participation and Active Directory. In some instances it has been reported that when IPSECCMD SHOW GPO is used, the following error results: “error 2 The system cannot find file specified.” The problem is due to following registry key being present in XPE IP Security Services component:"SOFTWARE\\Policies\\Microsoft\\Windows\\IPSEC\\GPTIPSECPolicy", but with no values associated with it. An example of how this key’s values’re normally populated with sample values is:
"DSIPSECPolicyName"="SecNet Simple Default Policy (1.05.070444)"
"DSIPSECPolicyDescription"="SecNet Simple Default Policy (1.05.070444)"
This key isn’t automatically present on an XP Pro desktop system so it can be inferred that it isn’t necessary to have this key be present on an XPe or Std09 system. Therefore, the issue can be fixed by either: Populating it with appropriate value keys for the environment the runtime is deployed in, or Deleting the GPTIPSECPolicy key.