Using the Task Scheduler,
Batch C# to a Shared Folder in
When accessing from Windows Server 2012, authentication fails with IP addressing and authentication succeeds with hostname specification.
Tasks are configured to run regardless of the login state of the task invoking user.
IP addressing, \\XXX.XXX.XXX.XXX\Shared Folder Path
hostname,\\serverName\shared folder path
In addition, the authentication information is set to Windows credentials so that it does not have to be programmed.
The Windows credentials are as follows:
For kerberos authentication, I also looked at articles that fail authentication with IP addressing, but I don't feel comfortable.
Reference Page:
If anyone knows the cause, please advise.
Thank you for your cooperation.
In the case of IP, isn't the authentication domain unknown?
Why don't you check the packets on WireShark?
I'm sorry it's not a specific answer.
(Additional)
I'm sorry that I couldn't create a similar environment, but
In the case of IP, the credentials you want to use may not be available.
Why don't you create a credential manager connection using IP instead of HOST name?
366 Is there any other way to save the Python database?
355 Unity Virtual Stick Does Not Return to Center When You Release Your Finger
353 I want to create an array of sequences from "1" to a specified number.
362 To Limit Column Values to Strings in a String List Using sqlalchemy
351 I have saved several codes written in python to a visual studio file.
© 2023 OneMinuteCode. All rights reserved.