quarta-feira, 27 de agosto de 2014

HOW TO EXECUTE ANY PROGRAMS WITH ANOTHER USER (POST 3)

To resolve this issue and not execute some programs by "administrator" you can use the command  RUNAS also know “run as” in us interface.
Open the properties shortcut of  software of you wanna used by administrator.

runas1

By destiny, before the path of executable include the command Runas /savecred stay
runas /savecred /user:administrador “C:\Windows\System32\cmd.exe”

Now you shold click on shortcut , and ask a password, after you put the was memorize per windows and don't ask again this password.
On screem above you can see that the prompt stay running by administrator.
runas2
OBS: In this example i used  the prompt of command afteri  possible show the user that was running, however do not recommend this in real life.
Case is necessary  remover our change the password type the password using console  “ user acount” type  “control userpasswords2” on run .
In the guide “Advanced” set  in “manager password ”runas3
Click  in credential of windows, and change the credential that you want.
runas4

The another password will saved too  in this console with password of remote desktop.

source: http://www.cooperati.com.br/2013/03/01/executando-programas-com-credenciais-de-administrador/

Nenhum comentário:

Postar um comentário