Mapping a network drive and having trouble saving password

前端 未结 2 1080
孤独总比滥情好
孤独总比滥情好 2021-02-13 13:10

I\'m running a batch:

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

After restarting t

2条回答
  •  无人及你
    2021-02-13 13:50

    /persistent and /savecred are mutually exclusive, and savecred cannot be used with a drive letter, you have to type two commands as follows:

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

提交回复
热议问题