A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to set "The following user" as the default option in Run As di



 
 
Thread Tools Display Modes
  #1  
Old August 10th 08, 02:52 PM posted to microsoft.public.windowsxp.customize
yaugenka
external usenet poster
 
Posts: 3
Default How to set "The following user" as the default option in Run As di

Hi,
To start a program with other user credentials you can right click on the
program file or its shortcut and choose Run As command.
You will be prompted with a dialog box that has two options: Current user
and The following user.
By default the first option is set.

The fact is that in almost all cases you run this dialog to launch a program
or tool with other user credentials.
So you first have to click "The following user" option, and only after that
you will be able enter the creds.

Above all when you choose the second option the System administrator name
will be chosen by default.

Is it possible to set "The following user" as the default option in Run As
dialog?
And how to make the system to choose other than sys admin name by default?

Thanks
Ads
  #2  
Old August 11th 08, 10:31 AM posted to microsoft.public.windowsxp.customize
Olórin[_2_]
external usenet poster
 
Posts: 917
Default How to set "The following user" as the default option in Run As di

"yaugenka" wrote in message
...
Hi,
To start a program with other user credentials you can right click on the
program file or its shortcut and choose Run As command.
You will be prompted with a dialog box that has two options: Current user
and The following user.
By default the first option is set.

The fact is that in almost all cases you run this dialog to launch a
program
or tool with other user credentials.
So you first have to click "The following user" option, and only after
that
you will be able enter the creds.

Above all when you choose the second option the System administrator name
will be chosen by default.

Is it possible to set "The following user" as the default option in Run As
dialog?
And how to make the system to choose other than sys admin name by default?

Thanks


If this is for just one or a few specific shortcuts, I'd do it by changing
the properties of the shortcut. I have a User Manager shortcut to one of our
old domains that I run with this in the shortcut's target:

%windir%\system32\runas.exe /env /user:OldDomainName\MyOldLoginName
c:\windows\system32\usrmgr.exe

When started, it just asks for my password then I'm in.

Can't confirm this to work in a non-domain environment, but I would think it
will - just give it a try, possibly also doing away with the full path. Eg:
if your computer's name is Doris:

runas /user:doris\yaugenka notepad.exe

You might need to enclose the path to your app in inverted commas if it
contains a space, eg in the above, replace

notepad.exe

with

"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe"

Fuller details available by typing "runas /?" in a command prompt box or via
the good auspices of Google, eg first hit I got:
http://technet.microsoft.com/en-us/l.../cc781769.aspx looks useful.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 10:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.