Re: Programs installed in one user not available under other

From: Ken Olson (keningilbert_at_earthlink.net)
Date: 01/22/04


Date: Wed, 21 Jan 2004 22:53:24 -0700

Yep, I had the same problem and my step-brother just emailed me the
solution. Intuit products such as Quicken and QuickBooks have the same
problem. The newsreader Agent as well. They all need administrative rights
to run. I've copied here...hope it helps!

If you are using XP Pro, you can have the credentials saved and you would
only have to type them in the first time. The first time it runs it will
prompt for the password and then remember it from then forward. For XP
Home, however, I don't think you can do that. You can create a batch file
and the create a shortcut to the batch file to execute the command line
version of "run as". You can also type "runas /?" at a DOS command prompt
to see the options for using this command. The command string is as
follows:

runas /savecred /user:computername\administrator notepad.exe

The "runas" is the command itself
The "savecred" is the save credentials switch
The "user:computername\administrator" is the user you want to run the app
as. In this case, the user "administrator" on the computer named
"computername" (or is in the "whs" domain).
The "notepad.exe" is the application that you want to run.

NOTE: If the file name that you want to run is in a folder with spaces in
the name such as the Program Files folder, you must include the file path
and file name in quotes. You'll also probably want to include "echo off"
and "exit" as well in the batch file. Here is an example:

@echo off
runas /savecred /user:computername\administrator "C:\Program
Files\Intuit\QuickBooks\QB.exe"
exit

Have a great week!

Ken

"ZH" <anonymous@discussions.microsoft.com> wrote in message
news:<06da01c3ddf0$920d98c0$a601280a@phx.gbl>...
> I set up our desktop with separate user IDs so that each
> can customize their session. But certain programs
> installed while I am logged in will not run properly when
> my daughter logs in, i.e. Palm Desktop, internet
> connection via the wireless adapter. What do I need to
> change to take care of this problem?



Relevant Pages

  • Re: Programs installed in one user not available under other
    ... and the create a shortcut to the batch file to execute the command line ... You can also type "runas /?" ... > my daughter logs in, i.e. Palm Desktop, internet ...
    (microsoft.public.windowsxp.security_admin)
  • how to send the " Enter Key " to batch file ?
    ... I am using command "runas" in a batch file, but it seems need to insert the ... Sadness is beatiful, Loneliness is tragical...... ...
    (microsoft.public.win2000.networking)
  • runas for windows update
    ... I want to transmit a password to the "runas" command, ... echo pwd | runas /user:adm wupdmgr.exe ...
    (microsoft.public.windowsupdate)
  • Re: net stop use by user account
    ... Create a batch file with this command: ... @echo off ... runas /user:SomeAdmin "c:\windows\system32 net stop SomeService" ... When your user runs this batch file then he must supply the local ...
    (microsoft.public.win2000.general)
  • Re: log off command
    ... I simply execute the batch file and let them play... ... If it's by the hour you don't need a script. ... You can logoff a sessionname or a session ID in each case you have to ... Is it possible to issue the command from user1's logon to logoff ...
    (microsoft.public.windowsxp.basics)