Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - "Run As" application

Reply
 
Old 12-23-2006   #1 (permalink)
Or Tsemah


 
 

"Run As" application

Hi.
Can someone please tell me: If i'm an admin on the system, but wants to run
the dsa.msc (For example) as a different user (One which has privileges on
the domain), how can i do this without changing UAC ?

2. How can i run login scripts for now on if i can't use RunAs command
without specifing a password (In other words, automatically) ?

Thanks.
--
Or Tsemah
YSIDE


My System SpecsSystem Spec
Old 12-26-2006   #2 (permalink)
Jesper


 
 

RE: "Run As" application

You can still use runas like before, but only from the command line. It has
been removed from the context menu.

I would highly discourage you from using runas in a login script though.
Those are readable to everyone in the domain, exposing the passwords in them
to everyone.

"Or Tsemah" wrote:

> Hi.
> Can someone please tell me: If i'm an admin on the system, but wants to run
> the dsa.msc (For example) as a different user (One which has privileges on
> the domain), how can i do this without changing UAC ?
>
> 2. How can i run login scripts for now on if i can't use RunAs command
> without specifing a password (In other words, automatically) ?
>
> Thanks.
> --
> Or Tsemah
> YSIDE
>
>

My System SpecsSystem Spec
Old 12-27-2006   #3 (permalink)
Ko


 
 

Re: "Run As" application

There is a cmd prompt in the menu accessoiries.
You could run that with the option run as administrator and from there do
the needed things!

Ko.

"Jesper" <Jesper@discussions.microsoft.com> schreef in bericht
news4196866-8767-40DE-809F-93C64A500C20@microsoft.com...
> You can still use runas like before, but only from the command line. It
> has
> been removed from the context menu.
>
> I would highly discourage you from using runas in a login script though.
> Those are readable to everyone in the domain, exposing the passwords in
> them
> to everyone.
>
> "Or Tsemah" wrote:
>
>> Hi.
>> Can someone please tell me: If i'm an admin on the system, but wants to
>> run
>> the dsa.msc (For example) as a different user (One which has privileges
>> on
>> the domain), how can i do this without changing UAC ?
>>
>> 2. How can i run login scripts for now on if i can't use RunAs command
>> without specifing a password (In other words, automatically) ?
>>
>> Thanks.
>> --
>> Or Tsemah
>> YSIDE
>>
>>



My System SpecsSystem Spec
Old 12-28-2006   #4 (permalink)
Or Tsemah


 
 

Re: "Run As" application

How should i suppose to run Login Scripts then ?
Options like "Net Time" require Elavated Priviliges


--
Or Tsemah
YSIDE

"Ko" <Koze@nospam.nospam> wrote in message
news:uUjCbibKHHA.4384@TK2MSFTNGP03.phx.gbl...
> There is a cmd prompt in the menu accessoiries.
> You could run that with the option run as administrator and from there do
> the needed things!
>
> Ko.
>
> "Jesper" <Jesper@discussions.microsoft.com> schreef in bericht
> news4196866-8767-40DE-809F-93C64A500C20@microsoft.com...
>> You can still use runas like before, but only from the command line. It
>> has
>> been removed from the context menu.
>>
>> I would highly discourage you from using runas in a login script though.
>> Those are readable to everyone in the domain, exposing the passwords in
>> them
>> to everyone.
>>
>> "Or Tsemah" wrote:
>>
>>> Hi.
>>> Can someone please tell me: If i'm an admin on the system, but wants to
>>> run
>>> the dsa.msc (For example) as a different user (One which has privileges
>>> on
>>> the domain), how can i do this without changing UAC ?
>>>
>>> 2. How can i run login scripts for now on if i can't use RunAs command
>>> without specifing a password (In other words, automatically) ?
>>>
>>> Thanks.
>>> --
>>> Or Tsemah
>>> YSIDE
>>>
>>>

>
>


My System SpecsSystem Spec
Old 12-28-2006   #5 (permalink)
Ko


 
 

