The Curious Engineer

All blogs / Windows internals

Windows SDK Support Team Blog

learn.microsoft.com/en-us/archive/blogs/winsdk

#define _WIN32_WINNT

Windows internalsSecurityC# / .NETMicrosoft blogsMSDN archive

’10’15’20’25
Posts
162 from 10 Jul 2009 to 24 Aug 2017
Posting
archived, read-only
Kind
company blog
Feed
https://learn.microsoft.com/en-us/archive/blogs/winsdk/feed.xml

2017 2

  1. OpenService() fails on a service marked for deletion on Windows 10, Version 1703 (OS build 15063)
  2. Leveraging Exploit Guard in Windows Insider Build to Easily Audit Your Code

2016 6

  1. Why can't I restore files even when I have backup/restore privileges enabled?
  2. Visual Studio Team Services and Personal Microsoft Accounts
  3. Why does SqlDataReader behave differently with Set-PSDebug enabled?
  4. Hotfix List for February 2016
  5. Hotfix for January 2016
  6. Why CryptCATAdminCalcHashFromFileHandle fails with a seemingly unexpected error code

2015 34

  1. Hotfixes for December 2015
  2. SHA-1 Code Signing Deprecation in Windows beginning January 1, 2016
  3. Using SHA256 with the SignedXml Class
  4. Hotfixes for November 2015
  5. Windows Hotfixes for October 2015
  6. Virtual Desktop Switching in Windows 10
  7. Windows Hotfix List for September 2015
  8. Logon as a user without a password
  9. LogonUser + LOGON32_LOGON_NEW_CREDENTIALS, What is this flag used for?
  10. .NET Hotfix Rollup for August 2015
  11. Windows August 2015 Hotfix List
  12. Hotfixes and Patches for Windows for July 2015
  13. .NET Hotfix Rollups for June
  14. The Real Hotfix List of June 2015
  15. FileSystemWatcher Fencing(Part 1)
  16. What is up with "The application failed to initialize properly (0xc0000142)" error?
  17. Winsock’s Listen() Backlog Offers More Flexibility In Windows 8+
  18. Printing successfully using impersonation from a 32-bit application on a 64-bit system
  19. FileSystemWatcher Follies
  20. How to obtain the list of visible columns in a shell view
  21. Hotfix Releases for Windows: May 2015
  22. Windows Hotfix List for April 2015
  23. Troubleshooting "Access Denied" errors
  24. How to register for File Dialog notifications from Shell namespace extension
  25. Accidental Denial of Service through Inefficient Program Design Part 2 – Incorrectly Implementing Interfaces
  26. Hotfix Releases for Windows: March 2015
  27. An OPAQUEKEYBLOB exported via CryptExportKey on Windows 7 is incompatible with Windows 8.1
  28. Accidental Denial of Service through Inefficient Program Design Part 1 – Watching WMI Events for Object Creation (e.g. Win32_Process)
  29. Hotfixes for February 2015
  30. Reducing the time to perform a CRL check on isolated networks
  31. C# and Fastcall - How to make them work together without C++/CLI (Shellcode!)
  32. Hotfix List for January 2015 [Short]
  33. WLAN Programming How-To Tips and Tricks Including Using It in C#
  34. RDP and CredMan

2014 26

  1. Using multiple monitors programmatically from an RDP Active X control.
  2. DNSQuery() Sample To Loop Through Multiple IP Addresses
  3. Example impact of Microsoft Accounts on Windows APIs in Windows 8/8.1
  4. Hotfix List For December 2014 [Not 2015]
  5. How to get notified when going in and out of connected standby from a Windows Service?
  6. The mysteries of WindowsPrincipal.IsInRole
  7. Powering up Powershell for Remote Desktop Services
  8. Accessing a CNG private key from an X509Certificate2 class
  9. Forcing Printer Handle Thread Safety
  10. How to Create and Use Anonymous Pipes in .NET
  11. Debugging the PowerShell Debugger
  12. The FileSystemWatcher Buffer Size
  13. Disabling User Access Control (UAC) in Windows 8.X
  14. October 2014 Hotfixes
  15. Programmatic Smartcard Logons in Windows
  16. Unable to do Digest Authentication on Windows 8.1
  17. Job Object Insanity
  18. getnameinfo() WILL use NetBIOS for name resolution
  19. High-resolution timestamps and hardware in Windows
  20. Hotfixes for September 2014
  21. How to interoperate between SSPI and the .NET NegotiateStream Class
  22. Winsock server application not accepting new connections
  23. Rejoice! We can now capture loopback traffic.
  24. Encountering "The client and server cannot communicate, because they do not possess a common algorithm" or SEC_E_ALGORITHM_MISMATCH (0x80090331)
  25. RegSaveKey() is failing with error ERROR_NO_SYSTEM_RESOURCES (1450)
  26. Unhandled System.IO.PathTooLongException when doing certifications with WACK 3.1 tool

