Intel(R)视觉FORTRAN运行时错误在提高权限的沮丧权限上

发布于 2025-01-24 12:44:20 字数 548 浏览 3 评论 0原文

我编写了一个简单的fortran代码,如下所示:

!call system ('dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart')
call execute_command_line ('dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart')
end

当我使用Intel(R)Visual Fortran编译器与Visual Studio运行时,我会收到以下错误消息:

Error: 740

Elevated permissions are required to run DISM.
Use an elevated command prompt to complete these tasks.

请任何建议要克服这一点。

非常感谢您的时间和在此问题上提供帮助,

Bakbergen

I have written a simple Fortran code as follows:

!call system ('dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart')
call execute_command_line ('dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart')
end

When I run it using Intel(R) Visual Fortran compiler with Visual Studio, I am getting following error message:

Error: 740

Elevated permissions are required to run DISM.
Use an elevated command prompt to complete these tasks.

Any suggestion please to overcome this.

Thank you very much in advance for your time and help in this matter,

Bakbergen

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谷夏 2025-01-31 12:44:20

当用用户根运行PowerShell时,我遇到了麻烦。尝试运行Powrshell作为管理。
就我而言,这有帮助我

I have this trouble when run PowerShell with user roots. Try to run PowrShell as Administer.
In my case it was helped me

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文