Re: administrative rights in Batch file
From: Al Dunbar [MS-MVP] (alan-no-drub-spam_at_hotmail.com)
Date: 03/17/04
- Next message: Torgeir Bakken (MVP): "Re: administrative rights in Batch file"
- Previous message: Jamey: "forgotten administrator password"
- In reply to: Micah: "administrative rights in Batch file"
- Next in thread: Torgeir Bakken (MVP): "Re: administrative rights in Batch file"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 10:56:56 -0700
"Micah" <mcollins@deltatg.com> wrote in message
news:c01b01c40c38$e25b1b60$a601280a@phx.gbl...
> We currently only allow our end users Power user rights on
> there workstation. I have a small update (for a CA
> product) I want to deploy to everyone through their batch
> file, unfortunatly they need administrative privilages.
> Does any know the command to set that task to be installed
> as administrator?
There is no built-in command that can do this. RUNAS would, but the user
would then be prompted for the administrator password, and you don't want to
give that out.
Other options are available, including RunAsPro (ten euros per workstation),
SUNAR (freeware) and CPAU:
http://www.jsiinc.com/SUBO/tip7200/rh7258.htm
Just make sure that you do this carefully so as not to inadvertently either
reveal the administrator password, or provide a file with the password
embedded that could be used to run a different command than the one you want
to run to do your installation.
/Al
/Al
- Next message: Torgeir Bakken (MVP): "Re: administrative rights in Batch file"
- Previous message: Jamey: "forgotten administrator password"
- In reply to: Micah: "administrative rights in Batch file"
- Next in thread: Torgeir Bakken (MVP): "Re: administrative rights in Batch file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|