Solved

Network access under Scheduler

Posted on 1998-06-08
3
186 Views
Last Modified: 2013-12-28
Hi,
I am trying to use a scheduled BAT file which accesses network UNC paths.
The script uses the NET USE \\server\share password /USER:DOMAIN\Username command.
It fails with error 1219: The supplied credentials conflict with an existing set of credentials

The odd thing is, that if I run the cmd.exe with the scheduler (instead of scheduling the BAT file, I schedule cmd.exe), and get a command window and run the same BAT file from it, it works.
0
Comment
Question by:tall
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Expert Comment

by:vvk
ID: 1781790
Your schedule service must be allowed to interact with desktop. And in parameters of AT command /INTERACTIVE swithch must be specified
0
 
LVL 5

Accepted Solution

by:
carmine earned 200 total points
ID: 1781791
tall

If you are using the TCP/IP protocol the way round this is to change your commands to:

net use * \\IPAddress\Share password /U:domain\UserName

Alternatively, you can configure the scheduler service to start using a user account that has the required access, rather than using the default 'system' account which does not have network access.
0
 

Author Comment

by:tall
ID: 1781792
The TCP/IP option is nice!
However, changing the start-up account won't work because then the script cannot interact with the desktop (and this is a must).

10x!

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question