Vantage Permissions and a Batch File

Answer (via Ben in Vantage Tech Support):

Use Task Scheduler (Under My Computer Icon on Desktop) instead of WinAT to
schedule the jobs. It allows you to choose which login you want to run the
jobs. Create the job, choose Administrator, enter the password, and
badaboom-badabing. Works like a champ. Thanks Ben!

Gary Polvinale
Denton ATD

-----Original Message-----
From: Ted Kitch [mailto:onelist@...]
Sent: Wednesday, December 05, 2001 6:23 PM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Vantage Permissions and a Batch File


What account are you running the Scheduler service under? My experience has
taught me that this kinds of problems deal with the account that a service
runs under. The LocalSystem account doesn't allow access to the network.

Let me know if you need more information.

Ted Kitch
Misha1, LTD.
866-464-7421

-----Original Message-----
From: Gary Polvinale [mailto:garyp@...]
Sent: Wednesday, December 05, 2001 4:57 PM
To: Vantage@Yahoogroups. Com
Subject: [Vantage] Vantage Permissions and a Batch File

I learned a lot about NT permissions the last couple of days - but it seems
it wasn't enough. Maybe one of you knows what the problem is.

cpy2mch.bat is a simple batch file that is supposed to copy the backup of
our Vantage database file from the Vantage server over the network to a
workstation in a building across the parking lot for an extra backup of the
database. The drive on the target workstation is mapped on the Vantage
server as drive F. Cpy2mch.bat follows:

@echo off
copy E:\Epicor\Vntgbups\Current\V40\Live\backup.1
F:\Vntgbups\Current\V40\Live

I can't get cpy2mch.bat to run from AT Task Scheduler in NT40. I restricted
permissions per the documentation on the Epicor support site - users have
Read permissions on almost all folders and files in Epicor directory -
Administrators and SYSTEM have Full permissions on all.

The cpy2mch.bat file works great when you double click on the bat file
itself, but when run from WinAT, it refuses to execute. Anyone know what I
am doing wrong? On an NT web site, I found an article that "practically
guarantees it has to do with permissions." But still unable to make it
work.

I'll take any WAG at this point.

Thanks,

Gary Polvinale
Denton ATD


