Sign in
Windows SDK Support Team Blog
#define _WIN32_WINNT
May, 2010
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
Search
Tags
Access Denied
Base
certificate
Certification
CreateProcessAsUser
CreateProcessWithLogonW
Crypto
CryptographicException
integrity level
LogonUser
LogonUser()
Microsoft Platform Ready Test Tool
MPR Test Tool
Networking
performance counters
Security
Server 2012
Service
SeTcbPrivilege
setsockopt
Token
UAC
windows media
windows media encoder
WTSQueryUserToken
Monthly Archives
Archives
June 2013
(1)
May 2013
(4)
April 2013
(2)
March 2013
(2)
February 2013
(3)
January 2013
(1)
September 2012
(2)
November 2010
(3)
August 2010
(2)
May 2010
(12)
January 2010
(7)
December 2009
(2)
November 2009
(30)
October 2009
(4)
September 2009
(1)
August 2009
(1)
July 2009
(7)
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Windows SDK Support Team Blog
Dealing with Administrator and standard user’s context
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
With introduction of UAC, I often get two questions for Windows Vista and later. 1) How to launch an application in the Administrative context from an application which is running in standard user’s context? 2) How to launch application in...
Windows SDK Support Team Blog
How to make your custom RNG (random number generator) implementation the default RNG provider for the system using CNG API's
Posted
over 3 years ago
by
Prateek Kr Dubey
1
Comments
If you have implemented your random number generator make sure that you register it using BCryptRegisterProvider function. Add the algorithm name to the list of symmetric cipher algorithm class using BCryptAddContextFunction. Example: ...
Windows SDK Support Team Blog
How to use ADSI/LDAP API’s for querying active directory using credentials derived from a Smart Card
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
There are no ADSI/LDAP API’s that eventually could directly use the Smart Card Credentials. We could follow the steps below: 1. Get the user credentials by reading in the certificate from the Smart card. 2. Call LogonUser() to get the user’s...
Windows SDK Support Team Blog
Screen capture using Windows Media Encoder
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
If you have to screen capture using Windows Media Encoder please follow the steps below. Start Windows Media Encoder (WM Encoder). To download WM encoder please refers to the link http://www.microsoft.com/downloads/details.aspx?FamilyID=5691ba02...
Windows SDK Support Team Blog
You might get a high CPU usage while decrypting using RSA keys
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
You might get a high CPU usage while decrypting using RSA keys The root cause of this issue (high CPU usage while decrypting using RSA keys) is as stated in the MSDN link http://msdn.microsoft.com/en-us/magazine/cc163676.aspx . The name...
Windows SDK Support Team Blog
How to read a certificate from a Smart Card and add it to the system store
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
The basic high level steps to read a certificate from a Smart Card and add it to the system store are: 1. Establish a Smart Card context using SCardEstablishContext. 2. Display the select card dialog box. 3. Get the card type provider name. ...
Windows SDK Support Team Blog
Steps for creating a self-signed certificate with the key container created at the machine key set and private key exportable.
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
Here are the steps for creating a self-signed certificate with the key container created at the machine key set. Step 1: Get the CSP handle by creating the key container at the machine key folder. if (!CryptAcquireContext(&hCryptProv...
Windows SDK Support Team Blog
CryptAcquireCertificatePrivateKey fails with CRYPT_E_NO_KEY_PROPERTY (0x8009200B ) when trying to obtain access to a user's private key on machine's after the user changes his password.
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
You create a key container on a machine for a specific user on the user’s profile. You log off the user and login with the administrator account and forcibly change the user’s password. Next time if you log on to the machine with the...
Windows SDK Support Team Blog
Error with WMEncoderLib when trying to build a 64 bit version of your application.
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
You may get a runtime error with your 64 bit managed Windows Media Encoder application while the 32 bit application runs perfect. This happens basically when your application tries to encode or more specifically transcode certain files that usually...
Windows SDK Support Team Blog
How to update security bulletin MS10-013 on a Windows Server 2000 box?
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
While updating your Windows 2000 box with latest security fixes you may get a situation where you may be stuck with the security fix MS10-013 asking you to update the latest DirectX. Basically this happens when you are doing a system update with the...
Windows SDK Support Team Blog
Understanding of SignedCms.CheckSignature(True)
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
An understanding of SignedCms.CheckSignature(True) based on the code stated below. ' Create a ContentInfo object from the inner content obtained ' independently from encodedMessage. Dim contentInfo As New ContentInfo(innerContent...
Windows SDK Support Team Blog
Behaviour of AesCryptoServiceProvider class with FIPS policy set/ unset
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
You may want to use a Crypto API for Advanced Encryption Standard that is FIPS 140-2 complaint. While doing this using managed code you can come across the AesCryptoServiceProvider class that is FIPS complaint. I want to highlight some points before...
Page 1 of 1 (12 items)