2013 25

  1. How to launch a process as a different user without storing their credentials?
  2. How to resolve a System.Security.Principal.IdentityNotMappedException?
  3. Getting Linger to RST a connection in .NET
  4. RunAs Verb (Process.Start) doesn't work from a LocalSystem .NET Service
  5. Poor Network Performance with the CPU Stuck in WfpAleFastUdplnspection()
  6. GetShortPathName() doesn’t return short path name
  7. UDP - Closesocket() takes upto 5 seconds to return in disconnect/remote host down scenario due to pending data to send
  8. Windows Firewall interfaces, INetFwProducts, and InetFwProduct.
  9. Why am I receiving the Error Code 740 - “The requested operation requires elevation” when launching/starting an Application
  10. Get a kernel dump of a 2012 R2 Hyper-V server with Powershell
  11. Using WinVerifyTrust API to verify the embedded signature of a file or fall back to catalog signature verification
  12. How to programmatically create a LogonService or Network Service token with LogonUser?
  13. Launching a process as a normal user from an elevated user.
  14. Hotfix for GARP packets in Windows 7 and Server 2008 R2
  15. Roll-up update KB 2775511. Report of data truncation when utilized with SMB 2.0 connections for multiple data read and writes to network share (New update has released KB 2732673)
  16. How to create a certificate request on behalf of another user in C# on Windows 2003
  17. How to launch a process interactively from a Windows Service?
  18. Getaddrinfo() returning 127.0.0.1 for the local machine
  19. How to get a Cryptographic Public Key from a Certificate in a Windows Store application
  20. How to launch a process as a Full Administrator when UAC is enabled?
  21. Finding Your Windows Terminal Server Virtual IP Address
  22. Running the Microsoft Platform Ready Test Tool inside of Hyper-V image
  23. Adding certificates extensions via a Certificate Services Policy Module
  24. How can my application work when UAC is enabled and fail when it is disabled?
  25. Microsoft Platform Ready Test Tool & Windows Error Reporting

2012 2

  1. Iphlpapi!AddIpAddress() adds the IP address but other machines can’t locate this machine (Windows Server 2008)
  2. Connect() fails with error 10061 (WSAECONNREFUSED) / datagram sent via sendto() lost / loopback address

2010 23

  1. How to get the CSP name from a certificate containing the private key?
  2. How to take a quartz log?
  3. Getting a “System.ArgumentException: Value was invalid” when trying to sign data using SHA256CryptoServiceProvider Here is the symptom:
  4. Getting a “System.ArgumentException: Value was invalid” when trying to sign data using SHA256CryptoServiceProvider
  5. Compliance of .Net security libraries about verifying a CMS Advanced Electronic Signatures (CAdES) message
  6. Dealing with Administrator and standard user’s context
  7. How to make your custom RNG (random number generator) implementation the default RNG provider for the system using CNG API's
  8. How to use ADSI/LDAP API’s for querying active directory using credentials derived from a Smart Card
  9. Screen capture using Windows Media Encoder
  10. You might get a high CPU usage while decrypting using RSA keys
  11. How to read a certificate from a Smart Card and add it to the system store
  12. Steps for creating a self-signed certificate with the key container created at the machine key set and private key exportable.
  13. 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.
  14. Error with WMEncoderLib when trying to build a 64 bit version of your application.
  15. How to update security bulletin MS10-013 on a Windows Server 2000 box?
  16. Understanding of SignedCms.CheckSignature(True)
  17. Behaviour of AesCryptoServiceProvider class with FIPS policy set/ unset
  18. Passing the flag CERT_CLOSE_STORE_FORCE_FLAG to CertCloseStore may cause your application to crash.
  19. VB.NET code to find a certificate with its issuer name and display its contents – small post but helpful
  20. 'System.Security.Cryptography.CryptographicException - The index value is not valid'
  21. You may get a service timeout from a signed .NET/ managed service application while the system is doing a revocation check of the certificate over the internet.
  22. What should you do if you find that DecryptMessage (Schannel) function returns SEC_E_INVALID_TOKEN; which means the buffers are of wrong type or no buffer of type SECBUFFER_DATA was found.
  23. While creating cryptographic keys or key containers repeatedly, your hard disk may get filled with lots of files and may end up filling the whole hard disk space, if not deleted.

