Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 435
  • Last Modified:

Login script - accessing resources on Workgroup Server

HI Experts,

Please advise if the following login script is legit. Can i use two unique account to access resources on a single server

REM Login script for Domain PC accessing resources on Workgroup Server
REM genledger & finance are local users on Workgroup Server - 192.168.19.62  
net use * /delete /Y
net use G: \\192.168.19.62\Generalledger /user:genledger GL123
net use R: \\192.168.19.62\Rapid /user:finance FIN123

rgds and thanks in advance.
0
kenny_klbn
Asked:
kenny_klbn
1 Solution
 
AkhaterCommented:
no you cannot, you can only access a specific resource with one credentials at a time
0
 
cyberlopez6Commented:
You can not be attached to the SAME server with DIFFERENT credentials.  Attempting this will generate the following error:

   "System error 1219 has occurred.

   Multiple connections to a server or shared resource by the same user, using more
    than one user name, are not allowed. Disconnect all previous connections to the
    server or shared resource and try again."

To correct this login script, you need to use just one account with permissions to both shares. Also, you don't need to authenticate the 2nd connection.

0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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