NAS MAP DRIVE LETTER SCRIPT
6:31 PM- In Windows, go to start> run> notepad.exe.
- Copy and Paste the following output in Notepad:
NET USE M: /d
REM-Mounts NAS share (UNC Path:\\10.10.10.250\NAS_Share_Name) to drive letter "M" using Cust NAS Service Account "Cust\customername_nas_acct"
NET USE M: \\10.10.10.250\NAS_Share_Name password /user:Cust\customername_nas_acct
- Name this as file as "NAS startup script.cmd".
- Save the .cmd file into the following locations:
Windows 2003: C:\Documents and Settings\All Users\Start Menu\Programs\Startup
- Test the script manually. Start > run > right click CMD and "run as administrator".
- Change path to where NAS script is located.
- Execute NAS script and confirm mapped drive path by typing in "NET USE".
- Or open Windows Explorer and there should be drive letter "M" mapped with NAS share.
- If you get an error, check to see the NAS Service account is not locked out in the CUST domain.
0 comments