Last active
August 29, 2015 14:13
-
-
Save leothelocust/66f80f9b32da1861eaa8 to your computer and use it in GitHub Desktop.
Map Network Drives on Startup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Windows Startup Program to remove and remap mapped network | |
REM drives on startup/login to Windows | |
REM ============================================================ | |
REM Change "xxxxx" to user's username | |
REM (same as EideExcelerate) | |
REM Change "*****" to user's password | |
REM (same as EideExcelerate) | |
REM ============================================================ | |
@echo off | |
set user=verneide\xxxxx | |
set pass=***** | |
@echo on | |
NET USE /DELETE A: | |
NET USE /DELETE B: | |
NET USE /DELETE C: | |
NET USE /DELETE D: | |
NET USE /DELETE E: | |
NET USE /DELETE F: | |
NET USE /DELETE G: | |
NET USE /DELETE H: | |
NET USE /DELETE I: | |
NET USE /DELETE J: | |
NET USE /DELETE K: | |
NET USE /DELETE L: | |
NET USE /DELETE M: | |
NET USE /DELETE N: | |
NET USE /DELETE O: | |
NET USE /DELETE P: | |
NET USE /DELETE Q: | |
NET USE /DELETE R: | |
NET USE /DELETE S: | |
NET USE /DELETE T: | |
NET USE /DELETE U: | |
NET USE /DELETE V: | |
NET USE /DELETE W: | |
NET USE /DELETE X: | |
NET USE /DELETE Y: | |
NET USE /DELETE Z: | |
REM ============================================================ | |
REM Adjust this section for the individual user's needs | |
REM Including changing the IP address for the Video team | |
REM (i.e. \\10.230.77.1\video_projects) | |
REM ============================================================ | |
NET USE M: \\10.221.77.20\filemaker %pass% /USER:%user% | |
NET USE N: \\10.221.77.1\client_folder %pass% /USER:%user% | |
NET USE Q: \\10.221.77.20\quickbooks %pass% /USER:%user% | |
NET USE R: \\10.221.77.1\vvi_resource %pass% /USER:%user% | |
NET USE V: \\10.221.77.1\video_projects %pass% /USER:%user% | |
NET USE W: \\10.221.77.1\web %pass% /USER:%user% | |
NET USE | |
REM ============================================================ | |
REM Uncomment the line below if you would like to see the output | |
REM PAUSE | |
REM ============================================================ | |
EXIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment