I am trying to map a network drive (the WD My Cloud HDD) to be used by a service (CrashPlan backup software) in Windows 8, something that I have achieved with this script:
net use X: \\WDMYCLOUD\MyShare /u:WORKGROUP\user password /persistent:yes
However, I need to keep the map after rebooting.
Following instructions from stackoverflow I know I have to run a scrip from the SYSTEM user.
I have read about using a startup or logon script (as proposedin that solution), or using the scheduled tasks tool as perfectly explained here.
However, the best I have achieved is to see the map, but when I try to enter the X:/ drive it says that the user or password is incorrect.
What is more surprising, if I access the network drive, using the same username and password used for the script, then I can access X:, the mapping starts working.
What is wrong? Could it be that the drive is mounted for the SYSTEM account but nor for my Windows Account?
Some of the questions:
- Should I use the startup/logon script or the scheduled tasks?
- What is the problem with my password?
- Should I use "WORKGROUP" or my computer's name as the domain? Or no domain is needed?
- What about SysinternalsSuite by Mark Russinovich, which is mentioned as a first step in stackoverflow? Is it really needed if I am going to reboout the computer?
- Is creating a process as explaiend here a better solution?
Thanks a lot!