How to take a quartz log?
Many a times I do get this questions from my varied customers and colleagues and I cannot answer them instantly or even after looking here and there for a day. So I just wanted to blog it.Please see...
View ArticleHow to get the CSP name from a certificate containing the private key?
I was testing with some code to get the CSP name from a certificate containing the private key. A sample code is shown below: // GetCSPFromCert.cpp : Defines the entry point for the console...
View ArticleConnect() fails with error 10061 (WSAECONNREFUSED) / datagram sent via...
A server application (TCP) using socket functions is waiting on NIC address to receive connection from the client.sockaddr_in service;service.sin_family = AF_INET;service.sin_addr.s_addr =...
View ArticleIphlpapi!AddIpAddress() adds the IP address but other machines can’t locate...
On Windows Server 2003, when an IP Address is added to the machine’s adapter, a gratuitous ARP packet is broadcast to the network. This indicates to other machines that there is a change in the IP...
View ArticleMicrosoft Platform Ready Test Tool & Windows Error Reporting
Hello everyone, My name is Nathan Manis. I work as part of the Microsoft Developer Support team here at Microsoft support. My team supports customers who are using the technologies and tools that are...
View ArticleHow can my application work when UAC is enabled and fail when it is disabled?
Hello Everyone, My name is Frank Kim and I work in Developer Support. My expertise is in Windows Security (Authorization + Authentication), Remote Desktop and Windows Services. For my first blog...
View ArticleAdding certificates extensions via a Certificate Services Policy Module
Hi everyone,My name is Carlos and my expertise is in Cryptography and Certificates APIs/interfaces. My blog posts will mostly relate to PKI questions or problems that I see customers encountering and...
View ArticleRunning the Microsoft Platform Ready Test Tool inside of Hyper-V image
Hi everyone,Writing today to pass along a tip on using the Microsoft Platform Ready Test Tool (v4.0). In my prior blog post, I had blogged on a common support request that we have getting for running...
View ArticleFinding Your Windows Terminal Server Virtual IP Address
My name is Jeff Lambert. I work as part of the Microsoft Developer Support team here at Microsoft support.My team supports customers who are using the technologies and tools that are part of the...
View ArticleHow to launch a process as a Full Administrator when UAC is enabled?
With the introduction of User Access Control (UAC) with Windows VISTA, the ability to launch a process as a full administrator when UAC was enabled doesn’t automatically happen anymore. Typically, you...
View ArticleHow to get a Cryptographic Public Key from a Certificate in a Windows Store...
If you're writing a Windows Store application you'll find that the WinRT runtime is missing the X509Certificate interfaces found in .NET. In many instances, you may want to encrypt or verify a...
View ArticleGetaddrinfo() returning 127.0.0.1 for the local machine
Hello everyone,Getaddrinfo()is an API that returns IP addresses for a passed in hostname. If the host hasmultiple entries the results are returned in a linked list of addresses. Thehostname can either...
View ArticleHow to launch a process interactively from a Windows Service?
Launching an interactive process from a service used to be straight forward. You could either configure your service to be interactive or you could specify “Winsta0\\Default” as the desktop (in...
View ArticleHow to create a certificate request on behalf of another user in C# on...
If you're writing an application to create a certificate request, Microsoft provides the certificate enrollment controls. On Windows XP and Windows 2003, XEnroll is the interface that's available for...
View ArticleRoll-up update KB 2775511. Report of data truncation when utilized with SMB...
Hi, Writing today to provide a support update to the community on an issue that we are seeing in developer support on an optional Windows update. Specifically, we have a report were data is being...
View ArticleHotfix for GARP packets in Windows 7 and Server 2008 R2
Jeff here again.In a previous blog post we covered GARPs, or GratuitousARPs. These are ARP packets that are broadcast by a client machine andentered in to other ARP caches (IP to MAC address mapping)...
View ArticleYou might get a high CPU usage while decrypting using RSA keys
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...
View ArticleScreen capture using Windows Media Encoder
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...
View ArticleHow to use ADSI/LDAP API’s for querying active directory using credentials...
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...
View ArticleHow to make your custom RNG (random number generator) implementation the...
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...
View Article