Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

[BUG] Shims that require admin may fail on UAC enforced machines (System.ComponentModel.Win32Exception: The requested operation requires elevation) #505

Closed
ferventcoder opened this issue Jul 5, 2014 · 1 comment

Comments

@ferventcoder
Copy link
Contributor

Unhandled Exception: System.ComponentModel.Win32Exception: The requested operation requires elevation at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

shimgen-error

Thread where this was reported: https://groups.google.com/d/msgid/chocolatey/aa57de6a-348d-478d-b1da-819a6622d9ed%40googlegroups.com?utm_medium=email&utm_source=footer

@ferventcoder ferventcoder changed the title [BUG] Shims require admin and fail on UAC enforced machines [BUG] Shims require admin and fail on UAC enforced machines (System.ComponentModel.Win32Exception: The requested operation requires elevation) Jul 5, 2014
@ferventcoder
Copy link
Contributor Author

I think this might have to do with something similar to #454

@ferventcoder ferventcoder changed the title [BUG] Shims require admin and fail on UAC enforced machines (System.ComponentModel.Win32Exception: The requested operation requires elevation) [BUG] Shims that require admin may fail on UAC enforced machines (System.ComponentModel.Win32Exception: The requested operation requires elevation) Jul 7, 2014
ferventcoder added a commit that referenced this issue Jul 7, 2014
 - This updates shimgen to the latest version which includes fixes for
   processes that require elevation and shimgen not properly calling those
   processes.
ferventcoder added a commit that referenced this issue Jul 7, 2014
 - If the user cancels elevation, do not error all over the place, just
   silently handle it
ferventcoder added a commit that referenced this issue Jul 7, 2014
 - This update of shimgen doesn't minimize the window when elevation is used.
ferventcoder added a commit that referenced this issue Jul 7, 2014
* stable:
  (GH-505) if using elevation, don't minimize the window
  (GH-505) handle user canceled elevation
  v0.9.8.25
  (doc) update changelog/nuspec
  (GH-505) Fix elevation required causes bug
  (doc) update proprietary license for shimgen.exe
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant