在Windows中保留Azure文件共享凭据不起作用 [英] Persisting Azure file share credentials in Windows does not work

查看:103
本文介绍了在Windows中保留Azure文件共享凭据不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这个主题上花了太多时间:

I've spent (too) many hours now on this topic:

尽管有一个很好的文档(https://docs.microsoft.com/zh-cn/azure/storage/files/storage-how-to-use-files-windows),但我找不到原因我的凭据没有保留下来.我做了以下步骤

Although there is a quite good doc (https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows) I can't find out why my credentials are not made persistent. I did the following steps

  1. 我有一个资源组,VM和一个存储帐户,包括.存储帐户密钥,已启用端口445并测试了连接=>到目前为止一切正常
  2. 我使用帮助中的PowerShell脚本使文件共享凭据持久化.结果,我在VM上的凭据管理工具中看到Windows凭据.类似于此保存

当前存储的凭据:

目标:Domain:target =<存储帐户-主机名>
类型:域密码
用户:AZURE \<您的存储帐户名称>

Currently stored credentials:

Target: Domain:target=<storage-account-host-name>
Type: Domain Password
User: AZURE\<your-storage-account-name>

3.我在VM中使用PowerShell挂载了Azure文件共享.工作也很好.

3. I mounted the azure file share with PowerShell within the VM. Worked also fine.

现在:当我重新启动VM时,会显示驱动器,但VM以无法重新连接网络驱动器"开头.我需要输入网络凭据(StorageAccountKey)才能连接驱动器.否则它将无法正常工作.

Now: when I reboot the VM the drive is shown up, but the VM starts with "could not reconnect network drive". I need to enter the network credentials (StorageAccountKey) to get the drive connected. Otherwise it wont work.

重新启动后修复此问题需要做些什么?

What needs to be done to geht this thing fixed for after rebooting?

预先感谢

RNW

推荐答案

您好,AzureRNW,

Hello AzureRNW,

尝试以下指南中提供的建议:重新启动后保持与Azure文件的连接 这里.看看这是否对您有帮助.

Try the suggestions provided in the following guides on Persisting connections to Azure files across reboots here and here . See if this helps you.


这篇关于在Windows中保留Azure文件共享凭据不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