Solved

Network access under Scheduler

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

760 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