[wix-users] failing to elevate privileges on Win 10 - WiX 3.9r2

John Cooper JoCooper at jackhenry.com
Wed Oct 5 10:55:07 PDT 2016


https://social.technet.microsoft.com/Forums/office/en-US/c5495f5a-d70e-4ce9-84ed-3bcbfaf65aa0/uac-file-virtualization-service-failed-to-start?forum=winserver8gen 

There are two Microsoft support configurations.

1) UAC and File Virtualization enabled;
2) UAC and File Virtualization disabled;

Unfortunately, it is common to see UAC disabled and File Virtualization enabled.  And I've even seen UAC enabled and File Virtualization disabled.

If File Virtualization is not able to start, there will be logging in the Event Viewer.  Of course, it's even easier just to check the registry entry as above.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050
JoCooper at jackhenry.com





-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of David Burson
Sent: Wednesday, October 5, 2016 12:49 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] failing to elevate privileges on Win 10 - WiX 3.9r2

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

How should he check for whether FileVirtualization is disabled?

On Wed, Oct 5, 2016 at 1:28 PM, John Cooper <JoCooper at jackhenry.com> wrote:

> Is FileVirtualization disabled?  I've seen some crazy configs where 
> UAC is on but FileVirtualization is disabled.
>
> --
> John Merryweather Cooper
> Senior Software Engineer -- Integration Development Group -- 
> Enterprise Notification Service Jack Henry & Associates, Inc.® | 
> Lenexa, KS  66214 | Office:
> 913-341-3434x431050
> JoCooper at jackhenry.com
>
>
>
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> Behalf Of Hoover, Jacob
> Sent: Wednesday, October 5, 2016 11:21 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] failing to elevate privileges on Win 10 - WiX
> 3.9r2
>
> The e-mail below is from an external source.  Please do not open 
> attachments or click links from an unknown or suspicious origin.
>
> winerror.h 0x80070020
> #define ERROR_SHARING_VIOLATION
> The process cannot access the file because it is being used by another 
> process.
>
> Kind of sounds like the attempt to create an elevated process failed 
> due to some crazy anti-virus software.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> Behalf Of David Burson
> Sent: Wednesday, October 05, 2016 11:17 AM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] failing to elevate privileges on Win 10 - WiX 
> 3.9r2
>
> Hi,
>
> I have a colleague running Windows 10, testing my application.  When 
> he tries to install my application he does NOT get a UAC prompt, the 
> installer fails, and the log file includes this:
>
> [190C:5294][2016-09-28T17:43:56]e000: Error 0x80070020: Failed to 
> launch elevated child process:
> C:\Users\Dan\AppData\Local\Temp\{91da9c8a-d362-4609-be08-
> 5f648f4ee8fe}\.be\MapCreatorSetup-x64-1.5.0.exe
>
> [190C:5294][2016-09-28T17:43:56]e000: Error 0x80070020: Failed to elevate.
>
> [190C:5294][2016-09-28T17:43:56]e000: Error 0x80070020: Failed to 
> actually elevate.
>
> [190C:5294][2016-09-28T17:43:56]e000: Error 0x80070020: Failed to elevate.
>
> If he right-clicks the installer and selects Run as Administrator, he 
> gets the UAC dialog, clicks Yes, but does not have to enter his 
> password.  Then my installer works.
>
> His experience is identical whether he tries to install with his admin 
> user or his non-admin user.
>
> His UAC Settings are set at the default, second from the top (“Notify 
> me only when apps try to make changes to my computer (default)”).
>
> I’ve tested on 3 other Win 10 machines and cannot duplicate the 
> problem - my installer works as expected.  Any idea what could be 
> causing the problem on this one Windows 10 machine?  My fear, of 
> course, is that when I release my app lots of other people will have this problem.
>
> Thanks,
>
> David
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
> NOTICE: This electronic mail message and any files transmitted with it 
> are intended exclusively for the individual or entity to which it is 
> addressed. The message, together with any attachment, may contain 
> confidential and/or privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or 
> distribution is strictly prohibited. If you have received this message 
> in error, please immediately advise the sender by reply email and 
> delete all copies.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


More information about the wix-users mailing list