[SCHEDULER-1630]  Provide "As Administrator" Protection
Type Enhancement
Priority Low
Severity Trivial
Component Dispatch Scheduler Engine
Fixed In Version [8.28.2
Versions Affected [8.18.1
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 9/11/2018

Description
Detect if launched elevated (as Administrator). SHow a rude popup then exit. Don't allow starting like this.

Comments
9/11/2018 8:12:35 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 713
Affected files /trunk/Scheduler/Scheduler.csproj (Modified)
Check-in comment Oops the .csproj changed for inclusion of the new UacHelper class. GEM:1630
9/11/2018 3:09:40 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 709
Affected files /trunk/Scheduler/Engine.cs (Modified)
/trunk/Scheduler/MainForm.cs (Modified)
/trunk/Scheduler/UacHelper.cs (Added)
Check-in comment The previous method didn't work. It only detected running under the administrator account. Needed more work and Win32 calls. New class UacHelper. GEM:1630
9/11/2018 2:13:18 PM   Bob Denny
Oops, the WindowsIdentity solution fails. Always "as admin".
9/11/2018 1:01:26 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 708
Affected files /trunk/Scheduler/MainForm.cs (Modified)
Check-in comment Detect if launched elevated (as Administrator). SHow a rude popup then exit. Don't allow starting like this. GEM:1630