CryptAcquireContext generates ERROR_FILE_NOT_FOUND error

From: Alexander Cherny (black_at_gainskeeper.com)
Date: 12/21/04


Date: Tue, 21 Dec 2004 16:22:25 -0500

hi all!

i've created a com object to en/decrypt information and put it into a COM+
application. it runs perfect under the admin account (the identity tab of
the COM+ application properties). but when i try to change the identity
account to something, that does not have admin rights, it fails during
CryptAcquireContext() performing. GetLastError() returns
ERROR_FILE_NOT_FOUND.

what do i do wrong? how to make CryptoAPI work properly under non-admin
account?

thank you.

--
alex cherny 


Relevant Pages

  • Re: How good is Comodo Internet Security?
    ... Admin account + web browser + LUA token ... admin account opposed of running as iam now, which is JUST PURE admin level? ... While LUA gives added security, ... payload delivered by a buffer overrun (assuming the app was allowed to ...
    (comp.security.firewalls)
  • Re: domain admin account impersontating
    ... i guees that the bottom line is that the domain admin account can be ... with the same username and password. ... Starting with Windows XP this became less simple, ...
    (microsoft.public.windows.server.security)
  • RE: runas issue
    ... to Power Users per new company policy,so then only one local built-in admin ... user account was at one time an admin account and was changed to power user. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Virus is getting domain account listing
    ... In 2003 you can change the process ID of the admin account. ... Play with the net user command at your command prompt and see what ... dictionary attack against every single account could happen. ...
    (Focus-Microsoft)
  • Re: How to restore Admin account??
    ... Remote Operator group from Administrator User. ... SBS 2003 by default don't allow the Admin account to logon through TS? ... "Frank McCallister SBS MVP" wrote: ...
    (microsoft.public.windows.server.sbs)