Quantcast
Channel: Windows SDK Support Team Blog
Browsing all 126 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to resolve a System.Security.Principal.IdentityNotMappedException?

The System.Security.Principal.IdenityNotMappedException seems to come up time to time and I thought I would write about what this exception means and how to resolve the issue.The first thing to...

View Article


Image may be NSFW.
Clik here to view.

How to launch a process as a different user without storing their credentials?

You may run into a situation where you need to create a token to be used at a later time since you can’t keep the credentials around in your application.  The token representing the user is going to be...

View Article


Image may be NSFW.
Clik here to view.

Unhandled System.IO.PathTooLongException when doing certifications with WACK...

 Writing to cover an issue that has been occurring in the certifications recently.   The basic issue is the certification tool will attempt to do checks on the setup packages that are compressed files...

View Article

Image may be NSFW.
Clik here to view.

RegSaveKey() is failing with error ERROR_NO_SYSTEM_RESOURCES (1450)

One of our senior emea Windows SDK Engineer, Nitin Dhawan, got an interesting issue where an application was failing to save a registry key to a file on local disk using RegSaveKey(). Investigating...

View Article

Image may be NSFW.
Clik here to view.

Encountering "The client and server cannot communicate, because they do not...

Typically when a Client and Server communicate via SSL/TLS, they must use a common cipher algorithm.  If they are unable to find a common algorithm, the SSL/TLS connection will fail with the exception,...

View Article


Image may be NSFW.
Clik here to view.

Rejoice! We can now capture loopback traffic.

Hey guys, Jeff here.I work on a lot of networking cases, and the last thing Iever want to hear is that a customer’s application is using local networktraffic - either by using the loopback address,...

View Article

Image may be NSFW.
Clik here to view.

Winsock server application not accepting new connections

Jeff here, from the Windows SDK team.Recently, I had a case involving a client server application. My customer writes software that is deployed to thousands of othercustomers and only 2 were having...

View Article

Image may be NSFW.
Clik here to view.

Windows Firewall interfaces, INetFwProducts, and InetFwProduct.

 Jeff here again. Today I have samples of the Windows Firewall interfaces, INetFwProducts, and InetFwProduct.#include "stdafx.h"#include <windows.h>#include <stdio.h>#include...

View Article


Image may be NSFW.
Clik here to view.

How to interoperate between SSPI and the .NET NegotiateStream Class

Win32 Desktop Applications can take advantage of SSPI to authenticate Windows Users.  In .NET, Windows Authentication can be done using the NegotiateStream...

View Article


Image may be NSFW.
Clik here to view.

Hotfixes for September 2014

Here are some hotfixes that were published in September 2014.2990833 Downloading stops at 99 percent in Xbox Video in Windows 8.1 and Windows Server 2012 R22990830 The Psxss.exe process stops...

View Article

Image may be NSFW.
Clik here to view.

High-resolution timestamps and hardware in Windows

 Customer frequently have questions about QueryPerformanceCounter(), how it works and what hardware timers it uses on different hardware anddifferent versions of Windows. Here is a great article on...

View Article

Image may be NSFW.
Clik here to view.

getnameinfo() WILL use NetBIOS for name resolution

Jeff here again from the Windows SDK team.A customer pointed out an inconsistency in some MSDN documentation and I wanted to mention it here while the documentation bug works its way through...

View Article

Image may be NSFW.
Clik here to view.

Job Object Insanity

Job Objects were introduced to Windows in Windows XP/Windows Server 2003 to allow an application to manage a group of processes.One of the limitations of Job Objects is that a process can only belong...

View Article


Image may be NSFW.
Clik here to view.

Windows 10 (Threshold) Changes To The Windows Command Prompt

Jeff here from the Windows SDK team.This blog isn’t network related, but something else that is close to my heart, the Windows Command Prompt. I have been using and supportingWindows NT since version...

View Article

Image may be NSFW.
Clik here to view.

Unable to do Digest Authentication on Windows 8.1

Programmatic Digest Authentication can be done using the SSPI APIs with the WDigest Package.  See the following:http://msdn.microsoft.com/en-us/library/windows/desktop/aa380500(v=vs.85).aspxOn Windows...

View Article


Image may be NSFW.
Clik here to view.

October 2014 Hotfixes

Jeff here from the Windows SDK team. This week was October 2014 patch Tuesday, here are some of the hotfixes that we published.3000435 Virtual Machine Management Service memory leak triggers Windows...

View Article

Image may be NSFW.
Clik here to view.

Disabling User Access Control (UAC) in Windows 8.X

I've recently come across several customers who were having issues with accessing a secured Windows Object as an Administrator.  They mention that this worked fine on Windows 7. Before I continue, I...

View Article


Image may be NSFW.
Clik here to view.

Debugging : The 9 Indispensable Rules for Finding Even the Most Elusive Bugs

Jeff from the SDK team here again. I debug both customer’s code and Windows on a daily basis with WinDBG and other tools. I recently cameacross a fantastic book by David J. Agans called Debugging : The...

View Article

Image may be NSFW.
Clik here to view.

The FileSystemWatcher Buffer Size

Jeff again from the Windows SDK group..NET offers something called the FileSystemWatcherthat monitors a folder for changes and updated in files.While the watcher itself is reliable, customers...

View Article

Image may be NSFW.
Clik here to view.

Programmatic Smartcard Logons in Windows

There are several ways for an application to generate a user's token via a programmatic Smartcard Logon in Windows.  The simplest way is via a call to LogonUser() which typically takes credentials via...

View Article
Browsing all 126 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>