Quantcast
Browsing all 27 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Launching an interactive process from Windows Service in Windows Vista and later

The first thing you should do about it is that, don't do it. There are many limitations, bad implications and restrictions involved into it. In case, you are in a state that you cannot avoid launching...

View Article


Image may be NSFW.
Clik here to view.

RDC and Custom Credential Providers

RDC and Custom Credential Providers  Issue:  When you have your own custom credential provider (CP) for multifactor authentication (such as Biometric, password, Smartcard). You do remote desktop...

View Article


Image may be NSFW.
Clik here to view.

SetWindowHookEx API with WH_JOURNALRECORD. This API fails with access denied...

A while ago I came across a problem in which  SetWindowHookEx API with WH_JOURNALRECORD was failing with Access denied on Windows Vista. If you have the same problem you can do what I tried.1)...

View Article

Image may be NSFW.
Clik here to view.

Check membership of a group from user’s process access token

Question may be, I need to check If the user belong to a particular group or not? There are NetUser* APIs available in NetApi32.lib to list the groups a user belong to a group. You can actually check...

View Article

Image may be NSFW.
Clik here to view.

Why does regedit.exe (or any other Microsoft program) crash when I try to...

Question:On Windows XP, I am starting regedit.exe in suspended mode and forcing it to call the LoadLibrary() API to load an external DLL by using the CreateRemoteThread() API.  After loading the DLL,...

View Article


Image may be NSFW.
Clik here to view.

Steps to sign a file using Signtool.exe

You may have a situation where you need to sign a file which may be ana. .exe b. .cabc. .catd. .ocxe. .dllf. .stlUsing the CryptoAPI “signtool.exe”, the files can be digitally signed. Digitally signing...

View Article

Image may be NSFW.
Clik here to view.

Opps!!! System.Security.Cryptography.CryptographicException: The system...

If you are creating the cryptographic keys on the user's profile directory you may get a cryptographic exception saying: "CryptographicException: The system cannot find the file specified".The stack...

View Article

Image may be NSFW.
Clik here to view.

Web Service can’t start the Windows Service

Working with Windows Service and Web Service together is nothing less than fun, especially when you are not an ASP.NET expert. Like many native developers I have my own challenges with words like...

View Article


Image may be NSFW.
Clik here to view.

I lost the “Security” tab of offline files synced by Sync Centre !!

In Windows Vista and later there is a cool feature of making network shared files available offline and maintaining the synchronization through a newly added component called Sync Centre.  You may find...

View Article


Image may be NSFW.
Clik here to view.

Dealing with Administrator and standard user’s context

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...

View Article

Image may be NSFW.
Clik here to view.

Don't forget Integrity Levels when troubleshooting "Access Denied" errors

Anyone who has used Windows has encountered the dreaded "Access Denied" error.  (AKA error code 5 or 0x5). This error typically implies you can't do something like open or save a file.  The error...

View Article

Image may be NSFW.
Clik here to view.

Windows Hotfixes for October 2015

Jeff here from the Windows SDK team. Here is the list of October 2015 Hotfixes [Drum roll, please...]KB3030736   "550 The process cannot access the file" error when you try to download a file in...

View Article

Virtual Desktop Switching in Windows 10

  Windows 10 introduces a new concept (for Windows anyway) called Virtual Desktops.  Currently, the guidance for this on MSDN states: The user can group a collection of windows together to create a...

View Article


FileSystemWatcher Fencing(Part 2)

 This post is a follow up to the FileSystemWatcher Follies post.  I received a lot of feedback that it would be useful to highlight what would be appropriate to guide against some of the pitfalls that...

View Article

Windows Hotfixes for October 2015

Jeff here from the Windows SDK team. Here is the list of October 2015 Hotfixes [Drum roll, please…] KB3030736   “550 The process cannot access the file” error when you try to download a file in Windows...

View Article


Hotfixes for November 2015

Jeff here from the SDK team. Here are the hotfixes for November 2015. KB3040017   XPS driver is slower than GDI driver to print files in Windows KB3063109   Virtual machine crashes and WAL consistency...

View Article

Using SHA256 with the SignedXml Class

With the industry moving away from SHA1 including Microsoft (see...

View Article


SHA-1 Code Signing Deprecation in Windows beginning January 1, 2016

This post is to help the product team spread the word on Windows (version 7 and higher) and Windows Server will no longer trust any code that is signed with a SHA-1 code signing certificate and that...

View Article

Hotfixes for December 2015

Jeff here, from the SDK team with the Holiday Hotfixes. Happy patching. KB2920591   High CPU usage and performance issues occur when access-based enumeration is enabled in Windows 7 Service Pack 1 or...

View Article

Why CryptCATAdminCalcHashFromFileHandle fails with a seemingly unexpected...

CryptCATAdminCalcHashFromFileHandle can fail when evaluating a file path to an executable while setting the last error code to 0x800700c1.  It’s an HRESULT instead of just an error code, but the...

View Article
Browsing all 27 articles
Browse latest View live


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