Set a map drive for a local user
Hello is there a way to set up a map drive on a pc with a user logged in as a local user however the map drive refers to a domain joined pc. Can I assign permissions to be kept by the map drive so that when the local user restarts pc the map drive will
connect automatically using the saved domain credentials ?
August 24th, 2010 10:56pm
Hi there
When mapping the drive the network drive to the user computer check the option "Reconnect at logon". This option will make sure that will be connected again when he logs back in agaian to same computer.
However if you want to map the drive to the user computer whenever he logs into any computer then you need to set Home folder in AD.
Here are the steps to do it. Open Active directory usres and computers snap-in. now find the user and open properties. Go to profile tab and under Home folder select connect to, select drive letter and mention the path. Now click ok. That should help.
thanks
DineshPlease vote if my answer helped you.
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2010 1:01am
Hello is there a way to set up a map drive on a pc with a user logged in as a local user however the map drive refers to a domain joined pc. Can I assign permissions to be kept by the map drive so that when the local user restarts pc the map drive
will connect automatically using the saved domain credentials ?
Batch File - Copy it to the startup folder
MapDrive.bat
@echo off
TITLE "Logon Script"
ECHO Mapping Network Drive...
net use \\server /u:domain\username P@ssw0rd
IF EXIST [drive]: exit
net use [drive]: \\server\share\folder /PERSISTENT:YES
EXIT
Replace [drive] with the desired letter in both places.
Apply NTFS permissions to deny all but read and execute.
This will allow you to use a local account and map a drive to a file share restricted to domain users.
First thing it does is "refresh" the authentication to the server at login.
Then it checks if the mapped drive connection already exists. If it does not exist, it will remap it and exit.
Steve Kline
Microsoft Certified IT Professional: Server Administrator
Microsoft Certified Product Specialist
Microsoft Certified Network Product Specialist
This posting is "as is" without warranties and confers no rights.
August 25th, 2010 4:08am
so it is possible to do this map drive even if the user never logs to the domain and is logged in locally
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2010 8:43am
It is possible if you have the necessary credential.
Please refer the logon script provided by Steve.
Note: In the script, the user name and password will be proclaimed, so it will be an issue when other people using the same logon script.Shaon Shan| TechNet Subscriber Support in forum| If you have any feedback on our support, please contact tngfb@microsoft.com
August 25th, 2010 9:56am
so it is possible to do this map drive even if the user never logs to the domain and is logged in locally
Definately
However, this should not be thought of as a license avoidance. You're still providing an authentication to the server.
If you're tight on $$$ for user CALs, setup a Linux system as your file server for CIFS. You just need to add the Unix support in Windows XP, Vista, or 7. Then use their authentication to that system. No it doesn't make life easier, but cheaper is never
easier. Gotta spend the big bucks to use the good stuff.
Any system that provides that authenticates, directly or indirectly to any server or domain, is still subject to Client Access Licensing requirements provided by the End-User License Agreements and the Product Usage Rights defined by Microsoft.
EULA LOOKUP
http://www.microsoft.com/About/Legal/EN/US/IntellectualProperty/UseTerms/Default.aspx
Product Use Rights and Lists
https://www.microsoft.com/licensing/about-licensing/product-licensing.aspx#tab=1
Steve Kline
Microsoft Certified IT Professional: Server Administrator
Microsoft Certified Product Specialist
Microsoft Certified Network Product Specialist
This posting is "as is" without warranties and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
August 26th, 2010 4:38pm