Re: "Run As" application

You can set the properties of a script to run always with administrator
privileges.
Right click and set the properties on the saved script, the only problem
anybody who has access to the PC is then able to run it with the same
settings.

Ko.

"Or Tsemah" <ort@yside.com> schreef in bericht
news:6A542F83-481D-435E-BC9A-8D86A1BDB07C@microsoft.com...
> How should i suppose to run Login Scripts then ?
> Options like "Net Time" require Elavated Priviliges
>
>
> --
> Or Tsemah
> YSIDE
>
> "Ko" <Koze@nospam.nospam> wrote in message
> news:uUjCbibKHHA.4384@TK2MSFTNGP03.phx.gbl...
>> There is a cmd prompt in the menu accessoiries.
>> You could run that with the option run as administrator and from there do
>> the needed things!
>>
>> Ko.
>>
>> "Jesper" <Jesper@discussions.microsoft.com> schreef in bericht
>> news4196866-8767-40DE-809F-93C64A500C20@microsoft.com...
>>> You can still use runas like before, but only from the command line. It
>>> has
>>> been removed from the context menu.
>>>
>>> I would highly discourage you from using runas in a login script though.
>>> Those are readable to everyone in the domain, exposing the passwords in
>>> them
>>> to everyone.
>>>
>>> "Or Tsemah" wrote:
>>>
>>>> Hi.
>>>> Can someone please tell me: If i'm an admin on the system, but wants to
>>>> run
>>>> the dsa.msc (For example) as a different user (One which has privileges
>>>> on
>>>> the domain), how can i do this without changing UAC ?
>>>>
>>>> 2. How can i run login scripts for now on if i can't use RunAs command
>>>> without specifing a password (In other words, automatically) ?
>>>>
>>>> Thanks.
>>>> --
>>>> Or Tsemah
>>>> YSIDE
>>>>
>>>>

>>
>>

>



My System SpecsSystem Spec
Old 12-29-2006   #6 (permalink)
Alun Jones


 
 

Re: "Run As" application

"Or Tsemah" <ort@yside.com> wrote in message
news:6A542F83-481D-435E-BC9A-8D86A1BDB07C@microsoft.com...
> How should i suppose to run Login Scripts then ?
> Options like "Net Time" require Elavated Priviliges


By default, Windows in a domain synchronises to the domain's time - if you
want to synchronise to an external time source, you can add to your group
policy for computers in the domain, to configure and enable the Windows NTP
client (under Computer Configuration -> Administrative Templates ->
System -> Windows Time Service -> Time Providers).

Other similar "admin-only" commands that you are executing from your login
scripts are likely similarly supported by group policy settings. Requiring
logon scripts to execute code as administrator is not appropriate.

Alun.
~~~~


My System SpecsSystem Spec
Old 01-05-2007   #7 (permalink)
eric_c


 
 

RE: "Run As" application

OK, Somboday make an add-in so we can right click and run under other
credentials
--
Eric C


"Jesper" wrote:

> You can still use runas like before, but only from the command line. It has
> been removed from the context menu.
>
> I would highly discourage you from using runas in a login script though.
> Those are readable to everyone in the domain, exposing the passwords in them
> to everyone.
>
> "Or Tsemah" wrote:
>
> > Hi.
> > Can someone please tell me: If i'm an admin on the system, but wants to run
> > the dsa.msc (For example) as a different user (One which has privileges on
> > the domain), how can i do this without changing UAC ?
> >
> > 2. How can i run login scripts for now on if i can't use RunAs command
> > without specifing a password (In other words, automatically) ?
> >
> > Thanks.
> > --
> > Or Tsemah
> > YSIDE
> >
> >

My System SpecsSystem Spec
Old 02-06-2007   #8 (permalink)
John Kelly


 
 

Re: "Run As" application

Perhaps you don't want to run as administrator simply with different
credentials. Example, specific user created to run exmerge to backup
mailboxes. Admins are specifically denied this right.


