自动运行的批处理文件作为管理员 [英] automatically running a batch file as an administrator

查看:108
本文介绍了自动运行的批处理文件作为管理员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何运行从另一个批处理文件的批处理文件具有管理员权限的,我已经尝试runas命令它需要管理员密码。

How to run a batch file from another batch file with administrator rights, i have tried runas command it requires password of admin.

我正在寻找的在其上运行通过右键点击一个批处理文件,并以管理员身份运行的替代品。我想从另一个批处理文件自动执行。

I am searching for an alternative for running a batch file by right clicking on it and running as an administrator. i want to automate it from another batch file.

感谢您

推荐答案

我通过降低Windows用户身份验证(UAC)运行批处理文件。它为我工作。感谢您的答复家伙。

I ran batch files by Lowering the windows User Authentication(UAC). It worked for me. Thanks for the replies guys.

这篇关于自动运行的批处理文件作为管理员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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