Run As Different User

Ask a Question related to Windows Setup, Administration & Security, Design and Development.

  1. #1

    Default Re: Run As Different User

    Alex Ivanov wrote:
    > How can I make a program always run with specific user credentials without
    > prompting for User ID and password?
    >
    > Win XP home
    I don't think you can because of the associated security risk. Somebody
    correct me if I'm wrong.

    *-------=== Peter Ericson ===-------*
    [url]http://www.pericson.com/[/url]
    *-----------------------------------*

    Peter Ericson Guest

  2. Similar Questions and Discussions

    1. Web Service uses ASPNET user although changed to administrator user in IIS
      Hi My problem is this In the Website (of my webservice) in the IIS, I've changed the ASPNET user in the Directory Security to administrator user,...
    2. user levels, cell phones, and user registration, plus cookies
      I need to quote a client on the following and need to know how much work is involved, ie hours. The programming may be done in PHP (unless its...
    3. Can we fire a user control event when the user does the action
      Can we fire a user control event when the user does the action not in the webservers or custom control event? What actaully I want is to handle a...
    4. Number of admin user accounts and old user name still working
      Is it recommended to have more than one administrator for a computer? The reason I ask is I read that the built-in administrator account is only...
    5. User changing something on a form makes asp.net take user to login page
      Hi, I have an application that displays the database table records on the web page, the user can navigate thru the contents and make changes and...
  3. #2

    Default Re: Run As Different User

    Greetings --

    This is quite common if the software was designed for Win9x/Me, or
    if it was intended for WinNT/2K/XP, but was improperly designed. Quite
    simply, the installation routine for this application doesn't "know"
    how to handle individual user profiles, or the application tries to
    make changes to "off-limits" sections of the registry. Quite often,
    you can make this software available to other users by _copying_ the
    Start Menu folder and Desktop folder shortcuts from the user profile
    from which the software was installed in the corresponding folders in
    the user profile(s) in which you'd like the software to be accessible.
    If the application is something that can/should be made available to
    all current and future users, copying the shortcuts into the
    corresponding locations of the All Users profile will do the trick.

    NOTE: This may not work if the software requires access to parts
    of the hard drive and/or registry that are not normally accessible to
    regular users. (This won't occur if the application was properly
    written.) If this does prove to be the case, however, you're left
    with two options: Either grant the necessary users appropriate higher
    access privileges (either as Power Users or local administrators), or
    replace the application with one that was properly designed
    specifically for WinNT/2K/XP.

    Some Programs Do Not Work If You Log On from Limited Account
    [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;q307091[/url]

    Additionally, here are a couple of tips suggested, in a reply to a
    different post, by MS-MVP Kent W. England:

    "If your game or application works with admin accounts, but not with
    limited accounts, you can fix it to allow limited users to access the
    program files folder with "change" capability rather than "read" which
    is the default.

    C:\>cacls "Program Files\appfolder" /e /t /p users:c

    where "appfolder" is the folder where the application is installed.

    If you wish to undo these changes, then run

    C:\>cacls "Program Files\appfolder" /e /t /p users:r

    If you still have a problem with running the program or saving
    settings on limited accounts, you may need to change permissions on
    the registry keys. Run regedit.exe and go to HKLM\Software\vendor\app,
    where "vendor\app" is the key that the software vendor used for your
    specific program. Change the permissions on this key to allow Users
    full control."

    To answer your non-technical question: Yes, children most
    certainly should be constantly supervised when they're using a
    computer that can connect to the Internet.

    Bruce Chambers

    --
    Help us help you:
    [url]http://dts-l.org/goodpost.htm[/url]
    [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url]

    You can have peace. Or you can have freedom. Don't ever count on
    having both at once. -- RAH


    "Alex Ivanov" <consul@collegeclub.com> wrote in message
    news:%23kVO7t8TDHA.1572@TK2MSFTNGP12.phx.gbl...
    > Bigger is the security risk if I give my Admin password to a
    non-admin user.
    > And the application won't run without admin's permissions. Does
    Microsoft
    > thinks that I should always stand behind my kids shoulder only to
    let them
    > play their favorite game?
    > --
    > Alex.
    >
    > "Peter Ericson" <peterNOSPAM@NOSPAMpericson.com> wrote in message
    > news:%237y9$k6TDHA.2220@TK2MSFTNGP11.phx.gbl...
    > > Alex Ivanov wrote:
    > >
    > > > How can I make a program always run with specific user
    credentials
    > without
    > > > prompting for User ID and password?
    > > >
    > > > Win XP home
    > >
    > > I don't think you can because of the associated security risk.
    Somebody
    > > correct me if I'm wrong.
    > >
    > > *-------=== Peter Ericson ===-------*
    > > [url]http://www.pericson.com/[/url]
    > > *-----------------------------------*
    > >
    >
    >

    Bruce Chambers Guest

  4. #3

    Default Re: Run As Different User

    Thanks,
    I will try these suggestions.

    --
    Alex.

    "Bruce Chambers" <bchambers@nospam.cableone.net> wrote in message
    news:vhp3sjmmq5hua3@corp.supernews.com...
    > Greetings --
    >
    > This is quite common if the software was designed for Win9x/Me, or
    > if it was intended for WinNT/2K/XP, but was improperly designed. Quite
    > simply, the installation routine for this application doesn't "know"
    > how to handle individual user profiles, or the application tries to
    > make changes to "off-limits" sections of the registry. Quite often,
    > you can make this software available to other users by _copying_ the
    > Start Menu folder and Desktop folder shortcuts from the user profile
    > from which the software was installed in the corresponding folders in
    > the user profile(s) in which you'd like the software to be accessible.
    > If the application is something that can/should be made available to
    > all current and future users, copying the shortcuts into the
    > corresponding locations of the All Users profile will do the trick.
    >
    > NOTE: This may not work if the software requires access to parts
    > of the hard drive and/or registry that are not normally accessible to
    > regular users. (This won't occur if the application was properly
    > written.) If this does prove to be the case, however, you're left
    > with two options: Either grant the necessary users appropriate higher
    > access privileges (either as Power Users or local administrators), or
    > replace the application with one that was properly designed
    > specifically for WinNT/2K/XP.
    >
    > Some Programs Do Not Work If You Log On from Limited Account
    > [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;q307091[/url]
    >
    > Additionally, here are a couple of tips suggested, in a reply to a
    > different post, by MS-MVP Kent W. England:
    >
    > "If your game or application works with admin accounts, but not with
    > limited accounts, you can fix it to allow limited users to access the
    > program files folder with "change" capability rather than "read" which
    > is the default.
    >
    > C:\>cacls "Program Files\appfolder" /e /t /p users:c
    >
    > where "appfolder" is the folder where the application is installed.
    >
    > If you wish to undo these changes, then run
    >
    > C:\>cacls "Program Files\appfolder" /e /t /p users:r
    >
    > If you still have a problem with running the program or saving
    > settings on limited accounts, you may need to change permissions on
    > the registry keys. Run regedit.exe and go to HKLM\Software\vendor\app,
    > where "vendor\app" is the key that the software vendor used for your
    > specific program. Change the permissions on this key to allow Users
    > full control."
    >
    > To answer your non-technical question: Yes, children most
    > certainly should be constantly supervised when they're using a
    > computer that can connect to the Internet.
    >
    > Bruce Chambers
    >
    > --
    > Help us help you:
    > [url]http://dts-l.org/goodpost.htm[/url]
    > [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url]
    >
    > You can have peace. Or you can have freedom. Don't ever count on
    > having both at once. -- RAH
    >
    >
    > "Alex Ivanov" <consul@collegeclub.com> wrote in message
    > news:%23kVO7t8TDHA.1572@TK2MSFTNGP12.phx.gbl...
    > > Bigger is the security risk if I give my Admin password to a
    > non-admin user.
    > > And the application won't run without admin's permissions. Does
    > Microsoft
    > > thinks that I should always stand behind my kids shoulder only to
    > let them
    > > play their favorite game?
    > > --
    > > Alex.
    > >
    > > "Peter Ericson" <peterNOSPAM@NOSPAMpericson.com> wrote in message
    > > news:%237y9$k6TDHA.2220@TK2MSFTNGP11.phx.gbl...
    > > > Alex Ivanov wrote:
    > > >
    > > > > How can I make a program always run with specific user
    > credentials
    > > without
    > > > > prompting for User ID and password?
    > > > >
    > > > > Win XP home
    > > >
    > > > I don't think you can because of the associated security risk.
    > Somebody
    > > > correct me if I'm wrong.
    > > >
    > > > *-------=== Peter Ericson ===-------*
    > > > [url]http://www.pericson.com/[/url]
    > > > *-----------------------------------*
    > > >
    > >
    > >
    >
    >

    Alex Ivanov Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139