Re: please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.

From: Jim Carlock (anonymous_at_127.0.0.1)
Date: 04/09/04


Date: Fri, 9 Apr 2004 00:59:31 -0400

What about using the RUNAS command inside of the batch
file to run the services. This will allow the services to run with
Administrative options but it will also mean that if she opens
and reads that file rather than run's it, she'll be able to see
administrative passwords.

RunAs is an executable file found in the Windows\System32
folder, as runas.exe.

Typing runas at the command prompt will give you the options
for using it.

Let me know if that helps at all.

-- 
Jim Carlock
http://www.microcosmotalk.com/
Post replies to the newsgroup.
"S.L.NARASIMHAM" <slnsgr@hotmail.com> wrote in message
news:%23jQzTqeHEHA.2260@TK2MSFTNGP09.phx.gbl...
no it doesnot work that way.
i'll try to be clearer.
i have downloaded and installed oracle.
i have 2 user profiles listed as already mentioned.
oracle had installed several services listed in services.msc
since the system was taking a long time to boot, i disabled all of them thru
services.msc and set two services to be start ed manually in a batch file
which i run when i need to run sql plus.
this bactch file runs well in my user profile and since these two services
are started, i can run sql.
if i log out without closing these services , my niece logging on in her
profile can run sql plus.
if she boots and logs into her profile, she cannot run sql as the batch file
doesnot work --giving a system error--access denied message for the two
commands listed in the batch file.
so it is a question of starting these two services in her profile by running
this batch file.
none of the options suggested by the group are available  to me in this
file's properties.
the batch file goes like this.
<net start OracleOraHome92TNSListener
net start OracleServicePADMA504
pause> ( the <> added by me now &here)
 waiting for enlightenment.
S.L.Narasimham.
"Vagabond Software" <carlfenley-X-@-X-san.rr.com> wrote in message
news:uJP%23EYdHEHA.3248@TK2MSFTNGP12.phx.gbl...
> There are a few things we can try.
>
> First, logged in as yourself or Administrator, go to Start-All
> Programs-<Your Oracle App> and right-click it, then select Properties from
> the pop-up menu.  Go to the Security tab and add your daughter to the
> permitted users.
>
> I hope that works...
>
> - carl
>
>
> "S.L.NARASIMHAM" <slnsgr@hotmail.com> wrote in message
> news:eq6B2OdHEHA.2480@tk2msftngp13.phx.gbl...
> >
> >
> > i have set up two user accounts on my system running xp.one in my name
> with
> > administrative privileges and one in my niece's name with only user
> > privileges.
> > i have set some services to start by manual method. ( for example oracle
> TNS
> > listener and database)
> > they can be started by me and i can run sql but when my niece( the
primary
> > user of oracle) logs on in her profile, the same batch file doesnot
allow
> > her to start the services saying access denied.
> > she has to log into my profile to work on oracle.
> > i donot want to give her the privileges as administrator because she is
> > inexperienced and might mess up the whole thing.
> > suggestions for a work around please.
> > TIA.
> > S.L.Narasimham.
> >
> >
> >
>
>


Relevant Pages

  • Re: please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.
    ... seem like redirection operators work with the RunAs command. ... > i have downloaded and installed oracle. ... > this bactch file runs well in my user profile and since these two services ... > commands listed in the batch file. ...
    (microsoft.public.windowsxp.general)
  • Re: please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.
    ... i have downloaded and installed oracle. ... profile can run sql plus. ... if she boots and logs into her profile, she cannot run sql as the batch file ... doesnot work --giving a system error--access denied message for the two ...
    (microsoft.public.windowsxp.general)
  • Re: please answer- 2nd post
    ... First, logged in as yourself or Administrator, go to Start-All ... Programs-<Your Oracle App> and right-click it, ... > administrative privileges and one in my niece's name with only user ... > she has to log into my profile to work on oracle. ...
    (microsoft.public.windowsxp.general)
  • Re: please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.
    ... First, logged in as yourself or Administrator, go to Start-All ... Programs-<Your Oracle App> and right-click it, ... > administrative privileges and one in my niece's name with only user ... > she has to log into my profile to work on oracle. ...
    (microsoft.public.windowsxp.general)
  • Re: Error code 0x80004005 with outlook
    ... regsvr32.exe XLSpeedGenASP.dll and save it as a batch file. ... Right click on this batch file and say run as administrator. ... not able to load the dll, then copy the dll to the expected path and do ... tripat78's Profile: http://forums.techarena.in/members/95283.htm ...
    (microsoft.public.windows.vista.general)