2009 44

  1. I lost the “Security” tab of offline files synced by Sync Centre !!
  2. ExpandEnvironmentStringsForUser() API does NOT expand the environment variable %USERNAME% on Windows 7.
  3. How to disable Address Space Layout Randomization (ASLR) ?
  4. GetIPForwardTable return’s undocumented error ERROR_MORE_DATA
  5. ARP Changes in Server 2008/Vista:
  6. Web Service can’t start the Windows Service
  7. Web application gets Access Denied accessing a Named Pipe.
  8. Where are my performance counters ?
  9. Send multiple files to FAX in one call
  10. When custom EAP authentication dll calls EapPeerInvokeInteractiveUI for wireless LAN 802.1x
  11. Introduction to IMAPI
  12. UAC dialog on Process.Start()
  13. Opps!!! System.Security.Cryptography.CryptographicException: The system cannot find the file specified.
  14. Do you need to explicitly call CryptoStream.Close() to close your CryptoStream object after you are done using it?
  15. Steps to sign a file using Signtool.exe
  16. How to create different Firewall Rules on different Interfaces in Windows XP OS Programmatically?
  17. Correct way to join a Multicast Group on a specified interface.
  18. Bluetooth Manager does not recognizes the devices, if the device gets paired with another box and comes back later.
  19. Access denied on a Mutex
  20. How to programmatically inject a list of IP Addresses into the IP Options header in the IP Datagram [ Source Routing ]?
  21. Only one CPU being utilized
  22. String Table in the Resource File [RC File] generated by CTRPP tool has junk characters for Unicode strings defined in the performance counter manifest XML file.
  23. WriteFile API succeeds and returns TRUE, but data is not written to the SAN Drive.
  24. WMCreateStreamForURL is called in XP and Vista but not in Windows 7
  25. Is RijndaelManaged class FIPS compliant?
  26. Why is WlanGetProfile API returning encrypted keyMaterial with XML profile on Windows XP SP3?
  27. Why does regedit.exe (or any other Microsoft program) crash when I try to create a remote thread into it using the CreateRemoteThread() API?
  28. Why does the TCP three way handshake never tag with DSCP value on Windows XP and Server 2003?
  29. What is the recommended way to set the resolution of a webcam using DirectShow?
  30. Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete?
  31. How to check SLP 1.0 values from the BIOS using Win32 API?
  32. You may get a crash in Windows Media Player if you register and select a plug-in implemented in a multi-threading context and if you have not marshalled the pointers correctly.
  33. Get the MAC address of a machine/device whose IP Address is known
  34. Enable or Disable “Enable write caching on disk” behavior on disk
  35. Check membership of a group from user’s process access token
  36. Where is my WM_DEVICECHANGE in Windows Vista?
  37. .NET CLR performance counters: 64 bit managed application .NTE CLR performance data is not available for 32 bit application.
  38. Expecting IGMPv3 packets to go out of the machine, but IGMPv2 packets are going out, What is the problem?
  39. How to Enable/Disable IPV6 Programmatically in Windows Vista?
  40. SetWindowHookEx API with WH_JOURNALRECORD. This API fails with access denied (Error 5).
  41. RDC and Custom Credential Providers
  42. Launching an interactive process from Windows Service in Windows Vista and later
  43. Mapped drives can't be created after Microsoft Security Update from code running under Network Service account
  44. File.Exists /_access / GetFileAttributes / FindFirstFile,FindNextFile / _stat behavior over SMB 2.0