Re: always run as administrator
From: Roger Abell [MVP] (mvpNOSPAM@asu.edu)
Date: 03/07/03
- Next message: Irisberto D. Corujo: "Security Updates"
- Previous message: Basem Latif: "A Wallpaper Issue"
- In reply to: JOhn: "always run as administrator"
- Next in thread: Bob Byrne: "Re: always run as administrator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Roger Abell [MVP]" <mvpNOSPAM@asu.edu> Date: Fri, 7 Mar 2003 08:16:13 -0700
IN XP Pro you can use the /savecred switch of the RunAs
command. In both versions you can force-feed the password
if you launch the app from a script. However, this last method
leaves the password rather easily obtainable from the filesystem
even if the script has been obfuscated.
http://msruniv.corp.bcentral.com/Shared%20Documents/runas_admin_script.vbs.txt
outlines the script steps needed, and you should then look into
using the script encoder
http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/789/msdncompositedoc.xml
Just do not believe that this encoding is a strong, fool-proof
encryption, as it is not.
If your machine is Pro, the /savecred switch is the way to go.
Using /savecred the first time a user launches the app the pwd
of the account must be entered. Afterwards, when the /savecred
switch is used the earlier acct/pwd info is automatically used, and
will work for that user until the pwd of the account named in the
RunAs saved credentials is changed.
-- Roger Abell MS MVP (Security, Windows), MCDBA, MCSE both Associate Expert - Windows XP ExpertZone http://www.microsoft.com/windowsxp/expertzone "JOhn" <john@nospam.com> wrote in message news:036f01c2e3f1$6708d210$a001280a@phx.gbl... > Is there a way of setting a program or shortcut to ALWAYS > run as administrator. Usually you have to enter the > administrators password each time it is run, but I need > to set it so you dont have to do this, it retains the > password and always runs as the local administrator. Can > this be done? > > Thanks > > John
- Next message: Irisberto D. Corujo: "Security Updates"
- Previous message: Basem Latif: "A Wallpaper Issue"
- In reply to: JOhn: "always run as administrator"
- Next in thread: Bob Byrne: "Re: always run as administrator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|