Solved

Network access under Scheduler

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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Frequency of Windows Server updates 27 138
Installing Windows 10 on USB via VMware 10 75
Microsoft Patch for RanSomeware 16 100
Windows updates using WSUS 2 30
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
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…
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). …

752 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