so_cal
asked on
GPO to unmap network drives upon logoff and to use UNC paths instead
Pretty much as the title describes. I'd like to have a Group Policy Object to unmap network drives upon logoff and use UNC paths instead. I'm not sure if that if a different topic or this is all one topic. How do I do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Unmapping at logoff will not prevent this. When user is logged off the session is closed anyway
ASKER
Ok, so basically I can use GPO User Map Drive Preferences? That will work just as well?
Better than using scripts
ASKER
The problem is when users are logged in during the day. We don't want a crypto locker virus, etc to propagate to our mapped drives during the day when users are logged in.
Think you mean "when users are logged off"
When users are logged off their session is not active and nothing will be able to write to mapped drives
When users are logged off their session is not active and nothing will be able to write to mapped drives
ASKER
But when their session is active 8:00 AM to 5:00 PM, this is what we are worried about here.
You COULD try a script, with a heap of Net use commands.
ie
Net use S: /delete
net use Q: /delete
net use Y: /delete.
In theory you could go through most of the alphabet, nothing of significance will happen if you try to unmap D: and it is a CDROM on some machines.
Of course, you need to figure out how the drives are being mapped at present and ensure that process has been cancelled.
ie
Net use S: /delete
net use Q: /delete
net use Y: /delete.
In theory you could go through most of the alphabet, nothing of significance will happen if you try to unmap D: and it is a CDROM on some machines.
Of course, you need to figure out how the drives are being mapped at present and ensure that process has been cancelled.
Just use Group Policy User Drive Mappings with a delete action
ASKER
Shaun - but I still need a way to get to the external resources, i.e. through UNC paths.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER