how to enable "run as" other users in vista

  • Thread starter Thread starter inenewbl
  • Start date Start date
I

inenewbl

Hi all. I would like to know how to enable "run as" option to use other
accounts to invoke applications instead of only the administrator account.
Thks in advance.
 
Hi all. I would like to know how to enable "run as" option to use
other accounts to invoke applications instead of only the
administrator account. Thks in advance.

Won't that lead to confusion? Why not log off and log on again as
the other user?
 
The reason is that i am a system administrator and when i login in to my
notebook i am using my own account, not the domain admin, hence it would be
convinient for me if i can manually key in the domain username and password
for "run as" option for things like mmc console and adminpak.
 
This problem's bugging me too. The idea of runas is that you don't have to
logoff and logon everytime you want to perform a domain administrator task
such as administering another machine using the admin tools. It's an
important command, why isn't it available in Vista?
 
Run as is not available via the GUI, but can be run from command line:

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>runas /?
RUNAS USAGE:

RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]
/user:<UserName> program

RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]
/smartcard [/user:<UserName>] program

RUNAS /trustlevel:<TrustLevel> program

/noprofile specifies that the user's profile should not be loaded.
This causes the application to load more quickly, but
can cause some applications to malfunction.
/profile specifies that the user's profile should be loaded.
This is the default.
/env to use current environment instead of user's.
/netonly use if the credentials specified are for remote
access only.
/savecred to use credentials previously saved by the user.
This option is not available on Windows Vista Home or
Windo
ws Vista Starter Editions
and will be ignored.
/smartcard use if the credentials are to be supplied from a
smartcard.
/user <UserName> should be in form USER@DOMAIN or DOMAIN\USER
/showtrustlevels displays the trust levels that can be used as arguments
to /trustlevel.
/trustlevel <Level> should be one of levels enumerated
in /showtrustlevels.
program command line for EXE. See below for examples

Examples:
runas /noprofile /user:mymachine\administrator cmd
runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
runas /env /user:[email protected] "notepad \"my file.txt\""

NOTE: Enter user's password only when prompted.
NOTE: /profile is not compatible with /netonly.
NOTE: /savecred is not compatible with /smartcard.

C:\Windows\system32>
 
I am facing the same problem, I upgraded from Windows XP to Windows Vista. In
Windows XP it was possible to open the DHCP MMC extension as the domain
administrator by holding the <Shift> key and choosing "Run as" from the popup
menu.

Are you saying that this is no longer possible in Windows Vista? Because if
that is exactly what you are saying then I find this a little f. up. No
seriously there has to be a workaround I just can not imagine that this is
not longer possible and that I need to run the freakin' commands through the
console.

Jane C said:
Run as is not available via the GUI, but can be run from command line:

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>runas /?
RUNAS USAGE:

RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]
/user:<UserName> program

RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]
/smartcard [/user:<UserName>] program

RUNAS /trustlevel:<TrustLevel> program

/noprofile specifies that the user's profile should not be loaded.
This causes the application to load more quickly, but
can cause some applications to malfunction.
/profile specifies that the user's profile should be loaded.
This is the default.
/env to use current environment instead of user's.
/netonly use if the credentials specified are for remote
access only.
/savecred to use credentials previously saved by the user.
This option is not available on Windows Vista Home or
Windo
ws Vista Starter Editions
and will be ignored.
/smartcard use if the credentials are to be supplied from a
smartcard.
/user <UserName> should be in form USER@DOMAIN or DOMAIN\USER
/showtrustlevels displays the trust levels that can be used as arguments
to /trustlevel.
/trustlevel <Level> should be one of levels enumerated
in /showtrustlevels.
program command line for EXE. See below for examples

Examples:
runas /noprofile /user:mymachine\administrator cmd
runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
runas /env /user:[email protected] "notepad \"my file.txt\""

NOTE: Enter user's password only when prompted.
NOTE: /profile is not compatible with /netonly.
NOTE: /savecred is not compatible with /smartcard.

C:\Windows\system32>



--
Jane, not plain ;) 64 bit enabled :-)
Batteries not included. Braincell on vacation ;-)
MVP Windows Shell/User

inenewbl said:
Hi all. I would like to know how to enable "run as" option to use other
accounts to invoke applications instead of only the administrator account.
Thks in advance.
 
I'm going to keep on searchig the web. Either someone hacked this GUI runas
issue or Microsoft is not telling us the wonderful dword value to add and
change in the registry. This is completely unbelievable. You (microsoft) do
actually support and find out how users and admins use your products, right?
I'm going to hope that I don't find an article where you're touting that this
is more secure and you took it away. Admins use the runas gui like mad to
get things done. geezzzzz.
 
Our goal is to solve technical and operational problems by using this
newsgroup as a collective forum.
Please include enough of the previous message(s) so that others trying to
follow this thread know what you are talking about. Also please try to
“edit out†the non relevant portions. It helps everyone. If you are using
Windows Mail, Go to:
Tools > Options > Send > check - “Include message in replyâ€
 
This just runs it as a local administrator.
What they are looking to do is run as a domain administrator.

I have found a work around guys but it sux.
Go to console and run gpedit.msc
Under Computer configurations, windows settings,security settings, local
policies,security options

Find User Account Control:Behavior of the elevation prompt for administrator
in admin approval mode. and change it to Prompt for Credentials.

The down side is you will now be prompted for credentials for everything!
But it works.
 
Back
Top