<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx</link><description>Often it is asked how to create a batch frile to map network drives for users at logon. Here's how I did it at one site where I had a small number of users, but each user had a different set of mapped drives they needed to access. Note, in this posting</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1712451</link><pubDate>Mon, 03 Aug 2009 12:02:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1712451</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1712451" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1679232</link><pubDate>Thu, 19 Mar 2009 01:16:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1679232</guid><dc:creator>fuker ms</dc:creator><description>&lt;p&gt;in sbs server you don need to do a batch file, in AD, on properties of user o can map a drive on logon there, then you give permision on shares for any users &lt;/p&gt;
&lt;p&gt;simple!!!!!! &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1679232" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1654522</link><pubDate>Wed, 19 Nov 2008 05:49:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1654522</guid><dc:creator>Wijaya</dc:creator><description>&lt;p&gt;How to access the password protected network folder using the batch file?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1654522" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1651452</link><pubDate>Mon, 20 Oct 2008 23:09:04 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1651452</guid><dc:creator>Jamie</dc:creator><description>&lt;p&gt;Guys anyway to auto config the users exchange server each time they logon to a new machine?&lt;/p&gt;
&lt;p&gt;i.e. not have to input exchange server mailbox and press check name....the point been to link the mailbox to that account?&lt;/p&gt;
&lt;p&gt;I have seen this done but can&amp;#39;t work out how to do it&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1651452" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1648308</link><pubDate>Fri, 19 Sep 2008 12:56:05 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1648308</guid><dc:creator>owais</dc:creator><description>&lt;p&gt;hi to all&lt;/p&gt;
&lt;p&gt;dear i want to make a simple map drive batch file for my users which can be run for automaticly add the map network drive in my client desktop and my computer.. please help or email me on owais.lhr@gmail.com&lt;/p&gt;
&lt;p&gt;thanks waiting for your reply.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1648308" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1614529</link><pubDate>Mon, 05 May 2008 23:36:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1614529</guid><dc:creator>Theo</dc:creator><description>&lt;p&gt;To rename a drive:&lt;/p&gt;
&lt;p&gt;Set oShell = CreateObject(&amp;quot;Shell.Application&amp;quot;)&lt;/p&gt;
&lt;p&gt;oShell.NameSpace(mDrive).Self.Name = &amp;quot;My Documents&amp;quot;&lt;/p&gt;
&lt;p&gt;Where mDrive is the mapped drive. E.g. F:\&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1614529" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1602316</link><pubDate>Thu, 24 Apr 2008 08:00:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1602316</guid><dc:creator>Rick</dc:creator><description>&lt;p&gt;I was writing a batch file to map my network drive.&lt;/p&gt;
&lt;p&gt;It successful map the drive, but something is different here.&lt;/p&gt;
&lt;p&gt;Example in the script:&lt;/p&gt;
&lt;p&gt;Net use M:\\servername\IT&lt;/p&gt;
&lt;p&gt;So, you should see your mapped drive is :&lt;/p&gt;
&lt;p&gt;IT on &amp;#39;servername&amp;#39;(M:)&lt;/p&gt;
&lt;p&gt;but what I see here is:&lt;/p&gt;
&lt;p&gt;IT on &amp;#39;servername&amp;#39;(servername)(M:)&lt;/p&gt;
&lt;p&gt;why the (servername) show overthere ? Pls advise.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1602316" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1585686</link><pubDate>Sun, 13 Apr 2008 21:40:46 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1585686</guid><dc:creator>mark</dc:creator><description>&lt;p&gt;@Rianne&lt;/p&gt;
&lt;p&gt;you don&amp;#39;t have to rename the network folders but the best way to overcome this I found is to rename the &amp;quot;share&amp;quot; names to remove the spaces. &lt;/p&gt;
&lt;p&gt;I had this issue in a recent consultancy job, luckily there were only 5 users on site so it was easier that way, now they all work perfectly. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1585686" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1579661</link><pubDate>Wed, 09 Apr 2008 15:30:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1579661</guid><dc:creator>Rianne</dc:creator><description>&lt;p&gt;I&amp;#39;ve had great success with this procedure getting new users set up on our system, however I&amp;#39;ve noticed that network drives with a space in the name do not map correctly. &amp;nbsp;Is there a quick fix for this, or will the network drives have to be renamed? &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1579661" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1541760</link><pubDate>Thu, 13 Mar 2008 09:32:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1541760</guid><dc:creator>jacques</dc:creator><description>&lt;p&gt;how do i create a username and password in a .bat file&lt;/p&gt;
&lt;p&gt;username: &amp;nbsp;jacques&lt;/p&gt;
&lt;p&gt;passwoed: password&lt;/p&gt;
&lt;p&gt;net use x: \\raidmax2\share$&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1541760" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1541745</link><pubDate>Thu, 13 Mar 2008 08:56:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1541745</guid><dc:creator>jacques</dc:creator><description>&lt;p&gt;how do i ad a yousername and password to this line:&lt;/p&gt;
&lt;p&gt;user: jacques&lt;/p&gt;
&lt;p&gt;passwoed: password&lt;/p&gt;
&lt;p&gt;net use x: \\raidmax2\share$&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1541745" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1520871</link><pubDate>Thu, 21 Feb 2008 12:25:32 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1520871</guid><dc:creator> Renil</dc:creator><description>&lt;p&gt;Can help me to create bat file for mapping network drivers?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1520871" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1485265</link><pubDate>Tue, 29 Jan 2008 10:37:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1485265</guid><dc:creator>Renil</dc:creator><description>&lt;p&gt;Can help me to create bat file for mapping network drivers?&lt;/p&gt;
&lt;p&gt;mail 2 me , renil.david@eds.com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1485265" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1485258</link><pubDate>Tue, 29 Jan 2008 10:36:14 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1485258</guid><dc:creator>Renil</dc:creator><description>&lt;p&gt;Can help me to create bat file for mapping network drivers?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1485258" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1433425</link><pubDate>Wed, 02 Jan 2008 21:54:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1433425</guid><dc:creator>Mag</dc:creator><description>&lt;p&gt;i have my batchs file but how do i get my server to deploy it to my domain users? what i am doing for right now is i physiclly go to the computer and put the batch file in the start up items so it runs every time they restart but i would like it to run from any computer ones they type in ther user name &amp;amp; password?&lt;/p&gt;
&lt;p&gt;can someone please help me &lt;/p&gt;
&lt;p&gt;thank you &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1433425" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1349130</link><pubDate>Fri, 23 Nov 2007 11:06:59 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1349130</guid><dc:creator>Adam D</dc:creator><description>&lt;p&gt;Can anyone tell me if there is a way of renaming the name of the drives that are mapped for example.&lt;/p&gt;
&lt;p&gt;net use S: \\mnltegb05\server\database&lt;/p&gt;
&lt;p&gt;will be displayed in Windows Explorer as&lt;/p&gt;
&lt;p&gt;(S:) database on &amp;#39;mnltegb05\server&amp;#39;&lt;/p&gt;
&lt;p&gt;If I want the network mapping to be displayed as&lt;/p&gt;
&lt;p&gt;(S:) Database Drive&lt;/p&gt;
&lt;p&gt;...is there an option to do so?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1349130" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#1164205</link><pubDate>Tue, 04 Sep 2007 14:57:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1164205</guid><dc:creator>abc</dc:creator><description>&lt;p&gt;can any advice that once i configure map drive through login script i am not able to access map drive getting access denied msg &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1164205" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#721083</link><pubDate>Wed, 28 Mar 2007 15:21:05 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:721083</guid><dc:creator>Cyrus</dc:creator><description>&lt;p&gt;I have the following in a batch file. I want a VBS script to change the batch file password &amp;quot;Startrek&amp;quot; after the user has been required to change the password through another automated process. Any suggestions?&lt;/p&gt;
&lt;p&gt;net use u: \\Servername\Sharedfoler Startrek /User:NA\cyrus.t.andrews&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=721083" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#679293</link><pubDate>Wed, 14 Mar 2007 13:44:56 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:679293</guid><dc:creator>Tito</dc:creator><description>&lt;p&gt;Can someone please tell me how to apply these principles to include two printers&lt;/p&gt;
&lt;p&gt;\\192.168.1.47\CLR (color)&lt;/p&gt;
&lt;p&gt;\\192.168.1.47\BNW (black and white)&lt;/p&gt;
&lt;p&gt;with the BNW as the default printer and also create a shortcut of the home directory on the users desktop.&lt;/p&gt;
&lt;p&gt;Any help please e-mail me to tito7769@gmail.com. Thank you so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=679293" width="1" height="1"&gt;</description></item><item><title>re: Batch file to map network drives for users</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#669534</link><pubDate>Mon, 12 Mar 2007 02:32:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:669534</guid><dc:creator>Tony D</dc:creator><description>&lt;p&gt;Can anyone tell me if there is a way of renaming the name of the drives that are mapped for example.&lt;/p&gt;
&lt;p&gt;net use S: \\mnltegb05\server\database&lt;/p&gt;
&lt;p&gt;will be displayed in Windows Explorer as&lt;/p&gt;
&lt;p&gt;(S:) database on 'mnltegb05\server'&lt;/p&gt;
&lt;p&gt;If I want the network mapping to be displayed as &lt;/p&gt;
&lt;p&gt;(S:) DB&lt;/p&gt;
&lt;p&gt;...is there an option to do so?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=669534" width="1" height="1"&gt;</description></item></channel></rss>