September, 2006

  • Vista Compatibility Team Blog

    CoCreateInstanceAsAdmin or CreateElevatedComObject sample

    • 13 Comments
    The COM elevation moniker is one of the three recommended ways to have a user application do tasks that require admin privileges. The UAC document from September 2006 refers to it as the Admin COM Object model under the section “Key Decisions for Designing...
  • Vista Compatibility Team Blog

    Elevate through ShellExecute

    • 11 Comments
    We often get the question how to elevate a process through ShellExecute. From the docs it is not immediately clear. The trick is passing in "runas" in the lpVerb. Here is a snippet to run notepad elevated. #include "stdafx.h" #include "windows.h...
  • Vista Compatibility Team Blog

    UAC and Remote logon

    • 5 Comments
    Just noticed that there is a solid document on UAC here: http://download.microsoft.com/download/5/6/a/56a0ed11-e073-42f9-932b-38acd478f46d/WindowsVistaUACDevReqs.doc It mentions the following: " When a user with an administrator...
  • Vista Compatibility Team Blog

    MIC and saving files

    • 0 Comments
    UAC has something called Mandatory Integrity Control or MIC. It is a security enhancement that is orthogonal to the existing Windows security model. Let me explain. The traditional security model was based on a token of a process. If a process was running...
  • Vista Compatibility Team Blog

    000006c6 in NdrClientCall2

    • 0 Comments
    Security got a lot of attention in Vista. UAC, LoRIE, Session 0 isolation are all prime examples. There are other areas that don’t get as much attention, but the OS implementation has changed and things that used to work in XP days, all of a sudden break...
  • Vista Compatibility Team Blog

    Access Violation in SHGetDesktopFolder

    • 1 Comments
    We found an interesting issue the other day when a call to SHGetFileInfo crashed with an Access Violation. Entry in the c all stack contained the following like this: Access violation - code c0000005 . .. shell32!SHGetDesktopFolder+0xa0 ... shell32...
  • Vista Compatibility Team Blog

    Introduction

    • 0 Comments
    This blog is maintained by a group of consultants from the Microsoft's US Enterprise Services - ISV Practice. We are working with ISVs to make sure that their applications are running well on Windows Vista. This keeps us fairly busy, predominantly because...
Page 1 of 1 (7 items)