Using multiple monitors programmatically from an RDP Active X control.

In Windows VISTA, Span mode was introduced.  This allowed a Remote Desktop session to span across all monitors on the client as long as the monitors were arranged to form a rectangle.  In Windows 7, this functionality was improved so it didn’t have to form a rectangle. Here are some examples where you could span and…

0

DNSQuery() Sample To Loop Through Multiple IP Addresses

Jeff from the Windows SDK team here. I had a customer that wanted to just find the IP address that is registered in DNS, i.e., they wanted to get back the single public IPaddress and not any of the other multihomed IP addresses. Most APIs use the DNS Resolver Cache and return all of the…

0

Hotfix List For December 2014 [Not 2015]

Jeff here from the SDK team. Here is a list of this month’s hotfixes, the Yuletide edition. 3016375 Youget a restricted IP address after the wireless interface is re-enabled in Windows 7 or Windows Server 2008 R2 3016350 Windows Photo Viewer cannot print single pages or custom page ranges on Windows 7 SP1 or Windows Server…

0

Fix released for Microsoft Fax API on Server 2012 R2 & Windows 8.1

Hi everyone,   Writing today to pas along some news on the Fax API on Windows 8.1.   Microsoft support has been receiving some reports lately of a hanging problem in the Fax Server in Windows 8.1 and Server 2012 R2.   Specifically, the reports have been sent when developers are calling the Fax API to send a fax with a Softmodem being on…

1

How to get notified when going in and out of connected standby from a Windows Service?

Always on Connected Standby (AOAC) was introduced in Windows 8.  Here is the definition from MSDN: http://msdn.microsoft.com/en-us/library/windows/hardware/dn481238(v=vs.85).aspx “Starting with Windows 8 and Windows 8.1, connected standby is a new low-power state that features extremely low power consumption while maintaining Internet connectivity. For a PC that implements the connected standby power model, the connected standby power state serves as…

5

The mysteries of WindowsPrincipal.IsInRole

WindowsPrincipal.IsInRole method is defined as the following in MSDN (http://msdn.microsoft.com/en-us/library/system.security.principal.windowsprincipal.isinrole(v=vs.110).aspx ) “Determines whether the current principal belongs to a specified Windows user group” A WindowsPrincipal is basically a Windows Token wrapped in a .NET class.  Windows Tokens are generated when a Windows user (Local or Domain) is authenticated by Windows.  The IsInRole() method is similar to the…

0

Powering up Powershell for Remote Desktop Services

Powershell is a powerful tool that lets us perform many tasks and gather incredibly diverse sets of information.  WhenPowershell remoting became available, this made it easy to do the same things on a remote system as on the local system. For many server and workstations configurations, there is little more which one could ask of a…


Windows Hotfixes for November 2014

Jeff here from the SDK Team. Here is the list of November 2014 hotfixes, a week late. 2957486                Ls command takes a long time to list shared files in two windows on a Windows-based NFS server 3003689                Exit code improvements for Task Scheduler event log in Windows 8 and Windows Server 2012 2996928                Backup task…

0

Accessing a CNG private key from an X509Certificate2 class

Currently, The .NET Framework X509Certificate2 class does not support certificates associated with a CNG private key provider.  That is, the X509Certificate.PrivateKey property can only be associated with an RSACryptoServiceProvider, a wrapper around the CryptoAPI provider.   If you attempt to acquire the private key of a CNG provider, the result is the following exception: System.Security.Cryptography.CryptographicException:…