Re: Executing a patch with alternate credentials

From: Thorsten Helfer (thorsten.helfer_at_it-helfer.de)
Date: 11/18/04


Date: Thu, 18 Nov 2004 10:49:11 +0100

Hi Norm,

"Norm" <normvb@hotmail.com> schrieb im Newsbeitrag
news:1398ef3f.0411180018.6188285@posting.google.com...
> Hi,
>
> Does anyone know a easy way to execute a program via vbscript using
> alternate credentials?
>
> I am using a vbscript to install MS OS updates and would like to use
> different credentials to execute the patch file then that of the user
> running the script (as a logon script).
>
> The runas command is no good, as is anything that needs to use sendkey
> commands.
>
> Thanks,
>
> Norman

I don't know a scripting method for that issue.
If there is any user interaction required during the setup process, take a
look at
http://www.microsoft.com/technet/prodtechnol/windows2000serv/downloads/epal.mspx
Maybe this tool could help.
If you can create an automated setup based on a msi where no user
interaction is required, take a look at
http://www.microsoft.com/technet/scriptcenter/scripts/apps/user/usapvb02.mspx

HTH,
Thorsten



Relevant Pages

  • Re: Open a group as domain administrator
    ... I'd be delighted if I could download the documentation for VBScript. ... Before posting I searched live.com and google.com and came up with ... I'm aware of using the runas to run a script under alternate ... or use RUNAS to run it under alternate credentials. ...
    (microsoft.public.scripting.vbscript)
  • Re: If user in group?
    ... just the 'execute program'... ... the command line to the vbscript. ... > What object do I use in SMSI to execute and read the script exit code? ... >> with the right membership... ...
    (microsoft.public.sms.installer)
  • Re: vbscript fails to start windows application
    ... > I am trying to execute some applications from within vbscript using ... is the very same script that successfully starts aida32 ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: vbscript fails to start windows application
    ... > I am trying to execute some applications from within vbscript using ... is the very same script that successfully starts aida32 ...
    (microsoft.public.scripting.vbscript)
  • Executing a patch with alternate credentials
    ... Does anyone know a easy way to execute a program via vbscript using ... I am using a vbscript to install MS OS updates and would like to use ... The runas command is no good, as is anything that needs to use sendkey ...
    (microsoft.public.scripting.vbscript)

Loading