"Ko" <Koze@nospam.nospam> wrote in message
news:uUjCbibKHHA.4384@TK2MSFTNGP03.phx.gbl...
> There is a cmd prompt in the menu accessoiries.
> You could run that with the option run as administrator and from there do
> the needed things!
>
> Ko.
>
> "Jesper" <Jesper@discussions.microsoft.com> schreef in bericht
> news4196866-8767-40DE-809F-93C64A500C20@microsoft.com...
>> You can still use runas like before, but only from the command line. It
>> has
>> been removed from the context menu.
>>
>> I would highly discourage you from using runas in a login script though.
>> Those are readable to everyone in the domain, exposing the passwords in
>> them
>> to everyone.
>>
>> "Or Tsemah" wrote:
>>
>>> Hi.
>>> Can someone please tell me: If i'm an admin on the system, but wants to
>>> run
>>> the dsa.msc (For example) as a different user (One which has privileges
>>> on
>>> the domain), how can i do this without changing UAC ?
>>>
>>> 2. How can i run login scripts for now on if i can't use RunAs command
>>> without specifing a password (In other words, automatically) ?
>>>
>>> Thanks.
>>> --
>>> Or Tsemah
>>> YSIDE
>>>
>>>

>
>


My System SpecsSystem Spec
Old 03-20-2007   #9 (permalink)
Trev


 
 

Re: "Run As" application

On 6 Feb, 19:22, "John Kelly" <jk2005 gmail> wrote:
> Perhaps you don't want to run as administrator simply with different
> credentials. Example, specific user created to run exmerge to backup
> mailboxes. Admins are specifically denied this right.
>
> "Ko" <K...@nospam.nospam> wrote in message
>
> news:uUjCbibKHHA.4384@TK2MSFTNGP03.phx.gbl...
>
>
>
> > There is a cmd prompt in the menu accessoiries.
> > You could run that with the option run as administrator and from there do
> > the needed things!

>
> > Ko.

>
> > "Jesper" <Jes...@discussions.microsoft.com> schreef in bericht
> >news4196866-8767-40DE-809F-93C64A500C20@microsoft.com...
> >> You can still userunaslike before, but only from the command line. It
> >> has
> >> been removed from the context menu.

>
> >> I would highly discourage you from usingrunasin a loginscriptthough.
> >> Those are readable to everyone in the domain, exposing the passwords in
> >> them
> >> to everyone.

>
> >> "Or Tsemah" wrote:

>
> >>> Hi.
> >>> Can someone please tell me: If i'm an admin on the system, but wants to
> >>> run
> >>> the dsa.msc (For example) as a different user (One which has privileges
> >>> on
> >>> the domain), how can i do this without changing UAC ?

>
> >>> 2. How can i run login scripts for now on if i can't useRunAscommand
> >>> without specifing a password (In other words, automatically) ?

>
> >>> Thanks.
> >>> --
> >>> Or Tsemah
> >>> YSIDE- Hide quoted text -

>
> - Show quoted text -


Hi

i'm not sure if this will help but have a look at www.dustan.co.uk
there is a backup script which calls a remote script which calls a
runas admin script for remote deployment and installs etc. you could
run the remote script at startup then call the runas admin script
hidden on the network using the $ and set the correct permisions that
no one else could access the directory except the system etc. i use
it all the time on our domain including the backup script for client
computers, i allways hide the folders. Theres is a saying out of
sight out of mind LOL

hope this helps and good luck


Ta


Trev

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Unwanted Multiple contacts in "To","CC","BCC" of email send catago Vista mail
VS 2003: "Start Application" disabled in "Debugging" .NET General
Vista not wotking with "My Computer" or "Control Panel", "Screen Saver" Vista General
What to do to access "Local Settings" and "Application Data"? Vista account administration
WM5 Sync with Vista "Windows Calender", "Contacts", and "Mail" Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46