Administrator Log In Prompt from limited
Results 1 to 9 of 9

Thread: Administrator Log In Prompt from limited

  1. #1
    Junior Member
    Join Date
    Feb 2006
    Posts
    6

    Administrator Log In Prompt from limited

    I am trying to set up a limit XP user to get a Administrator log in prompt when installing software. It seems like an easy thing but my searches have not found an answer.

  2. #2
    Senior Member Deeboe's Avatar
    Join Date
    Nov 2005
    Posts
    185
    I am not totally sure I understand the question, but have you tried the "runas" command yet?

    RUNAS USAGE:

    RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
    /user:<UserName> program

    RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
    /smartcard [/user:<UserName>] program

    /noprofile specifies that the user's profile should not be loaded.
    This causes the application to load more quickly, but
    can cause some applications to malfunction.
    /profile specifies that the user's profile should be loaded.
    This is the default.
    /env to use current environment instead of user's.
    /netonly use if the credentials specified are for remote
    access only.
    /savecred to use credentials previously saved by the user.
    This option is not available on Windows XP Home Edition
    and will be ignored.
    /smartcard use if the credentials are to be supplied from a
    smartcard.
    /user <UserName> should be in form USER@DOMAIN or DOMAIN\USER
    program command line for EXE. See below for examples

    Examples:
    > runas /noprofile /user:mymachine\administrator cmd
    > runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
    > runas /env /user:user@domain.microsoft.com "notepad \"my file.txt\""

    NOTE: Enter user's password only when prompted.
    NOTE: USER@DOMAIN is not compatible with /netonly.
    NOTE: /profile is not compatible with /netonly.
    -Deeboe
    If you know the enemy and know yourself, you need not fear the result of a hundred battles. If you know yourself but not the enemy, for every victory gained you will also suffer a defeat. If you know neither the enemy nor yourself, you will succumb in every battle.
    - Sun Tzu, The Art of War

    http://tazforum.**********.com/

  3. #3
    AO Senior Cow-beller
    Moderator
    zencoder's Avatar
    Join Date
    Dec 2004
    Location
    Mountain standard tribe.
    Posts
    1,177
    I think Deeboe has it right, but he has posted the CMD usage info for RUNAS. You can also <SHIFT> + <RIGHT CLICK> the Icon/Application Installer and choose Run As... and choose what user to launch the application as. This works for applications, executables, whatever...handy way to limit access to your everyday account but quickly access things with privileges when needed.
    "Data is not necessarily information. Information does not necessarily lead to knowledge. And knowledge is not always sufficient to discover truth and breed wisdom." --Spaf
    Anyone who is capable of getting themselves made president should on no account be allowed to do the job. --Douglas Adams (1952-2001)
    "...people find it far easier to forgive others for being wrong than being right." - Albus Percival Wulfric Brian Dumbledore

  4. #4
    Senior Member Deeboe's Avatar
    Join Date
    Nov 2005
    Posts
    185
    Originally posted here by zencoder
    I think Deeboe has it right, but he has posted the CMD usage info for RUNAS.
    Right on, I guess I should have referenced both.

    Thanks!

    -Deeboe
    If you know the enemy and know yourself, you need not fear the result of a hundred battles. If you know yourself but not the enemy, for every victory gained you will also suffer a defeat. If you know neither the enemy nor yourself, you will succumb in every battle.
    - Sun Tzu, The Art of War

    http://tazforum.**********.com/

  5. #5
    Junior Member
    Join Date
    Feb 2006
    Posts
    6
    Thanks, that is what I was looking for. I have also seen it where you just click on the file and it will automatically ask you.

  6. #6
    AO übergeek phishphreek's Avatar
    Join Date
    Jan 2002
    Posts
    4,325
    Originally posted here by arnoldpoindextr
    Thanks, that is what I was looking for. I have also seen it where you just click on the file and it will automatically ask you.
    I beleive I've only seen this in Windows 2000. I don't recall seeing this in XP...

    But, I could be wrong. I'm pretty good about using run-as or making sure I'm logged in with appropriate priv.
    Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.

  7. #7
    Junior Member
    Join Date
    Feb 2006
    Posts
    6
    Yeah, I have seen it in W2K. That is probably why I could not find it in XP.

  8. #8
    Banned
    Join Date
    May 2006
    Posts
    20
    No, it works in XP, I have XP Pro SP2 and I use Runas when running as a limited user.


  9. #9
    Senior Member
    Join Date
    Jan 2005
    Posts
    217
    Lolz...

    "where you just click on the file and it will automatically ask you" - They are talking about this option availability in Win2000 and not in WinXP, not the "run as" command, I think.

    Cheers!

    Yo!
    \"Life without FREEDOM is no life at all\". - William Wallace
    MyhomE MyboX StealtH (loop n. see loop.)
    http://www.geocities.com/sebeneleben/SOTBMulti.gif

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •