如何在Windows上访问共享文件夹而不提示用户名/密码?
我的基于 selenium 和 java 的应用程序需要经常从共享文件夹 (\\some-server-ip\SharedfolderName
) 读取/上传小文件。
当我在多个客户端计算机上运行应用程序时(服务器和客户端都可以看到它们的 IP),系统会提示我提供用户名和密码以连接到服务器 IP,然后应用程序才能访问共享文件夹。
我已向所有人
、匿名登录
组授予完全控制
权限的共享文件夹。
我还将 \\some-server-ip\SharedfolderName
添加到本地安全策略
网络访问:可以匿名访问的共享
但是,它不起作用。
有趣的是,如果我第一次手动输入用户名/密码,它在该特定客户端的后续运行中工作正常。我无法在所有 700 多台客户端计算机上手动输入用户名/密码。
过去三天我一直在努力让它发挥作用,但没有取得多大成功。 任何帮助/建议将不胜感激。
PS 我一直在尝试不同的操作系统(2008、2003、Win7)来托管共享文件夹,迫切希望让它以某种方式工作。
My selenium and java based application needs to frequently read/upload a small-size file from a shared folder (\\some-server-ip\SharedfolderName
).
When I run the application on multiple client machine (both server and clients can see their IPs) I am prompted to provide username and password to connect to server IP before the application can access the shared folder.
I have shared folder given full control
privileges to everyone
, anonymous logon
group.
I also added \\some-server-ip\SharedfolderName
to local security policy's
Network access: Shares that can be accessed anonymously
But, it is not working.
Interestingly, if I enter the username/password manually first time, it works fine in subsequent runs on that particular client. I cannot manually enter username/passwords on all 700+ of the client machines.
I have been trying to get this to work from past three days, without much success.
Any help/suggestion would be greatly appreciated.
P.S. I have been trying different OS (2008, 2003, Win7) for hosting the shared folder, in a desperate hope to get it to work somehow.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在您的客户端上映射网络驱动器?
try mapping network drive on your client ?