Windows Server 2003 permanent map drive
hello,
i want to map a permanent network drive to a windows server 2003,
i should use the following batch i think, right?
@echo off
net use l: /delete
net use l: \\server\share /USER:domain\username password
but i want to be mapped even noone is logged on the server, lets say after the server is restarted, it is possible?
should i put this to computer startup scripts?
December 3rd, 2010 5:10am
Hi,
read this thread
http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service
HTHEdoardo Benussi - Microsoft MVP
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi
Windows Server Italian Forum Moderator
edo[at]mvps[dot]org
Free Windows Admin Tool Kit Click here and download it now
December 3rd, 2010 9:49am
Hi,
Yes, you could set these command as a service in system , so that even if user logoff, this mapping driver will persist.
You could create this service by using SC utility:
http://support.microsoft.com/kb/251192
another method is set this script in computer configuration of group policy and it could also help you to achieve the goal
http://support.microsoft.com/kb/198642
Thanks.
Tiger LiPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
December 7th, 2010 12:55am