Solved

Creating a batch file to map a drive from one domain to another

Posted on 2011-09-13
1
291 Views
Last Modified: 2012-05-12
I am trying to create a batch file to map a network drive from one domain to another. I thought the following might work but I seem to be missing something.

net use j :/delete
net use j :\\server name\share /USER: domain name \username password

0
Comment
Question by:ELGowen
1 Comment
 
LVL 6

Accepted Solution

by:
effes earned 250 total points
ID: 36532138
Hi ELGowen,

try putting the password before the /user parameter and watch those spaces on your lines:

net use j: /delete
net use j: "\\servername\share" password /user:domainname\username

Hope that helps,
Frank
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question