NAS MAP DRIVE LETTER SCRIPT

6:31 PM

  • In Windows, go to start> run> notepad.exe.
  • Copy and Paste the following output in Notepad:
REM-This script will mount a NAS share via drive letter "M"
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 2008: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
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.

You Might Also Like

0 comments

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results