Results 1 to 4 of 4

Thread: Runas (XP Pro)

  1. #1
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Tokyo, Japan
    Posts
    203
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Runas (XP Pro)

    I have an application that would run under and admin or power user account but not with a limited user account. I want to be able to have my children use it when they logged on as a limited user. I can use runas for it to work but I have to do it for them everytime. I want to create as user account with power user or admin privileges in combination with runas command but I want to pass the user+password transparently. Something like a shortcut or executable to execute the apps with the newly created account without the children issuing the username + password themselves. I don't want them to know and use the account to log in and change things in my system just run the apps I allow them to use. Any suggestion. Thanks

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Runas (XP Pro)

    All indications appear to be that RunAs is the only solution, along with the unfortunate requirement that the Admin password needs to be entered.

    However, I did come across this near-solution at annoyances.org which might set you or someone else on the path to a method. (See the last line of the third post.)

  3. #3
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Tokyo, Japan
    Posts
    203
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Runas (XP Pro)

    Very interesting thanks very much Leif.

  4. #4
    5 Star Lounger
    Join Date
    Dec 2002
    Location
    Perth, Western Australia, Australia
    Posts
    730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Runas (XP Pro)

    Depending on why the program needs Admin access to run, I can suggest roughly two "solutions" (neither perfect).

    To use "Run as", the easiest way is to set up an admin user just for occasions like this. The trick is to use TweakUI to hide the user from the common login screen, making login access to it unavailable for anyone that doesn't know about the Ctrl-Alt-Del (twice) routine. That may be enough with your children, and then you can let them know the admin user id and password needed for "Run as", telling them it's just a special user needed for that program (I get away with this at home, so far).

    If that isn't secure enough, you could use AutoIt, or similar, to automate the "Run as", hard coding the user id and password. A little more work, but the user id and password are relatively safe. Again, you would use TweakUI to hide the user.

    The second option is touched on in Leif's link, and available if file access permissions are why an admin user is needed. If you're zealous about your firewall and av, you can share the parent directory of the application with all users on your PC. That may allow limited users to run the application OK.
    <font face="Comic Sans MS" color="blue">TimOz</font>
    <img src=/S/flags/Finland.gif border=0 alt=Finland width=30 height=18> <img src=/S/flags/Australia.gif border=0 alt=Australia width=30 height=18>

Posting Permissions

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