tagged [uac]

Giving application elevated UAC

Giving application elevated UAC I have an application which needs the UAC elevation. I have the code which lets me give that but the application opens twice and that's an issue. Here's the code of For...

17 Aug at 05:42

Creating compound applications in Windows 7

Creating compound applications in Windows 7 I need to port a suite of Windows applications (running under XP with little security turned on) to Windows 7 with various levels of security, depending on ...

28 Mar at 17:50

How to use ServerManager to read IIS sites, not IIS express, from class library OR how do elevated processes handle class libraries?

How to use ServerManager to read IIS sites, not IIS express, from class library OR how do elevated processes handle class libraries? I have some utility methods that use `Microsoft.Web.Administration....

Process.Start never returns when UAC denied

Process.Start never returns when UAC denied I have an updater exe that is meant to close the primary exe, replace it with an updated exe, and then launch that updated exe. When the updater attempts to...

28 Apr at 21:3

Private key of certificate in certificate-store not readable

Private key of certificate in certificate-store not readable I think I've got the same issue [like this guy](https://stackoverflow.com/questions/1386303/installing-a-certificate-in-a-msi-custom-action...

Program Compatibility Assistant thinks my app is an installer

Program Compatibility Assistant thinks my app is an installer I have created a .NET C# WinForms application on Win 7 RTM x64, which let's say I have called DataInstaller. When I run this program outsi...

15 Feb at 04:21

Process.Start with different credentials with UAC on

Process.Start with different credentials with UAC on I am trying to start another process with Process.Start running under different credentials with the UAC turned on. I get the following error: > Sy...

25 Feb at 15:24

How to UAC elevate a COM component with .NET

How to UAC elevate a COM component with .NET I've found an [article](http://chrison.net/UACElevationInManagedCodeStartingElevatedCOMComponents.aspx) on how to elevate a COM object written in C++ by ca...

10 Feb at 07:5

How to detect file redirection to the Windows VirtualStore?

How to detect file redirection to the Windows VirtualStore? Since the release of Win Vista, Microsoft introduced file virtualization for legacy applications running as 32bit processes. Released as par...

18 Jan at 16:33

Detecting registry virtualization

Detecting registry virtualization I have a set of C# (v2) apps and I am struggling with registry virtualization in Win7 (and to a lesser extent Vista). I have a shared registry configuration area that...

Allowing connection to .NET COM server with mismatching integrity level

Allowing connection to .NET COM server with mismatching integrity level I'm having an issue with a COM based client-server setup. The COM server is written in C# (.NET 4.0) and runs as a (registered) ...

3 May at 04:50