Tuesday, April 26, 2011

Run as different user option in Windows 2008 and windows 7

"If you are running "Windows Server 2008 R2" then you can hold Shift and right click. An option "Run as different use
will then appear

if you use windows 7 after installing the ShellRunAs utility from the below link,it doesn't work as expected and you need to perform the two
extra steps to get the Run as different user option

After you download ShellRunAs from here, copy it to your Windows
System32 folder,ie..C:WindowsSystem32.

Open a command line
and Run: shellrunas /reg

other soulution is to create batch file and write in this file
"runas /user:CONTOSO\ALICIA "C:\Program Files\Dynamics AX\50\Client\Bin\Ax32.exe