以管理员身份创建用户凭证 [英] Creating A user credential as administrator

查看:208
本文介绍了以管理员身份创建用户凭证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想从我的.net代码运行一个(.exe),并且我要运行的exe必须以管理员身份运行.在这种情况下,我没有该(.exe)的代码.我使用了Process.Start().但我可以运行exe,但不能在管理员模式下运行.我没有管理员用户名和密码.

Hi all,
I want to run an (.exe) from my .net code,and the exe which i want to run has to be run as administrator . In this case i am not having the code for that (.exe) .I used the Process.Start(). but i can run the exe but not in administrator mode. I dont have administrator username and password. Please healp me how can i do this?

推荐答案

您必须具有管理员凭据才能运行exe.即使您想使用管理员权限创建新用户,也需要管理员凭据才能创建用户.
You must need adminstrator credential to run an exe. Even if you want to create a new user with administyrator privelege, the also you need the administrator credential to create a user.


这篇关于以管理员身份创建用户凭证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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