Re: Automatically login a user from 'at'

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Al Dunbar [MS-MVP] (alan-no-drub-spam_at_hotmail.com)
Date: 03/21/04


Date: Sun, 21 Mar 2004 13:32:10 -0700


"Yuri Weinstein (HotMail)" <yuriw_NOSPAM@hotmail.com> wrote in message
news:KGk7c.41043$ty.127@newssvr25.news.prodigy.com...
> Hi Al,
>
> Can you elaborate a little about runas?

RUNAS /? tells all...

> How would you solve this issue?

Well, given that, as an account admin, I am not authorized to logon as users
let alone even know their passwords, I am unclear as to exactly what it is
you need to accomplish.

> Here are the steps I'd like to accomplish:
>
> 1. Run the same BAT file from shared network drive on three remote
systems
> from a single computer

I don't get where the batch file is actually running. I understand you have
one batch file stored on a share, and that you would like to manage the
running of this batch file from a single workstation, but have its effects
take place on three remote workstations. Am I close?

> 2. Assure user's remote login to those systems via terminal services, as
> BAT program in step 1 has to run in graphical mode

Unfortunately, TS is not my forte, but I will give this a shot...

What do you mean by "assure user's remote logon..." - do you want to login
as if you were them, or do you want to avoid running your batch UNLESS they
are logged in?

Are the three remote computers workstations they will logon at, or are they
terminal servers that they will log into from other workstations?

Does this need to be done once per computer, once per user, once per logon,
or every time? Does it need to run with privileges? Will you run it as
various different users, or once as an admin user?

It seems like it might be something you could run from a logon script,
however the details you give are someone vague for someone not familiar with
your environment.

/Al

> Thx
> YuriW
>
> "Al Dunbar [MS-MVP]" <alan-no-drub-spam@hotmail.com> wrote in message
> news:u9CUaR2DEHA.2424@TK2MSFTNGP09.phx.gbl...
> >
> > "Yuri Weinstein (HotMail)" <yuriw_NOSPAM@hotmail.com> wrote in message
> > news:i9b7c.40907$Ze3.32798@newssvr25.news.prodigy.com...
> > > Hello,
> > >
> > > I need to be able to login a user automatically using 'at' command
from
> > the
> > > windows scheduler.
> > > Can somebody help me with this?
> >
> > I don't think you will be able to actually create an interactive logon
> that
> > way. Maybe all you need is to use runas to be able to do something from
a
> > scheduled task for which the default privileges are too restrictive.
What
> is
> > it you are trying to accomplish?
> >
> > /Al
> >
> >
>
>



Relevant Pages

  • Re: Automatically login a user from at
    ... RUNAS /? ... Well, given that, as an account admin, I am not authorized to logon as users ... I don't get where the batch file is actually running. ... Are the three remote computers workstations they will logon at, ...
    (microsoft.public.scripting.vbscript)
  • RE: Event ID 529
    ... The source is clear - workstations that are not part of my ... SBS2003 domain share the same local network (it's a shared local network in ... This kind of issue may be caused by Application logon such as while Outlook ... is connecting to Exchange Server, or this is an automated dictionary attack ...
    (microsoft.public.windows.server.sbs)
  • Re: Help needed with Script
    ... Thnx for your quick reply. ... The script is going to be applied by my loopback policy on the ts. ... The customer wants his employees only to be able to logon to the ts from (in ... There is a fairly comprehensive console command and batch file ...
    (microsoft.public.windows.server.general)
  • Re: XP screen resolution change from command line ?
    ... where she can play this game. ... I always switch to 1280*1024 on my logon. ... If you want to craft your own batch file to fit particular needs that you might have you will have to use a helper application that can work in Console Mode and that can be called from a batch file, the following utility will work with batch files: ... You could just put a batch file with the desired settings in each user's startup folder and the resolution will be set to their liking when they logon. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: How do manage your workstations?
    ... For the most part these functions require a local administrator rights. ... Therefore I have to logoff the regular user, then I logon as local administrator so I can update programs or add-in devices. ... However, if there are hundreds of workstations involved, it’s really time consuming! ... Maybe there is remote installation system that push program updates to the workstation and that system logons on as domain admin. ...
    (microsoft.public.windowsxp.general)