Sebastian Lackner sebastian@fds-team.de writes:
The MachineGuid registry key should exist even without calling CryptAcquireContextW. Optionally we could remove the remove the corresponding code from advapi32 afterwards.
This doesn't need to run at every boot, so you can probably stick it into the registration of some crypto dll like wintrust. And please also remove the advapi32 code.