Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Login to NT Domain from login script - batch file

Posted on 2011-03-11
9
Medium Priority
?
941 Views
Last Modified: 2013-12-23
I am cutting all 25 Windows XP users from an NT domain to a Windows SBS 2011 Std domain. For a period of time they will require access to a share in the old NT domain. Is there a way to change the login script in SBS 2011 so I can login to the old NT domain with an account from there and map a drive to that old NT share?  

Thanks

Matt
0
Comment
Question by:mattmcglone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 2

Expert Comment

by:jimponder
ID: 35111855
Can you map it in your Win2k11 scripts as an IP mapping?  net use z: \\192.168.0.1\share  
DFS is an option here as well.
http://technet.microsoft.com/en-us/library/cc779627(WS.10).aspx
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 35111866
> I am cutting all 25 Windows XP users from an NT domain to a Windows SBS 2011 Std domain.
HOW?  Your script can point to two servers no problem - if they aren't in the same domain and the user logged in doesn't have the same user name and password on both domains they will either be prompted for the password or it will simply fail to map.
0
 

Author Comment

by:mattmcglone
ID: 35111905
leew - that's my question. i was hoping to script credentials into the login script to login to the NT server and map a drive to the NT share.  Are you saying I will have to do that every time?

Thanks

Matt
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:mattmcglone
ID: 35111922
jim - i will get prompted for that domain username and password each time. i was trying to get around that with scripting in a generic id and password to the login script.  
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 35111934
net use x: \\server\share password /user:domain\username
0
 

Author Comment

by:mattmcglone
ID: 35111962
wow.  awesome.  so where you have password in that path I would replace that with the actual password?
0
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 2000 total points
ID: 35112019
yes


type net use /? for more info
0
 

Author Comment

by:mattmcglone
ID: 35112024
lee could you give me an example of what the net command would look like? thank you so much.
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 35112318
I did...
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

636 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