开发者

Windows service logon correctly, but it can not access the shared network folder

I have a service ALOADER which constantly accesses a shared network folder \\10.10.1.100.

Before starting the service ALOADER, i have to make the \\10.10.1.100 visible to the service ALOADER.

The problem is that, the access account of \\10.10.1.100 could not be logged on the service ALOADER, since the \\10.10.1.100 and the server running ALOADER are in different domains.

Instead, I use the "net use \\10.10.1.100" with a local account, and then log on that local account to the service ALOADER.

It works on some servers, but not the others. (the \\10.10.1.100 is accessible on Explorer, but not开发者_JS百科 on the service.)

All the server settings are similar, and the OS is Windows Server 2008 R2.

Looking for your help.

Sincerely, Jun


In your service you should call NetUseAdd to connect to the network share.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