Ok, we have 2 networks/domains, and i want to connect to the second network and auto logon from a bat file
Ok so i have this:
NET USE \\serverName1\FolderOnServer /USER:theDomain\username password
This one works fine, but my problem is the second server is a SQL server and has no shaired folders etc...
so if i use this:
NET USE \\serverName2 /USER:theDomain\username password
It dont work because it has no folder...
The I only want to login to the server, and as such no need to have a mapped drive. So I want to login using a .bat file from the second netowrk/domain...

