these laptops are joined to domain. but they are not logging on again. they are logged in and leaving the office. in office they are connected to lan. when they are out, they dial up to verizon card trying to access the same z: drive. it has been working but now they are getting that "the local device name is already in use" error. i will fix script of syntax. so can i make when sign on to vpn run a GP script? what do i do to solve error since i cant tell them to keep disconnecting and reconnecting?
Main Topics
Browse All Topics





by: adamdrayerPosted on 2008-01-16 at 08:17:54ID: 20673165
ok, if the computers aren't joined to the domain (domain members) then the group policies that affect the computer will not run. Only the group policies that affect the user.
And the reason why they are getting "local device already in use" is because something is trying to map the same drive (or lpt port, etc..). This is happeneing for 1 of 2 reasons:
1. Your "net use /delete * /y" is not working. I don't think that is the right syntax anyway. But you shouldn't be deleting all the connections on the computers anyway. It's only prudent to delete the connections that you require
2. The drive z: is never disconnected when they disconnect from the VPN, so if another system that the user tries to access attempts to map the z: drive without first deleting any current z connections, they will get that message (that's why it's good to delete any current connections before adding your own)
Without getting any deeper, I would suggest the following:
change "net use /delete * /y"
to "net use z: /d"