• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 948
  • Last Modified:

Login to NT Domain from login script - batch file

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
mattmcglone
Asked:
mattmcglone
  • 4
  • 4
1 Solution
 
jimponderCommented:
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
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
> 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
 
mattmcgloneAuthor Commented:
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
mattmcgloneAuthor Commented:
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
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
net use x: \\server\share password /user:domain\username
0
 
mattmcgloneAuthor Commented:
wow.  awesome.  so where you have password in that path I would replace that with the actual password?
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
yes


type net use /? for more info
0
 
mattmcgloneAuthor Commented:
lee could you give me an example of what the net command would look like? thank you so much.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I did...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now