<bdo id='MwW24'></bdo><ul id='MwW24'></ul>

    <i id='MwW24'><tr id='MwW24'><dt id='MwW24'><q id='MwW24'><span id='MwW24'><b id='MwW24'><form id='MwW24'><ins id='MwW24'></ins><ul id='MwW24'></ul><sub id='MwW24'></sub></form><legend id='MwW24'></legend><bdo id='MwW24'><pre id='MwW24'><center id='MwW24'></center></pre></bdo></b><th id='MwW24'></th></span></q></dt></tr></i><div id='MwW24'><tfoot id='MwW24'></tfoot><dl id='MwW24'><fieldset id='MwW24'></fieldset></dl></div>
  1. <small id='MwW24'></small><noframes id='MwW24'>

  2. <legend id='MwW24'><style id='MwW24'><dir id='MwW24'><q id='MwW24'></q></dir></style></legend>
    1. <tfoot id='MwW24'></tfoot>
    2. UAC 提升不允许拖放

      时间:2023-08-24

          <legend id='qlUel'><style id='qlUel'><dir id='qlUel'><q id='qlUel'></q></dir></style></legend>
        1. <small id='qlUel'></small><noframes id='qlUel'>

          <i id='qlUel'><tr id='qlUel'><dt id='qlUel'><q id='qlUel'><span id='qlUel'><b id='qlUel'><form id='qlUel'><ins id='qlUel'></ins><ul id='qlUel'></ul><sub id='qlUel'></sub></form><legend id='qlUel'></legend><bdo id='qlUel'><pre id='qlUel'><center id='qlUel'></center></pre></bdo></b><th id='qlUel'></th></span></q></dt></tr></i><div id='qlUel'><tfoot id='qlUel'></tfoot><dl id='qlUel'><fieldset id='qlUel'></fieldset></dl></div>
              <bdo id='qlUel'></bdo><ul id='qlUel'></ul>
              <tfoot id='qlUel'></tfoot>
                  <tbody id='qlUel'></tbody>
              • 本文介绍了UAC 提升不允许拖放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我有一个 .net 应用程序,由于访问了一些低级别的 win API,我需要提升管理员权限.我在设置为 requireAdministrator 的应用程序清单中使用 requestedExecutionLevel.

                I have a .net application where I need to elevate with admin rights due to accessing some low level win APIs. I am doing it using requestedExecutionLevel in application manifest set to requireAdministrator.

                应用程序还需要接收来自 Windows 资源管理器的拖放请求.我尝试在清单中将 uiAccess 设置为 true 并遵守其他要求,例如应用程序的身份验证签名、安装在受限位置(程序文件)等.应用程序运行正常,没有任何错误(在 vista,win 7 上),用户获取UAC 提示提升.

                The application also needs to receive drag and drop requests from windows explorer. I have tried setting uiAccess to true in manifest and complying with other requirements like authenticode signing of the application, installing in restricated location (program files) etc. The appliction is running properly without any error (on vista, win 7) where user gets the UAC prompt for elevation.

                但仍然无法接受拖放请求.

                But still not able to accept drag and drop requests.

                推荐答案

                在 Vista 及更高版本上,低权限进程无法拖放到高权限进程.

                Lower-privileged processes cannot drag-and-drop to higher-privileged ones on Vista and later.

                最重要的是,从 Windows 资源管理器中拖放不会如果您的应用程序被提升,则可以工作.

                The bottom line is that drag and drop from Windows Explorer will not work if your application is elevated.

                https://web.archive.org/web/20190118125513/https://blogs.msdn.microsoft.com/patricka/2010/01/28/q-why-doesnt-drag-and-drop-work-when-my-application-is-running-elevated-a-强制完整性控制和 uipi/

                这篇关于UAC 提升不允许拖放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:C# 拖放在 Windows 7 上不起作用 下一篇:将文件拖放到 WPF 中

                相关文章

                最新文章

                <i id='uRRHk'><tr id='uRRHk'><dt id='uRRHk'><q id='uRRHk'><span id='uRRHk'><b id='uRRHk'><form id='uRRHk'><ins id='uRRHk'></ins><ul id='uRRHk'></ul><sub id='uRRHk'></sub></form><legend id='uRRHk'></legend><bdo id='uRRHk'><pre id='uRRHk'><center id='uRRHk'></center></pre></bdo></b><th id='uRRHk'></th></span></q></dt></tr></i><div id='uRRHk'><tfoot id='uRRHk'></tfoot><dl id='uRRHk'><fieldset id='uRRHk'></fieldset></dl></div>
                • <bdo id='uRRHk'></bdo><ul id='uRRHk'></ul>

                <small id='uRRHk'></small><noframes id='uRRHk'>

                <legend id='uRRHk'><style id='uRRHk'><dir id='uRRHk'><q id='uRRHk'></q></dir></style></legend>

                  1. <tfoot id='uRRHk'></tfoot>