![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | log off or lock workstation then unmap drive I have one account that logs into the workstation and than the user maps a drive to a shar using their own user id and password. The problem is that since more than one user uses the computer with the same account and if the first user never unmaps the drive the 2nd user will keep the drive mapping as the 1st user. I would like a script to monitor if the user log off the computer or locked it than unmap drive to force the next user to map the drive with their user id and password. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: log off or lock workstation then unmap drive "freddy" <freddy@xxxxxx> wrote in message news:C7D43139-F35B-4CCF-91CD-E1CB9B879BBD@xxxxxx Quote: >I have one account that logs into the workstation and than the user maps a > drive to a shar using their own user id and password. The problem is that > since more than one user uses the computer with the same account and if > the > first user never unmaps the drive the 2nd user will keep the drive mapping > as > the 1st user. > I would like a script to monitor if the user log off the computer or > locked > it than unmap drive to force the next user to map the drive with their > user > id and password. and run a script when the user locks the machine. Also, what if a second user logs into the computer before the first logs out? -- Richard Mueller MVP Directory Services Hilltop Lab - http://www.rlmueller.net -- |
My System Specs![]() |
| | #3 (permalink) |
| | Re: log off or lock workstation then unmap drive "Richard Mueller [MVP]" <rlmueller-nospam@xxxxxx> wrote in message news:eCNmyIadJHA.4684@xxxxxx Quote: > > "freddy" <freddy@xxxxxx> wrote in message > news:C7D43139-F35B-4CCF-91CD-E1CB9B879BBD@xxxxxx Quote: >>I have one account that logs into the workstation and than the user maps a >> drive to a shar using their own user id and password. The problem is that >> since more than one user uses the computer with the same account and if >> the >> first user never unmaps the drive the 2nd user will keep the drive >> mapping as >> the 1st user. >> I would like a script to monitor if the user log off the computer or >> locked >> it than unmap drive to force the next user to map the drive with their >> user >> id and password. > A logout script can unmap the drive, but I don't know of any way to detect > and run a script when the user locks the machine. Also, what if a second > user logs into the computer before the first logs out? issue would not arise, as you cannot logon to a workstation that is locked by another user. In this case, it appears that all of the users are using the same local account to logon, so if someone tried to logon while it was locked, he would simply be unlocking it and accessing the previous user's session. /Al |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| lock a drive and folders | Vista security | |||
| Hard Drive activity causes lock up | Vista General | |||
| Lock CD/DVD Drive? | Vista hardware & devices | |||
| Split Tokens? - Network Shares - red X's, map/unmap | Vista networking & sharing | |||
| WLM doesn't unmap UPnP ports on exit | Live Messenger | |||