Hello I want to conect to a Network with DriveMapAdd.
This worked just fine but when you restart the Computer the Mapped drive is gone.
So i used the persistent mapping flag and that seemed to work, too.
However when the Computer is restarted I cant connect to the Network because it doesnt remember the Username and password I ave it the first time.
How do I fix this?
My Code:Func
setdrivem()
DriveMapAdd("M:", GUICtrlRead($driveM),1, GUICtrlRead($netzuser),GUICtrlRead($netzpassword) )
EndFunc
$netzuser and $netzpassword are set earlier in the gui and it works right after executing the script but i want it to stay connected