映射网络驱动器并无法保存密码 [英] Mapping a network drive and having trouble saving password

查看:156
本文介绍了映射网络驱动器并无法保存密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行批处理:

"net use j: \\192.168.1.241\sausb /user:srvfeskar\administrator Ratata12 /persistent:yes /p:yes"

重新启动Windows 8计算机后.我需要再次输入密码.

After restarting the windows 8 computer. I need to insert the password again.

推荐答案

如果我理解的话,重启后每次都不会运行相同的命令.您希望运行一次命令,然后在成功登录后无需验证即可映射驱动器.

If i understand it, you are not running the same command each time after restart. You want to run the command once and then in sucessive logins have the drive mapped without having to validate.

有两个选择

  • net use j:命令中包含/persistent:yes /savecred 开关,但不包括用户或密码数据.将要求它,然后将其保存以备后用.

  • In net use j: command include the /persistent:yes and /savecred switches, but do not include user or password data. It will be asked and then saved for later use.

使用 cmdkey 命令将所需的凭据存储在计算机中.

Use the cmdkey command to store the required credentials in the machine.

cmdkey/add:191.168.1.241/user:srvfeskar \ administrator/pass:Ratata12

然后,当使用 net use j:\\ 192.168.1.241 \ sausb/persistent:yes 时,存储的凭据将用于映射.

Then when net use j: \\192.168.1.241\sausb /persistent:yes is used, the credentials stored will be used for the mapping.

这篇关于映射网络驱动器并无法保存密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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