Networking Forums

Networking Forums > Computer Networking > Windows Networking > Batch File Problems

Reply
Thread Tools Display Modes

Batch File Problems

 
 
Nikon
Guest
Posts: n/a

 
      04-26-2006, 05:44 PM
I have an Oracle form that calls a batch file stored on the same server, this
batch file ends up being ran using the NT AUTHORITY/SYSTEM account. The
problem arises when the batch file tried to access a share or printer stored
on a network computer. Due to the nature of the NT AUTHOIRTY/SYSTEM account
it doesn't have any network access.

Because of the above I have a couple questions:
- Is it possible to allow a batch file top be ran by a specified user?
- Is it possible to allow the NT AUTHORITY/SYSTEM account the ability to
access network resources?

I also have an idea, of creating a batch file to schedule a job to run once,
and have it run the printing batch file as a specific user. Is this
something that is possible?
 
Reply With Quote
 
 
 
 
Andrei Ungureanu
Guest
Posts: n/a

 
      04-26-2006, 07:37 PM
try to run the Oracle service from a different account.
Or run your batch using RUNAS command.


--
Regards,
Andrei Ungureanu
www.eventid.net
Test our new EventReader!
http://www.altairtech.ca/eventreader...lt2.asp?ref=au


"Nikon" <(E-Mail Removed)> wrote in message
news:6D23A38D-ED17-4B46-9869-(E-Mail Removed)...
>I have an Oracle form that calls a batch file stored on the same server,
>this
> batch file ends up being ran using the NT AUTHORITY/SYSTEM account. The
> problem arises when the batch file tried to access a share or printer
> stored
> on a network computer. Due to the nature of the NT AUTHOIRTY/SYSTEM
> account
> it doesn't have any network access.
>
> Because of the above I have a couple questions:
> - Is it possible to allow a batch file top be ran by a specified user?
> - Is it possible to allow the NT AUTHORITY/SYSTEM account the ability to
> access network resources?
>
> I also have an idea, of creating a batch file to schedule a job to run
> once,
> and have it run the printing batch file as a specific user. Is this
> something that is possible?



 
Reply With Quote
 
Nikon
Guest
Posts: n/a

 
      04-26-2006, 07:50 PM
Thank you for your responsem, however upon further attempts runas can only be
ran on executables. I still have to try running the Oracle service as a
different user.

"Andrei Ungureanu" wrote:

> try to run the Oracle service from a different account.
> Or run your batch using RUNAS command.
>
>
> --
> Regards,
> Andrei Ungureanu
> www.eventid.net
> Test our new EventReader!
> http://www.altairtech.ca/eventreader...lt2.asp?ref=au
>
>
> "Nikon" <(E-Mail Removed)> wrote in message
> news:6D23A38D-ED17-4B46-9869-(E-Mail Removed)...
> >I have an Oracle form that calls a batch file stored on the same server,
> >this
> > batch file ends up being ran using the NT AUTHORITY/SYSTEM account. The
> > problem arises when the batch file tried to access a share or printer
> > stored
> > on a network computer. Due to the nature of the NT AUTHOIRTY/SYSTEM
> > account
> > it doesn't have any network access.
> >
> > Because of the above I have a couple questions:
> > - Is it possible to allow a batch file top be ran by a specified user?
> > - Is it possible to allow the NT AUTHORITY/SYSTEM account the ability to
> > access network resources?
> >
> > I also have an idea, of creating a batch file to schedule a job to run
> > once,
> > and have it run the printing batch file as a specific user. Is this
> > something that is possible?

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run a batch file remotely Dane Windows Networking 3 08-03-2009 10:25 PM
Single Batch File Vis-MCSA Windows Networking 11 12-03-2007 05:45 AM
Rinominare File con data attraverso un file Batch Daytan Windows Networking 1 09-18-2007 05:40 PM
Batch file to assign an IP configuration? boe Windows Networking 4 02-09-2005 09:11 AM
NT Batch file doesn't run Carl Gross Windows Networking 5 10-08-2003 12:51 AM



1 2 3 4 5 6 7 8 9 10 11