[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor


ADVERTISEMENT

<http://rd.yahoo.com/M=178320.1681224.3270152.1261774/D=egroupweb/S=17050071
83:HM/A=879171/R=0/*http://www.fastweb.com/ib/yahoo-57f>


<http://us.adserver.yahoo.com/l?M=178320.1681224.3270152.1261774/D=egroupmai
l/S=1705007183:HM/A=879171/rand=963526858>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.


[Non-text portions of this message have been removed]



Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
I learned a lot about NT permissions the last couple of days - but it seems
it wasn't enough. Maybe one of you knows what the problem is.

cpy2mch.bat is a simple batch file that is supposed to copy the backup of
our Vantage database file from the Vantage server over the network to a
workstation in a building across the parking lot for an extra backup of the
database. The drive on the target workstation is mapped on the Vantage
server as drive F. Cpy2mch.bat follows:

@echo off
copy E:\Epicor\Vntgbups\Current\V40\Live\backup.1
F:\Vntgbups\Current\V40\Live

I can't get cpy2mch.bat to run from AT Task Scheduler in NT40. I restricted
permissions per the documentation on the Epicor support site - users have
Read permissions on almost all folders and files in Epicor directory -
Administrators and SYSTEM have Full permissions on all.

The cpy2mch.bat file works great when you double click on the bat file
itself, but when run from WinAT, it refuses to execute. Anyone know what I
am doing wrong? On an NT web site, I found an article that "practically
guarantees it has to do with permissions." But still unable to make it
work.

I'll take any WAG at this point.

Thanks,

Gary Polvinale
Denton ATD


[Non-text portions of this message have been removed]
What account are you running the Scheduler service under? My experience has
taught me that this kinds of problems deal with the account that a service
runs under. The LocalSystem account doesn't allow access to the network.

Let me know if you need more information.

Ted Kitch
Misha1, LTD.
866-464-7421

-----Original Message-----
From: Gary Polvinale [mailto:garyp@...]
Sent: Wednesday, December 05, 2001 4:57 PM
To: Vantage@Yahoogroups. Com
Subject: [Vantage] Vantage Permissions and a Batch File

I learned a lot about NT permissions the last couple of days - but it seems
it wasn't enough. Maybe one of you knows what the problem is.

cpy2mch.bat is a simple batch file that is supposed to copy the backup of
our Vantage database file from the Vantage server over the network to a
workstation in a building across the parking lot for an extra backup of the
database. The drive on the target workstation is mapped on the Vantage
server as drive F. Cpy2mch.bat follows:

@echo off
copy E:\Epicor\Vntgbups\Current\V40\Live\backup.1
F:\Vntgbups\Current\V40\Live

I can't get cpy2mch.bat to run from AT Task Scheduler in NT40. I restricted
permissions per the documentation on the Epicor support site - users have
Read permissions on almost all folders and files in Epicor directory -
Administrators and SYSTEM have Full permissions on all.

The cpy2mch.bat file works great when you double click on the bat file
itself, but when run from WinAT, it refuses to execute. Anyone know what I
am doing wrong? On an NT web site, I found an article that "practically
guarantees it has to do with permissions." But still unable to make it
work.

I'll take any WAG at this point.

Thanks,

Gary Polvinale
Denton ATD


[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor


ADVERTISEMENT

<http://rd.yahoo.com/M=178320.1681224.3270152.1261774/D=egroupweb/S=17050071
83:HM/A=879171/R=0/*http://www.fastweb.com/ib/yahoo-57f>


<http://us.adserver.yahoo.com/l?M=178320.1681224.3270152.1261774/D=egroupmai
l/S=1705007183:HM/A=879171/rand=963526858>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.


[Non-text portions of this message have been removed]
Gary,
If you are scheduling this on the remote server but it it not your PDC you
may need to set some permissions on the PDC. I had the same issue about 6
months ago.

KnowledgeBase article Q222628 states (paraphrased) "In order to schedule
jobs on a BDC the account being used must have 'Log on as batch job" set in
the user rights policy settings". When I added "Administrators" to the
"Logon as Batch Job" rights group on the PDC it began working. Maybe this
is what you need to check.

-Todd Caughey
Harvey Vogel Mfg. Co.

-----Original Message-----
From: Gary Polvinale [mailto:garyp@...]
Sent: Wednesday, December 05, 2001 4:57 PM
To: Vantage@Yahoogroups. Com
Subject: [Vantage] Vantage Permissions and a Batch File


I learned a lot about NT permissions the last couple of days - but it seems
it wasn't enough. Maybe one of you knows what the problem is.

cpy2mch.bat is a simple batch file that is supposed to copy the backup of
our Vantage database file from the Vantage server over the network to a
workstation in a building across the parking lot for an extra backup of the
database. The drive on the target workstation is mapped on the Vantage
server as drive F. Cpy2mch.bat follows:

@echo off
copy E:\Epicor\Vntgbups\Current\V40\Live\backup.1
F:\Vntgbups\Current\V40\Live

I can't get cpy2mch.bat to run from AT Task Scheduler in NT40. I restricted
permissions per the documentation on the Epicor support site - users have
Read permissions on almost all folders and files in Epicor directory -
Administrators and SYSTEM have Full permissions on all.

The cpy2mch.bat file works great when you double click on the bat file
itself, but when run from WinAT, it refuses to execute. Anyone know what I
am doing wrong? On an NT web site, I found an article that "practically
guarantees it has to do with permissions." But still unable to make it
work.

I'll take any WAG at this point.

Thanks,

Gary Polvinale
Denton ATD


[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor

ADVERTISEMENT

<http://rd.yahoo.com/M=178320.1681224.3270152.1261774/D=egroupweb/S=17050071
83:HM/A=879171/R=0/*http://www.fastweb.com/ib/yahoo-57f>

<http://us.adserver.yahoo.com/l?M=178320.1681224.3270152.1261774/D=egroupmai
l/S=1705007183:HM/A=879171/rand=963526858>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]
Another thing to remember is that mapped drives only exist while you are
logged on. If those are drives mapped to a share and you want this to run
while nobody is logged on to the system, you will have to include commands
to map the drives like this:

net use <drive> \\<server>\<share>

and then to disconnect the drive after you are done:

net use <drive> /delete

Brian Boyes,
Systems Administrator,
Precision Resource Canada Ltd.
<http://www.precisionresource.com>
<mailto:brianb@...>

> -----Original Message-----
> From: Gary Polvinale [mailto:garyp@...]
> Sent: Wednesday, December 05, 2001 5:57 PM
> To: Vantage@Yahoogroups. Com
> Subject: [Vantage] Vantage Permissions and a Batch File
>
>
> I learned a lot about NT permissions the last couple of days
> - but it seems
> it wasn't enough. Maybe one of you knows what the problem is.
>
> cpy2mch.bat is a simple batch file that is supposed to copy
> the backup of
> our Vantage database file from the Vantage server over the
> network to a
> workstation in a building across the parking lot for an extra
> backup of the
> database. The drive on the target workstation is mapped on
> the Vantage
> server as drive F. Cpy2mch.bat follows:
>
> @echo off
> copy E:\Epicor\Vntgbups\Current\V40\Live\backup.1
> F:\Vntgbups\Current\V40\Live
>
> I can't get cpy2mch.bat to run from AT Task Scheduler in
> NT40. I restricted
> permissions per the documentation on the Epicor support site
> - users have
> Read permissions on almost all folders and files in Epicor directory -
> Administrators and SYSTEM have Full permissions on all.
>
> The cpy2mch.bat file works great when you double click on the bat file
> itself, but when run from WinAT, it refuses to execute.
> Anyone know what I
> am doing wrong? On an NT web site, I found an article that
> "practically
> guarantees it has to do with permissions." But still unable
> to make it
> work.
>
> I'll take any WAG at this point.
>
> Thanks,
>
> Gary Polvinale
> Denton ATD
>
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> See What You've Been Missing!
> Amazing Wireless Video Camera.
> Click here
> http://us.click.yahoo.com/75YKVC/7.PDAA/ySSFAA/PhFolB/TM
> --------------------------------------------------------------
> -------~->
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:
> You must have already linked your email address to a yahoo id
> to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report
> Builder and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Todd,

I don't know if what you said would be affecting it in any way, because...
(ok, slap me and send me home) I don't have domains setup on this network
(stop throwing the tomatoes). Long story, but the short of it is I'm stuck
with peer-to-peer for now. Is there a similar setting on a peer-to-peer
setup that would cause the same thing? -Gary

-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Thursday, December 06, 2001 9:05 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Vantage Permissions and a Batch File


Gary,
If you are scheduling this on the remote server but it it not your PDC you
may need to set some permissions on the PDC. I had the same issue about 6
months ago.

KnowledgeBase article Q222628 states (paraphrased) "In order to schedule
jobs on a BDC the account being used must have 'Log on as batch job" set in
the user rights policy settings". When I added "Administrators" to the
"Logon as Batch Job" rights group on the PDC it began working. Maybe this
is what you need to check.

-Todd Caughey
Harvey Vogel Mfg. Co.

-----Original Message-----
From: Gary Polvinale [mailto:garyp@...]
Sent: Wednesday, December 05, 2001 4:57 PM
To: Vantage@Yahoogroups. Com
Subject: [Vantage] Vantage Permissions and a Batch File


I learned a lot about NT permissions the last couple of days - but it seems
it wasn't enough. Maybe one of you knows what the problem is.

cpy2mch.bat is a simple batch file that is supposed to copy the backup of
our Vantage database file from the Vantage server over the network to a
workstation in a building across the parking lot for an extra backup of the
database. The drive on the target workstation is mapped on the Vantage
server as drive F. Cpy2mch.bat follows:

@echo off
copy E:\Epicor\Vntgbups\Current\V40\Live\backup.1
F:\Vntgbups\Current\V40\Live

I can't get cpy2mch.bat to run from AT Task Scheduler in NT40. I restricted
permissions per the documentation on the Epicor support site - users have
Read permissions on almost all folders and files in Epicor directory -
Administrators and SYSTEM have Full permissions on all.

The cpy2mch.bat file works great when you double click on the bat file
itself, but when run from WinAT, it refuses to execute. Anyone know what I
am doing wrong? On an NT web site, I found an article that "practically
guarantees it has to do with permissions." But still unable to make it
work.

I'll take any WAG at this point.

Thanks,

Gary Polvinale
Denton ATD


[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor

ADVERTISEMENT

<http://rd.yahoo.com/M=178320.1681224.3270152.1261774/D=egroupweb/S=17050071
83:HM/A=879171/R=0/*http://www.fastweb.com/ib/yahoo-57f>

<http://us.adserver.yahoo.com/l?M=178320.1681224.3270152.1261774/D=egroupmai
l/S=1705007183:HM/A=879171/rand=963526858>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]



Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Brian/Gary-

Can either of you or someone direct me to the link about NT permissions on
the Epicor webpage for the server directories. I would like to know the
correct settings per folders/files for the server to ensure a more secure
system. I am on Vantage 4.00.904 with aspirations of moving to 5.1
first/second quarter 2002.


_________________
John Koppes
Systems Coordinator
PRECISION MACHINE AND MANUFACTURING COMPANY
Address: PO Box 157
Story City, Iowa 50248
Phone: (515) 733-5181 Ext. 256
Fax: (515) 733-4220



Brian Boyes
<brianb@pr-cn. To: "'vantage@yahoogroups.com'" <vantage@yahoogroups.com>
com> cc:
Subject: RE: [Vantage] Vantage Permissions and a Batch File
12/06/2001
08:51 AM
Please respond
to vantage






Another thing to remember is that mapped drives only exist while you are
logged on. If those are drives mapped to a share and you want this to run
while nobody is logged on to the system, you will have to include commands
to map the drives like this:

net use <drive> \\<server>\<share>

and then to disconnect the drive after you are done:

net use <drive> /delete

Brian Boyes,
Systems Administrator,
Precision Resource Canada Ltd.
<http://www.precisionresource.com>
<mailto:brianb@...>

> -----Original Message-----
> From: Gary Polvinale [mailto:garyp@...]
> Sent: Wednesday, December 05, 2001 5:57 PM
> To: Vantage@Yahoogroups. Com
> Subject: [Vantage] Vantage Permissions and a Batch File
>
>
> I learned a lot about NT permissions the last couple of days
> - but it seems
> it wasn't enough. Maybe one of you knows what the problem is.
>
> cpy2mch.bat is a simple batch file that is supposed to copy
> the backup of
> our Vantage database file from the Vantage server over the
> network to a
> workstation in a building across the parking lot for an extra
> backup of the
> database. The drive on the target workstation is mapped on
> the Vantage
> server as drive F. Cpy2mch.bat follows:
>
> @echo off
> copy E:\Epicor\Vntgbups\Current\V40\Live\backup.1
> F:\Vntgbups\Current\V40\Live
>
> I can't get cpy2mch.bat to run from AT Task Scheduler in
> NT40. I restricted
> permissions per the documentation on the Epicor support site
> - users have
> Read permissions on almost all folders and files in Epicor directory -
> Administrators and SYSTEM have Full permissions on all.
>
> The cpy2mch.bat file works great when you double click on the bat file
> itself, but when run from WinAT, it refuses to execute.
> Anyone know what I
> am doing wrong? On an NT web site, I found an article that
> "practically
> guarantees it has to do with permissions." But still unable
> to make it
> work.
>
> I'll take any WAG at this point.
>
> Thanks,
>
> Gary Polvinale
> Denton ATD
>
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> See What You've Been Missing!
> Amazing Wireless Video Camera.
> Click here
> http://us.click.yahoo.com/75YKVC/7.PDAA/ySSFAA/PhFolB/TM
> --------------------------------------------------------------
> -------~->
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:
> You must have already linked your email address to a yahoo id
> to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report
> Builder and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





______________________________________________________________________

This document should only be read by those persons to whom it is
addressed and is not intended to be relied upon by any person without
subsequent written confirmation of its contents. Accordingly, PRECISION
MACHINE AND MANUFACTURING COMPANY disclaims all responsibility and accepts
no liability, including in negligence, for the consequences for any person
acting, or refraining from acting, on such information prior to the receipt
by those persons of subsequent written confirmation.

If you have received this E-mail / Fax message in error, please notify
PRECISION MACHINE AND MANUFACTURING COMPANY immediately by telephone.
Please also destroy and delete the message.

Contact:
By Phone: Systems Administrator at (515)-733-5181
By Email: sysadmin@...

Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and/or publication of this E-mail / Fax message
is strictly prohibited.