On Sat, Mar 22, 2008 at 12:03 AM, Fmiser <[EMAIL PROTECTED]> wrote: > > That's easy in the Unix world (Linux, BSD, etc.) because there > is "su", "sudo", and "fakeroot". Is there something like that in > MS Windows? Some way I can install a program without having to > log out of my current user and log in as admin? >
You can right click on the executable, and choose "Run as ..." and this will open a dialog that asks "Which user account do you want to use to run this program?" it defaults to your current user (which should be an LUA) so you need to click the radio button to change the option to "The following user:" and your User Name needs to be in the format of MACHINENAME\Administrator. 99% of the time, this should already be there. However, if you are in a trusted domain network environment and have Domain controllers that handle system login and administration you may need to use DOMAIN\Administrator. But as long as you know the local admin password MACHINENAME\Administrator should always work. The only time it will not is when the Trusted Domain includes a policy to lock the local Admin account out of the system. There is a command line program called RunAs which allows you to run executables as Administrator from the command line, and as such, allows you to set up batch files to run the program as Admin without having to remember all the command line switches each time. You can also go to Microsoft and download this: http://technet.microsoft.com/en-us/sysinternals/cc300361.aspx Which is a program called ShellRunAs which add another context menu to your right click to run a program as a different user. Since this capability already exists, I'm not 100% sure why you would need this, except that maybe certain installs of XP might not include the proper Right Click menu Run As. EdB -- "I'm a Night Elf Mohawk!" - Mr. T. _______________________________________ http://www.okiebenz.com For new parts see official list sponsor: http://www.buymbparts.com/ For used parts email [EMAIL PROTECTED] To Unsubscribe or change delivery options go to: http://okiebenz.com/mailman/listinfo/mercedes_okiebenz.com