用命令行获取权限

用命令行获取权限

Embed below code to your site

As a security best practice, it is recommended that we do not log on our computer with administrative credentials because it will otherwise increase security risks.

When we want to perform administrative tasks, we could use RUNAS to start a program using administrative accounts.

We know we can do Shift + Right Click to get RUNAS command in some of the case but for some, that is not an option, such as Active Directory management tools.

What we can do is to use command line to accomplish those tasks.

runas /user:domain\yli "mmc %windir%\system32\dsa.msc"

Of course, this applies to other .msc snap-ins.

We can then create shortcuts for these RUNAS commands on the desktop to make them handy.

 

发现了错别字? 请选中并且点击Ctrl+Enter发送!

 

 

孩子、家庭、社会。

登陆投稿

免费邮件订阅

输入您的电子邮件到下面的空格中,点击订阅,关注《海之子》的最新信息。