Re: admin setting for "ran as" without needing admin password

From: Doug Knox MS-MVP (dknox_at_mvps.org)
Date: 08/21/04


Date: Sat, 21 Aug 2004 15:33:47 -0400

You cannot do this. If you use the /SAVECRED switch, it will apply to all programs on the computer not just one.

You can however, create a BAT file, that launches the particular program via the RUNAS command. However, this exposes the Administrator password for anyone that can open the BAT file in Notepad.

-- 
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.
 
"dnewbold" <d.newbold@mchsi.com> wrote in message news:X%rVc.54325$TI1.31888@attbi_s52...
>I want to configure a program to always run as if the administrator were
> doing so.
> I know of the "run as" option, but it requires the admin password be given
> each
> time the program is started. So, I'm wanting Windows to say to itself "Oh,
> the
> administrator already said to do it this way, so lets procede without a
> password."
> 
> Linux has the sudo feature to accommodata this. What about Windows?
> 
> Please respond to dnewbold@generalstandards.com
> 
>


Relevant Pages

  • double clicking .bat files gives "file not found"!
    ... When I double click this bat file, ... me: "Windows cannot find 'c:\cygwin\cygwin.bat'. ... Furthermore, if I switch to another user, then double-clicking the ... What can I do to fix it? ...
    (microsoft.public.windowsxp.general)
  • double clicking .bat files gives "file not found"!
    ... When I double click this bat file, ... me: "Windows cannot find 'c:\cygwin\cygwin.bat'. ... Furthermore, if I switch to another user, then double-clicking the ... What can I do to fix it? ...
    (microsoft.public.windowsxp.general)
  • Re: msconfig problem
    ... Operating system is Windows XP Home Edition Version 2002 with SP2. ... Administrator to make the return to Normal Startup. ... Event Type: Warning ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: i did something wrong. New User
    ... I have a boot disk called "ERD Commander" that gives me full access to the Windows XP ... Even changing the User to "Administrator" resulted in the same ... Both Computers are Dell Dimension computers with Window XP Pro and I have the Dell ... so I tried a Repair Installation. ...
    (microsoft.public.windowsxp.general)
  • Re: Automatic and web based Windows Update Installs all fail...
    ... "Administrators only" error message when you attempt to use the Windows ... Please contact your system administrator." ... CD, (by clicking on the Install Windows 2000 link), I receive the infamous ...
    (microsoft.public.win2000.windows_update)