Solved

Network access under Scheduler

Posted on 1998-06-08
3
167 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
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

Being driven mad by email signature updates?

Having to make a change to your users’ email signatures, yet again? Feel like your head is going to explode? Rely on an Exclaimer email signature management solution to make the process simple!

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now