c# - Starting WPF application with elevated privileges takes a long time as a normal user -
i have .net 4.5.2 wpf application requires administrator privileges. application has manifest file states application should run highest privileges:
<requestedexecutionlevel level="requireadministrator" uiaccess="false" />
the application works fine when start (in windows 7 (this cannot upgraded)) , uac prompt when start application.
however, application takes long time start when logged on normal user (some times 30 seconds), if user part of administrators group. when starting while logged on proper administrator user starts immediately.
i've tried starting task scheduler administrator user, gui isn't displayed. done testing purposes , not final solution.
why slow normal user, , can done fix this?
Comments
Post a Comment