RE: CryptAcquireContext() question.
From: Rhett Gong (v-raygon_at_online.microsoft.com)
Date: 12/19/03
- Next message: Pavel Lebedinsky: "Re: Detecting Process Privileges"
- Previous message: Daniel McGloin: "Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature"
- In reply to: Indraneel Sarkar: "CryptAcquireContext() question."
- Next in thread: Indraneel Sarkar: "RE: CryptAcquireContext () question."
- Reply: Indraneel Sarkar: "RE: CryptAcquireContext () question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 19 Dec 2003 01:59:26 GMT
Hi Indraneel,
The CryptAcquireContext API always fails when logged on as the Guest
account and the GetLastError shows 0x80090024 which means
NTE_TEMPORARY_PROFILE (The profile for the user is a temporary profile).
You can reference Q265357 about this and I have included an excerpt
from the article:
This error also occurs if the user is a member of the Guests or Domain
Guests group, but this is by design. Certificates and the associated
private keys are
stored in a secured location in the user's profile. If the user is a member
of the Guests or Domain Guests groups, then the system marks the profile as
temporary which means it will be deleted when the user logs off. Windows
2000 will not allow you to save a private key to a temporary profile
because it will not persist from logon session to logon session.
Here is the link for Q265357:
http://support.microsoft.com/default.aspx?kbid=265357
Rhett Gong [MS]
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.
- Next message: Pavel Lebedinsky: "Re: Detecting Process Privileges"
- Previous message: Daniel McGloin: "Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature"
- In reply to: Indraneel Sarkar: "CryptAcquireContext() question."
- Next in thread: Indraneel Sarkar: "RE: CryptAcquireContext () question."
- Reply: Indraneel Sarkar: "RE: CryptAcquireContext () question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|