Re: I'm new to scripting a I working on a project that I need some help with.
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 03/07/05
- Next message: Jason: "Re: Parsing .CSV files - no luck whatsoever"
- Previous message: Jerold Schulman: "Re: Re: working days between two calendar days"
- In reply to: Errol Straker Jr: "I'm new to scripting a I working on a project that I need some help with."
- Next in thread: Errol Straker Jr: "Re: I'm new to scripting a I working on a project that I need some help with."
- Reply: Errol Straker Jr: "Re: I'm new to scripting a I working on a project that I need some help with."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 07 Mar 2005 20:09:34 +0100
Errol Straker Jr wrote:
> I am working on project were I need to install a new version of Oracle's
> jinitaitor on every computer in the company. I belive I have the computers
> on the local network taken care of, I can run a batch file that can do a run
> as command to load the software. The problem comes in with the remote
> laptops, only a few of the service techs have admin rights on their
> computers. I figure I can ship them a cd with the software on it, then with
> an autorun on the cd I can launch the vbscript. After that the script will
> then create a local user account then add the account to the administrators
> group. Problem is that after it adds the account I get an error stating
> that the user account is not valid. Can anyone give me a helping hand.
Hi
In the link below is a script that creates a new user account and adds
it to the Administrators group:
http://groups.google.co.uk/groups?selm=Oor0ASl%23EHA.1400%40TK2MSFTNGP11.phx.gbl
Note that the user that runs this script needs to have admin rights
on the computer. If the user does not have it, maybe a RunAs solution
is feasable.
Different RunAs products listed here, some with encryption
option for the password:
http://groups.google.co.uk/groups?selm=3FE0B42C.773CA875%40hydro.com
Other ones not mentioned in the link above:
LSrunas/LSrunasE (the latter with password encryption)
http://www.linkselection.com/lsrunas.asp
SUperior SU
http://www.stefan-kuhr.de/supsu/main.php3
You may also want to check NeoExec ( http://www.neovalens.com ),
the main difference is that it does not require the use of a second
account, as all RunAs derivatives requires.
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Jason: "Re: Parsing .CSV files - no luck whatsoever"
- Previous message: Jerold Schulman: "Re: Re: working days between two calendar days"
- In reply to: Errol Straker Jr: "I'm new to scripting a I working on a project that I need some help with."
- Next in thread: Errol Straker Jr: "Re: I'm new to scripting a I working on a project that I need some help with."
- Reply: Errol Straker Jr: "Re: I'm new to scripting a I working on a project that I need some help with."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|