使用Runas,告别我心中永远的痛

 

使用windows的系统管理员,经常需要用到Runas方式来运行特定的应用程序,如希望以不同的权限登录windows管理控制台。但是windows自带的Runas有一个很不方便的地方,用户必须手动的输入密码。很多系统管理员都希望有一个能够无缝的使用Runas功能的方式。

今天我们要介绍的主角,LSrunas,它是一款完全免费的软件。我使用它最大的好处就是简化了密码的输入。下载地址:http://www.moernaut.com/default.aspx?item=lsrunas,下载后你将得到LsRUNAS.exe文件,能过使用以下的password参数,将实现无缝的runas功能。

它的参数如下:
Parameters:
-----------
/user: specifies the username
/password: specifies the password
/domain: specifies the domain
/command: specifies the command to execute and the parameters
/runpath: specifies the path where the command should start

Examples:
---------
lsrunas /user:administrator /password:s3cr3tp@ssw0rd
/domain:Mydomain /command:notepad.exe /runpath:c:\

lsrunas /user:administrator /password:s3cr3tp@ssw0rd
/domain:Mydomain /command:"C:\Program Files\Internet Explorer
\iexplore.exe" /runpath:c:\

lsrunas /user:administrator /password:s3cr3tp@ssw0rd
/domain:Mydomain /command:"C:\Program Files\Internet Explorer
\iexplore.exe http://www.google.be" /runpath:c:\

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值