CreateProcess error = 740,请求的操作需要提升 [英] CreateProcess error=740, The requested operation requires elevation

查看:3237
本文介绍了CreateProcess error = 740,请求的操作需要提升的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个定期更新的网络小程序,我最终决定制作更新程序。但是当我在java中下载更新时,它下载得很好。但是,当我尝试使用 Runtime.getRuntime()。exec(pathToFile); 解压缩+运行更新时,我得到 CreateProcess error = 740,The请求的操作需要提升

I have a web applet that I update regularly and I finally decided to make an updater. However when I download an update in java it downloads fine. However when I try to unpack + run the update by using Runtime.getRuntime().exec(pathToFile); I get CreateProcess error=740, The requested operation requires elevation

如果程序是Web applet,我该如何解决这个问题?我不能告诉他们将浏览器作为管理员运行。我怎么能解决这个问题?

How can I fix this if the program is a web applet? I can't just tell them to run their browsers as administrators. How can i fix this?

推荐答案

我的一个朋友在一个月前遇到了同样的问题(他正在展开一个通过.exe文件更新),我记得这个链接对他有很大帮助: http://mark.koli.ch/2009/12/uac-prompt-from-java-createprocess-error740-the-requested-operation-requires -elevation.html

One of my friends was having this exact same problem about a month ago (he was unrolling an update via a .exe file), and I remember that this link helped him tremendously: http://mark.koli.ch/2009/12/uac-prompt-from-java-createprocess-error740-the-requested-operation-requires-elevation.html

我会在你的问题下做一个评论(似乎不值得直接回答/解决方案),但我没有足够的代表尚未发表评论。 :-P

I would make this simply a comment under your question (doesn't seem worthy of a straight up answer/solution), but I don't have enough rep yet to comment. :-P

这篇关于CreateProcess error = 740,请求的操作需要提升的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